joyce8/EMBER2024-capa huggingface dataset:
Function at 0x477810
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x50f726
push eax
mov eax, 0x1034
mov dword fs:[0], esp
call fcn.004bdb50
mov eax, dword [0x55cb38]
mov edx, dword [0x55cb3c]
mov dword [esp + 0x20], eax
mov eax, dword [0x55cb40]
push ebx
push ebp
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
mov eax, dword [0x55cb24]
push esi
xor edx, edx
push edi
add ecx, 0xe4
mov dword [esp + 0x3c], edx
mov dword [esp + 0x20], eax
push 0x561df0
xor eax, eax
push ecx
mov dword [esp + 0x48], edx
mov edx, dword [0x55cb28]
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], eax
push ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], eax
call fcn.004e20cc
mov eax, dword [0x57614c]
xor ebx, ebx
mov dword [esp + 0x104c], ebx
xor esi, esi
mov edx, dword [eax + 0x6a4]
mov dword [eax + 0x6a4], ebx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], 1
lea eax, [esp + 0x3a]
push 0xa
push eax
push esi
call fcn.004bdd5d
lea ecx, [esp + 0x32]
push 0xa
push ecx
push esi
call fcn.004bdd5d
mov edx, dword [esp + 0x28]
add esp, 0x18
lea eax, [esp + 0x44]
lea ecx, [esp + 0x20]
push edx
push 0x800
push eax
push ebx
push ecx
push 0x561ddc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edi, eax
cmp edi, ebx
je 0x477983
cmp dword [esp + 0x14], ebx
je 0x477915
mov ecx, dword [0x57614c]
lea edx, [esp + 0x44]
push edx
call fcn.00467c10
mov dword [esp + 0x14], ebx
lea eax, [esp + 0x44]
lea ecx, [esp + 0x18]
push eax
call fcn.004e1e9b
lea ecx, [esp + 0x18]
mov byte [esp + 0x104c], 1
push ecx
mov ecx, dword [0x57614c]
call fcn.004692d0
lea ecx, [esp + 0x18]
mov ebp, eax
mov byte [esp + 0x104c], bl
call fcn.004e1e27
cmp ebp, ebx
je 0x477983
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x30]
push edx
push ebx
push eax
push 0x561ddc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 4
jne 0x477976
mov dword [ebp + 0xd0], 1
push 0x12c
call fcn.00429c70
add esp, 4
inc esi
cmp edi, ebx
jne 0x4778b4
mov ecx, dword [0x57614c]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x104c], 0xffffffff
mov dword [ecx + 0x6a4], edx
lea ecx, [esp + 0x10]
call fcn.004e1e27
mov ecx, dword [esp + 0x1044]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1040
ret
Function at 0x4834a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510a50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x57614c]
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [eax + 0xc0], edi
mov ebx, 0x20
mov eax, dword [esi + 0x1f4]
mov dword [ebp - 0x10], esp
xor eax, ebx
mov dword [ebp - 4], edi
mov dword [esi + 0x1f4], eax
mov ecx, dword [0x57614c]
mov dword [ecx + 0x218], eax
mov ecx, esi
call fcn.00484a40
call fcn.004ad150
cmp eax, edi
je 0x483511
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], edi
push edx
call fcn.004ad170
add esp, 4
mov ecx, dword [0x57614c]
call fcn.0046f680
mov eax, dword [0x57614c]
mov ecx, dword [eax + 0x218]
push ecx
push 0x561614
push 0x55c5a4
mov ecx, 0x5761d0
call fcn.004eddf6
test byte [esi + 0x1f4], bl
je 0x483558
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jl 0x483558
mov ecx, esi
call fcn.00487a60
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48d830
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x5118dc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x830
push ebx
push ebp
push esi
xor esi, esi
mov dword [ecx + 4], esi
mov eax, dword [0x56b44c]
push edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x848], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
push 0x5614a4
lea eax, [esp + 0x14]
push 0x5762b4
push eax
mov byte [esp + 0x854], 2
mov dword [esp + 0x30], 1
xor edi, edi
call fcn.004e20cc
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov byte [esp + 0x848], 3
lea ecx, [esp + 0x2a]
push 0xa
push ecx
push edi
mov word [esp + 0x34], 0x4e
call fcn.004bdd5d
mov edx, dword [esp + 0x1c]
add esp, 0xc
lea eax, [esp + 0x40]
lea ecx, [esp + 0x28]
push edx
push 0x400
push eax
push 0x5705d0
push ecx
push 0x561488
call ebx
cmp eax, esi
jne 0x48d8e8
mov dword [esp + 0x24], esi
jmp 0x48da28
lea edx, [esp + 0x40]
lea ecx, [esp + 0x18]
push edx
call fcn.004e1fbe
lea eax, [esp + 0x2a]
push 0xa
push eax
push edi
mov word [esp + 0x34], 0x53
call fcn.004bdd5d
mov ecx, dword [esp + 0x1c]
add esp, 0xc
lea edx, [esp + 0x40]
lea eax, [esp + 0x28]
push ecx
push 0x400
push edx
push 0x5705d0
push eax
push 0x561488
call ebx
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x20]
call fcn.004e1fbe
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x28]
push edx
push esi
push eax
push 0x561488
mov word [esp + 0x38], 0x43
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea ecx, [esp + 0x2a]
push 0xa
push ecx
push edi
mov ebp, eax
mov word [esp + 0x34], 0x49
call fcn.004bdd5d
mov edx, dword [esp + 0x1c]
add esp, 0xc
lea eax, [esp + 0x40]
lea ecx, [esp + 0x28]
push edx
push 0x400
push eax
push 0x5705d0
push ecx
push 0x561488
call ebx
lea edx, [esp + 0x40]
lea ecx, [esp + 0x14]
push edx
call fcn.004e1fbe
push 0x10
call fcn.004e24f0
add esp, 4
cmp eax, esi
je 0x48d9ca
mov ecx, dword [0x56b44c]
mov esi, eax
mov dword [eax + 4], ecx
mov edx, dword [0x56b44c]
mov dword [eax + 8], edx
mov ecx, dword [0x56b44c]
mov dword [eax + 0xc], ecx
lea edx, [esp + 0x18]
lea ecx, [esi + 4]
push edx
mov dword [esi], ebp
call fcn.004e1f6e
lea eax, [esp + 0x1c]
lea ecx, [esi + 8]
push eax
call fcn.004e1f6e
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esi + 0xc]
call fcn.004e1f6e
mov edx, dword [esp + 0x20]
push 0xffffffffffffffff
mov eax, dword [edx + 0x10]
lea ebp, [edx + 8]
mov dword [esp + 0x40], eax
inc eax
push eax
mov ecx, ebp
call fcn.0048e7e0
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x3c]
mov dword [eax + ecx*4], esi
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 8]
test eax, eax
je 0x48da28
mov eax, dword [esp + 0x20]
inc dword [eax + 4]
mov eax, dword [esp + 0x24]
xor esi, esi
inc edi
cmp eax, esi
jne 0x48d8a4
lea ecx, [esp + 0x10]
mov byte [esp + 0x848], 2
call fcn.004e1e27
lea ecx, [esp + 0x14]
mov byte [esp + 0x848], 1
call fcn.004e1e27
lea ecx, [esp + 0x18]
mov byte [esp + 0x848], 0
call fcn.004e1e27
lea ecx, [esp + 0x1c]
mov dword [esp + 0x848], 0xffffffff
call fcn.004e1e27
mov ecx, dword [esp + 0x840]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x83c
ret
Function at 0x48f840
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
lea eax, [esp + 4]
mov dword [esp], 0xfffffc19
push eax
push 0x5656c4
push reloc.OLEAUT32.dll_SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x48f898
lea ecx, [esp + 8]
lea edx, [esp]
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0x565684
push ecx
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp]
add esp, 0x10
ret

Function at 0x491460
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi]
call dword [eax + 0x104]
test eax, eax
je 0x491512
push ebx
lea ecx, [esp + 8]
push edi
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push edx
push eax
mov ecx, esi
call fcn.00491390
xor ecx, ecx
cmp eax, 0x14
sete cl
push 1
mov edi, ecx
call dword [sym.imp.USER32.dll_GetKeyState]
mov ebx, dword [esi + 0xec]
xor ecx, ecx
test ax, ax
setl cl
test edi, edi
je 0x4914c3
test ecx, ecx
je 0x4914c3
mov eax, 1
jmp 0x4914c5
xor eax, eax
mov edx, dword [esi + 0xf0]
mov dword [esi + 0xec], eax
test edi, edi
je 0x4914e0
test ecx, ecx
jne 0x4914e0
mov ecx, 1
jmp 0x4914e2
xor ecx, ecx
xor eax, ebx
pop edi
mov dword [esi + 0xf0], ecx
pop ebx
jne 0x4914f6
xor ecx, edx
jne 0x4914f6
xor eax, eax
jmp 0x4914fb
mov eax, 1
test eax, eax
je 0x491512
mov edx, dword [esi + 0x1c]
push 0
push 0
push 0x85
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
pop esi
add esp, 8
ret 8
Function at 0x491d40
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x511e96
push eax
mov eax, 0x1048
mov dword fs:[0], esp
call fcn.004bdb50
mov eax, dword [0x55cb38]
mov edx, dword [0x55cb40]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x44], eax
mov ecx, dword [0x55cb3c]
mov dword [esp + 0x4c], edx
mov edx, dword [0x55cb30]
mov dword [esp + 0x48], ecx
mov ecx, dword [0x55cb2c]
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov edx, dword [0x55cb24]
xor ecx, ecx
mov dword [esp + 0x54], eax
mov ax, word [0x55cb34]
mov dword [esp + 0x2a], ecx
mov dword [esp + 0x34], edx
mov word [esp + 0x28], ax
mov eax, dword [0x55cb28]
mov dword [esp + 0x2e], ecx
push 0x561df0
lea edx, [esp + 0x14]
mov dword [esp + 0x40], ecx
push 0x5762b4
push edx
mov dword [esp + 0x24], edi
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], ecx
call fcn.004e20cc
mov eax, dword [0x56b44c]
xor esi, esi
mov dword [esp + 0x1060], esi
mov dword [esp + 0x14], eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov byte [esp + 0x1060], 1
lea ecx, [esp + 0x4e]
push 0xa
push ecx
push esi
call fcn.004bdd5d
lea edx, [esp + 0x34]
push 0xa
push edx
push esi
call fcn.004bdd5d
lea eax, [esp + 0x52]
push 0xa
push eax
push esi
call fcn.004bdd5d
mov ecx, dword [esp + 0x34]
add esp, 0x24
lea edx, [esp + 0x44]
push ecx
push 0
push edx
push 0x561ddc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebp, eax
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x5c]
push 0x800
push ecx
lea edx, [esp + 0x40]
push 0
push edx
push 0x561ddc
call ebx
test eax, eax
mov dword [esp + 0x1c], eax
je 0x491ece
lea eax, [esp + 0x58]
lea ecx, [esp + 0x14]
push eax
call fcn.004e1fbe
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x58]
push ecx
push 0x800
push edx
lea eax, [esp + 0x2c]
push 0
push eax
push 0x561ddc
call ebx
push 0
push ebp
push 0
lea ecx, [esp + 0x64]
push 0
add edi, 0x9c
push ecx
push esi
push 3
mov ecx, edi
call fcn.004d96f0
mov edx, dword [esp + 0x14]
mov ecx, edi
push edx
push 1
push esi
call fcn.004d97eb
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
inc esi
test eax, eax
jne 0x491e08
lea ecx, [edi + 0x9c]
call fcn.0049ca00
lea ecx, [esp + 0x14]
mov byte [esp + 0x1060], 0
call fcn.004e1e27
lea ecx, [esp + 0x10]
mov dword [esp + 0x1060], 0xffffffff
call fcn.004e1e27
mov ecx, dword [esp + 0x1058]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1054
ret
Function at 0x491f20
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x511eab
push eax
mov eax, 0x102c
mov dword fs:[0], esp
call fcn.004bdb50
mov eax, dword [0x55cb2c]
mov dx, word [0x55cb34]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov ecx, dword [0x55cb30]
push ebx
mov dword [esp + 0x10], ecx
mov ecx, dword [0x55cb24]
xor eax, eax
push ebp
push esi
mov dword [esp + 0x1e], eax
push edi
mov dword [esp + 0x2c], ecx
mov word [esp + 0x20], dx
mov edx, dword [0x55cb28]
mov dword [esp + 0x26], eax
push 0x561e3c
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], eax
push 0x5762b4
push ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x44], eax
call fcn.004e20cc
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [esp + 0x1044], 0
xor ebp, ebp
lea edx, [esp + 0x20]
push 0xa
push edx
push ebp
call fcn.004bdd5d
lea eax, [esp + 0x3e]
push 0xa
push eax
push ebp
call fcn.004bdd5d
mov ecx, dword [esp + 0x28]
add esp, 0x18
lea edx, [esp + 0x3c]
lea eax, [esp + 0x18]
push ecx
push 0x800
push edx
push 0
push eax
push 0x561e28
call ebx
mov esi, eax
test esi, esi
je 0x492048
mov ecx, dword [esp + 0x14]
push 0
push 0xffffffffffffffff
push 0
lea edx, [esp + 0x48]
push 0
lea edi, [ecx + 0x9c]
push edx
push 0
push 3
mov ecx, edi
call fcn.004d96f0
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x3c]
push eax
push 0x800
push ecx
lea edx, [esp + 0x38]
push 0
push edx
push 0x561e28
call ebx
mov esi, eax
test esi, esi
je 0x492048
lea eax, [esp + 0x3c]
mov ecx, edi
push eax
push 1
push 0
call fcn.004d97eb
inc ebp
test esi, esi
jne 0x491fb3
mov ecx, dword [esp + 0x14]
add ecx, 0x9c
call fcn.0049ca00
lea ecx, [esp + 0x10]
mov dword [esp + 0x1044], 0xffffffff
call fcn.004e1e27
mov ecx, dword [esp + 0x103c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1038
ret
Function at 0x494aa0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x51238b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a4
push esi
push edi
mov edi, ecx
lea ecx, [esp + 8]
call fcn.004db3a1
lea eax, [esp + 8]
mov dword [esp + 0x1b4], 0
push eax
push 0x5762b8
call fcn.00424680
mov eax, dword [esp + 0x18]
add esp, 8
xor esi, esi
test eax, eax
jle 0x494b9f
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add edi, 0x5c
mov ecx, dword [esp + 0x10]
push 0
push 0
push 0
mov eax, dword [ecx + esi*4]
push 0
push eax
push esi
push 1
mov ecx, edi
call fcn.004d96f0
mov edx, dword [esp + 0x10]
mov ecx, edi
mov eax, dword [edx + esi*4]
push eax
push 0
push esi
call fcn.004d97eb
mov ecx, dword [0x5762b8]
mov eax, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x24]
mov eax, dword [eax + esi*4]
push 0xc8
push edx
push 0x5705d0
push 0x562138
push eax
call ebx
lea eax, [esp + 0x20]
mov ecx, edi
push eax
push 1
push esi
call fcn.004d97eb
mov ecx, dword [esp + 0x10]
mov edx, dword [0x5762b8]
push edx
push 0xc8
mov eax, dword [ecx + esi*4]
lea ecx, [esp + 0x28]
push ecx
push 0x5705d0
push 0x55cc9c
push eax
call ebx
lea edx, [esp + 0x20]
mov ecx, edi
push edx
push 2
push esi
call fcn.004d97eb
mov eax, dword [esp + 0x14]
inc esi
cmp esi, eax
jl 0x494afd
pop ebx
lea ecx, [esp + 8]
mov dword [esp + 0x1b4], 0xffffffff
call fcn.004db3d4
mov ecx, dword [esp + 0x1ac]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x1b0
ret

Function at 0x497790
Capabilities:
Get file system object information

Disassembly:
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x2b4
lea ecx, [esp]
push eax
push 0x2b4
push ecx
push 0
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [esp + 4]
add esp, 0x2b4
ret 8

Function at 0x498380
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2b4
lea eax, [esp]
push esi
push 0x4001
push 0x2b4
push eax
push 0
mov esi, ecx
push 0x5659bc
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x4983bb
mov ecx, dword [esi + 0x1c]
push eax
push 0
push 0x1109
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
pop esi
add esp, 0x2b4
ret
Function at 0x49dfe0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x512f58
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push esi
push edi
mov edi, ecx
push 0
push 0
push 0x431
mov eax, dword [edi + 0x138]
push eax
call ebx
push eax
call fcn.004da502
test eax, eax
je 0x49e026
mov ecx, eax
call fcn.004da4ec
lea ecx, [esp + 0xc]
call fcn.004da470
push 1
push 8
push 0x21
push 0xc
push 0xc
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0
call fcn.004da535
mov ecx, dword [0x57614c]
push 0x565bc0
call fcn.0045ab80
mov edx, dword [esp + 0x10]
mov esi, eax
lea eax, [esp + 0xc]
push 0xff00ff
neg eax
sbb eax, eax
push esi
and eax, edx
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [esp + 0x10]
lea eax, [esp + 0xc]
mov ecx, dword [edi + 0x138]
neg eax
sbb eax, eax
and eax, edx
push eax
push 0
push 0x430
push ecx
call ebx
push eax
call fcn.004da502
lea ecx, [esp + 0xc]
call fcn.004da4c2
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.004da499
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4a00c0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x5131b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
xor eax, eax
push esi
push edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x5275dc
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
push ecx
push eax
push eax
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x14]
call fcn.004e733a
mov esi, dword [esp + 0x30]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.004e621f
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x3c], eax
mov ecx, esi
lea eax, [edi + 2]
push eax
lea eax, [esp + 0x1c]
push ebx
push eax
call fcn.004e68d8
lea eax, [edi + 5]
mov ecx, esi
push eax
push ebx
call fcn.004e6924
lea ebp, [edi + 3]
lea eax, [ebx + 1]
push ebp
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, esi
call fcn.004e68d8
lea eax, [edi + 6]
mov ecx, esi
push eax
lea eax, [ebx + 1]
push eax
call fcn.004e6924
lea eax, [edi + 4]
lea ecx, [ebx + 2]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
call fcn.004e68d8
lea eax, [edi + 7]
mov ecx, esi
push eax
lea eax, [ebx + 2]
push eax
call fcn.004e6924
lea eax, [ebx + 3]
push ebp
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, esi
call fcn.004e68d8
lea eax, [edi + 6]
mov ecx, esi
push eax
lea eax, [ebx + 3]
push eax
call fcn.004e6924
lea eax, [edi + 2]
lea ecx, [ebx + 4]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
call fcn.004e68d8
lea eax, [edi + 5]
mov ecx, esi
push eax
lea eax, [ebx + 4]
push eax
call fcn.004e6924
lea ecx, [edi + 1]
lea eax, [ebx + 5]
push ecx
lea edx, [esp + 0x1c]
push eax
push edx
mov ecx, esi
call fcn.004e68d8
lea eax, [edi + 4]
mov ecx, esi
push eax
lea eax, [ebx + 5]
push eax
call fcn.004e6924
add ebx, 6
push edi
lea eax, [esp + 0x1c]
push ebx
push eax
mov ecx, esi
call fcn.004e68d8
push ebp
push ebx
mov ecx, esi
call fcn.004e6924
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4a0217
mov ecx, dword [esi + 4]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
lea ecx, [esp + 0x10]
call fcn.004e7391
mov dword [esp + 0x10], 0x526164
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 1
call fcn.004e7391
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x4a04b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x513220
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x5275ec
mov ebx, dword [esp + 0x30]
push 0x3feb3333
push 0x33333333
mov dword [esp + 0x24], 0
mov eax, dword [ebx]
push eax
call fcn.0049f8f0
add esp, 0xc
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x10]
call fcn.004e733a
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x24]
lea eax, [esp + 0xc]
mov ecx, dword [edi + 4]
neg eax
sbb eax, eax
and eax, esi
mov esi, dword [esp + 0x28]
push eax
push esi
push ecx
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [esp + 0xc]
call fcn.004e7391
mov eax, dword [ebx]
mov ecx, edi
push eax
push eax
push esi
call fcn.004f2507
mov eax, dword [esp + 0x2c]
push 7
test eax, eax
jne 0x4a056a
call dword [sym.imp.USER32.dll_GetSysColor]
mov edx, dword [esi + 4]
push eax
mov eax, dword [esi]
add edx, 4
add eax, 5
push edx
push eax
push edi
call fcn.004a00c0
jmp 0x4a0584
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, dword [esi + 4]
mov edx, dword [esi]
add ecx, 4
push eax
add edx, 5
push ecx
push edx
push edi
call fcn.004a0250
add esp, 0x10
mov dword [esp + 0xc], 0x526164
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 1
call fcn.004e7391
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4a4810
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x513820
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
xor ebx, ebx
call fcn.004a6da0
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x10]
push eax
call fcn.004e1b94
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x44], esi
push ecx
lea ecx, [esp + 0x10]
call fcn.004e1b94
lea edx, [esp + 0x10]
mov ecx, edi
push edx
mov byte [esp + 0x48], 1
call fcn.004a6eb0
test eax, eax
je 0x4a4a3e
lea eax, [esp + 0xc]
mov ecx, edi
push eax
call fcn.004a6eb0
test eax, eax
je 0x4a4a3e
push ebp
lea ecx, [esp + 0x2c]
call fcn.004db3a1
lea ecx, [esp + 0x2c]
push esi
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, edi
mov byte [esp + 0x54], 2
call fcn.004a6150
mov ebx, eax
cmp ebx, esi
je 0x4a4a2f
lea eax, [esp + 0x10]
mov ecx, edi
push eax
call fcn.004a50c0
mov ebx, eax
cmp ebx, esi
je 0x4a4a2f
mov ebp, dword [esp + 0x34]
test ebp, ebp
jle 0x4a4a2f
mov ecx, dword [0x56b44c]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x50]
mov byte [esp + 0x48], 3
lea eax, [edx + esi*4]
push eax
call fcn.004e1f6e
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x4a4901
mov edx, dword [esp + 0x50]
push edx
call fcn.004e1329
lea eax, [esp + 0x50]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
call fcn.004e2066
lea eax, [esp + 0x50]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x58]
push ecx
push edx
mov byte [esp + 0x54], 4
call fcn.004e2066
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x18]
push 0
push eax
push ecx
mov byte [esp + 0x54], 5
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ebx, eax
test ebx, ebx
jne 0x4a49fc
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4a49fc
lea edx, [esp + 0x50]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.004e2066
push 0x565cf4
lea edx, [esp + 0x28]
push eax
push edx
mov byte [esp + 0x54], 6
call fcn.004e20cc
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
push ecx
push eax
push edx
mov byte [esp + 0x54], 7
call fcn.004e2066
lea ecx, [esp + 0x50]
lea edx, [esp + 0x1c]
push ecx
push eax
push edx
mov byte [esp + 0x54], 8
call fcn.004e2066
push eax
mov byte [esp + 0x4c], 9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, edi
call fcn.004a6db0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x48], 8
call fcn.004e1e27
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 7
call fcn.004e1e27
lea ecx, [esp + 0x24]
mov byte [esp + 0x48], 6
call fcn.004e1e27
lea ecx, [esp + 0x28]
mov byte [esp + 0x48], 5
call fcn.004e1e27
mov esi, ebp
lea ecx, [esp + 0x54]
mov byte [esp + 0x48], 4
call fcn.004e1e27
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 3
call fcn.004e1e27
lea ecx, [esp + 0x50]
mov byte [esp + 0x48], 2
call fcn.004e1e27
inc esi
cmp esi, ebp
jl 0x4a48d0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x48], 1
call fcn.004db3d4
pop ebp
lea ecx, [esp + 0xc]
mov byte [esp + 0x44], 0
call fcn.004e1e27
lea ecx, [esp + 0x10]
mov dword [esp + 0x44], 0xffffffff
call fcn.004e1e27
mov ecx, dword [esp + 0x3c]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret 0xc
Function at 0x4a5000
Capabilities:
Get common file path
Set current directory

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x51390b
push eax
mov dword fs:[0], esp
sub esp, 0x20c
push esi
push edi
mov esi, ecx
call fcn.004a6da0
mov eax, dword [esp + 0x224]
xor edi, edi
mov ecx, dword [eax]
cmp dword [ecx - 8], edi
je 0x4a5098
push eax
lea ecx, [esp + 0xc]
call fcn.004e1b94
lea edx, [esp + 8]
mov ecx, esi
push edx
mov dword [esp + 0x220], edi
call fcn.004a6eb0
test eax, eax
je 0x4a5082
lea eax, [esp + 0xc]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, dword [esp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push ecx
call esi
test eax, eax
je 0x4a507b
mov edi, 1
lea edx, [esp + 0xc]
push edx
call esi
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004e1e27
jmp 0x4a509f
mov ecx, esi
call fcn.004a6e90
mov ecx, dword [esp + 0x214]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4