joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44ebd0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.00435e20
test eax, eax
je 0x44ec46
mov esi, esp
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cmp esi, esp
call fcn.004a574e
movsx eax, ax
test eax, eax
jl 0x44ec3c
cmp dword [ebp + 8], 0x1b
jne 0x44ec22
push 0
push 2
push 0x111
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.004066d0
jmp 0x44ec3c
cmp dword [ebp + 8], 0xd
jne 0x44ec3c
push 0
push 1
push 0x111
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.004066d0
push 0
mov ecx, dword [ebp - 4]
call fcn.0044ede0
pop esi
add esp, 4
cmp ebp, esp
call fcn.004a574e
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4516e0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], ecx
mov esi, esp
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp esi, esp
call fcn.004a574e
pop esi
add esp, 4
cmp ebp, esp
call fcn.004a574e
mov esp, ebp
pop ebp
ret 8
Function at 0x454910
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x878
push esi
push edi
lea edi, [ebp - 0x878]
mov ecx, 0x21e
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x4cd290]
xor eax, ebp
mov dword [ebp - 4], eax
mov word [ebp - 0x214], 0
push 0x208
push 0
lea eax, [ebp - 0x212]
push eax
call fcn.004863a0
add esp, 0xc
mov esi, esp
push 0x104
lea ecx, [ebp - 0x214]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp esi, esp
call fcn.004a574e
mov word [ebp - 0x428], 0
push 0x208
push 0
lea edx, [ebp - 0x426]
push edx
call fcn.004863a0
add esp, 0xc
mov word [ebp - 0x63c], 0
push 0x208
push 0
lea eax, [ebp - 0x63a]
push eax
call fcn.004863a0
add esp, 0xc
mov word [ebp - 0x850], 0
push 0x208
push 0
lea ecx, [ebp - 0x84e]
push ecx
call fcn.004863a0
add esp, 0xc
lea edx, [ebp - 0x850]
push edx
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x63c]
push ecx
lea edx, [ebp - 0x214]
push edx
call fcn.00454310
add esp, 0x10
mov word [ebp - 0x85c], 1
mov word [ebp - 0x868], 0
mov dword [ebp - 0x874], 0
movzx eax, word [ebp - 0x428]
test eax, eax
je 0x454a5f
lea ecx, [ebp - 0x874]
push ecx
lea edx, [ebp - 0x868]
push edx
lea eax, [ebp - 0x85c]
push eax
lea ecx, [ebp - 0x428]
push ecx
call fcn.004547f0
add esp, 0x10
test eax, eax
jne 0x454a5f
mov word [ebp - 0x85c], 1
mov word [ebp - 0x868], 0
mov dword [ebp - 0x874], 0
push 0xffffffffffffffff
push 0
push 0x804
push 1
push 1
mov edx, dword [ebp - 0x874]
push edx
mov ax, word [ebp - 0x868]
push eax
mov cx, word [ebp - 0x85c]
push ecx
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
cmp esi, esp
call fcn.004a574e
push eax
lea edx, [ebp - 0x214]
push edx
lea eax, [ebp - 0x63c]
push eax
push 0x4b6bd4
call fcn.00453810
add esp, 0x30
push 0x4b6be4
push 0x2710
call fcn.00454220
add esp, 8
call fcn.00454130
mov eax, 1
push edx
mov ecx, ebp
push eax
lea edx, [0x454af8]
call fcn.004a5771
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004851ae
add esp, 0x878
cmp ebp, esp
call fcn.004a574e
mov esp, ebp
pop ebp
ret

Function at 0x454c60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 4], ecx
xor eax, eax
jne 0x454c7e
cmp dword [ebp + 0x10], 0
jne 0x454c8e
lea ecx, [ebp - 0xc]
mov dword [ebp + 0x10], ecx
mov esi, esp
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp esi, esp
call fcn.004a574e
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x454cc1
call fcn.004019e0
jmp 0x454cc3
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x454ce8]
call fcn.004a5771
pop eax
pop edx
pop esi
add esp, 0x14
cmp ebp, esp
call fcn.004a574e
mov esp, ebp
pop ebp
ret 0xc
Function at 0x454d10
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov dword [ebp - 0xc], 0xcccccccc
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x454d42
jmp 0x454d7d
mov esi, esp
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp esi, esp
call fcn.004a574e
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x454d76
jmp 0x454d7d
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
pop esi
add esp, 0xc
cmp ebp, esp
call fcn.004a574e
mov esp, ebp
pop ebp
ret 0x10

Function at 0x455ac0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
push esi
push edi
push ecx
lea edi, [ebp - 0x130]
mov ecx, 0x4c
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x4cd290]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
mov dword [ebp - 0x128], 0
push 0x118
push 0
lea eax, [ebp - 0x124]
push eax
call fcn.004863a0
add esp, 0xc
mov dword [ebp - 0x128], 0x11c
mov esi, esp
lea ecx, [ebp - 0x128]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp esi, esp
call fcn.004a574e
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0
jne 0x455b77
push 0x11c
push 0
lea edx, [ebp - 0x128]
push edx
call fcn.004863a0
add esp, 0xc
mov dword [ebp - 0x128], 0x114
mov esi, esp
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp esi, esp
call fcn.004a574e
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0
je 0x455b90
cmp dword [ebp - 0x124], 6
sbb eax, eax
add eax, 1
jmp 0x455b92
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x455bc0]
call fcn.004a5771
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004851ae
add esp, 0x130
cmp ebp, esp
call fcn.004a574e
mov esp, ebp
pop ebp
ret
Function at 0x455ef0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov dword [ebp - 0xc], 0xcccccccc
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], 1
mov esi, esp
push str.Globalpcfix_svc_shutdown_event
push 0
push 1
call fcn.00455ff0
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp esi, esp
call fcn.004a574e
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x455fd8
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp esi, esp
call fcn.004a574e
mov esi, esp
push str.Globalpcfixsvc_instance_mutex
push 1
call fcn.00455ff0
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
cmp esi, esp
call fcn.004a574e
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x455fc5
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.004a574e
cmp eax, 0xb7
jne 0x455fb2
mov esi, esp
push 0x2710
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp esi, esp
call fcn.004a574e
cmp eax, 0x102
jne 0x455fb2
mov dword [ebp - 4], 0
mov esi, esp
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.004a574e
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.004a574e
mov eax, dword [ebp - 4]
pop esi
add esp, 0xc
cmp ebp, esp
call fcn.004a574e
mov esp, ebp
pop ebp
ret

Function at 0x456110
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov dword [ebp - 0xc], 0xcccccccc
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], 1
mov esi, esp
push str.Global_rtp_svc_shutdown_event
push 0
push 1
call fcn.00455ff0
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp esi, esp
call fcn.004a574e
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4561f8
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp esi, esp
call fcn.004a574e
mov esi, esp
push str.Global_rtpsvc_instance_mutex
push 1
call fcn.00455ff0
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
cmp esi, esp
call fcn.004a574e
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4561e5
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.004a574e
cmp eax, 0xb7
jne 0x4561d2
mov esi, esp
push 0x2710
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp esi, esp
call fcn.004a574e
cmp eax, 0x102
jne 0x4561d2
mov dword [ebp - 4], 0
mov esi, esp
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.004a574e
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.004a574e
mov eax, dword [ebp - 4]
pop esi
add esp, 0xc
cmp ebp, esp
call fcn.004a574e
mov esp, ebp
pop ebp
ret
Function at 0x456210
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov dword [ebp - 0xc], 0xcccccccc
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x456242
jmp 0x45626f
mov esi, esp
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp esi, esp
call fcn.004a574e
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x456268
jmp 0x45626f
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
pop esi
add esp, 0xc
cmp ebp, esp
call fcn.004a574e
mov esp, ebp
pop ebp
ret 4
Function at 0x456760
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov dword [ebp - 4], 0xcccccccc
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, esp
call fcn.004a574e
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
call fcn.00480410
test eax, eax
je 0x4567b7
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, esp
call fcn.004a574e
sub eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
jae 0x4567b7
mov esi, esp
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.004a574e
jmp 0x45677e
mov eax, dword [ebp + 8]
call fcn.00480410
pop esi
add esp, 4
cmp ebp, esp
call fcn.004a574e
mov esp, ebp
pop ebp
ret

Function at 0x456e40
Capabilities:
Unload minifilter driver

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, 0xcccccccc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], 1
lea eax, [ebp - 8]
push eax
call fcn.00456bd0
add esp, 4
test eax, eax
jne 0x456e72
xor eax, eax
jmp 0x456e93
call fcn.00456ce0
push str.TFsFlt
call sub.FLTLIB.DLL_FilterUnload
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x456e8e
xor eax, eax
jmp 0x456e93
mov eax, 1
push edx
mov ecx, ebp
push eax
lea edx, [0x456eb4]
call fcn.004a5771
pop eax
pop edx
add esp, 0x10
cmp ebp, esp
call fcn.004a574e
mov esp, ebp
pop ebp
ret

Function at 0x456ed0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
push esi
push edi
lea edi, [ebp - 0x42c]
mov ecx, 0x10b
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x4cd290]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push str.SYSTEMCurrentControlSetServices_
push 0x104
lea eax, [ebp - 0x218]
push eax
call fcn.004890c8
add esp, 0xc
cmp dword [ebp - 0xc], 0
je 0x456f26
jmp 0x456f97
mov dword [ebp - 8], 0
jmp 0x456f38
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jae 0x456f97
lea edx, [ebp - 0x218]
push edx
push 0x104
lea eax, [ebp - 0x428]
push eax
call fcn.004890c8
add esp, 0xc
mov ecx, dword [ebp - 8]
imul ecx, ecx, 0x1c
mov edx, dword [ecx + 0x4cebac]
push edx
push 0x104
lea eax, [ebp - 0x428]
push eax
call fcn.0048a217
add esp, 0xc
mov esi, esp
lea ecx, [ebp - 0x428]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
cmp esi, esp
call fcn.004a574e
jmp 0x456f2f
push edx
mov ecx, ebp
push eax
lea edx, [0x456fc8]
call fcn.004a5771
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004851ae
add esp, 0x42c
cmp ebp, esp
call fcn.004a574e
mov esp, ebp
pop ebp
ret
Function at 0x457000
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
push esi
push edi
lea edi, [ebp - 0x428]
mov ecx, 0x10a
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x4cd290]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
mov esi, esp
push 0x104
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp esi, esp
call fcn.004a574e
push str.System32Drivers_
push 0x104
lea ecx, [ebp - 0x214]
push ecx
call fcn.0048a217
add esp, 0xc
mov dword [ebp - 8], 0
jmp 0x457074
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 1
jae 0x4570cc
mov eax, dword [ebp - 8]
imul eax, eax, 0x1c
mov ecx, dword [eax + 0x4cebb8]
push ecx
lea edx, [ebp - 0x214]
push edx
push 0x4b4848
push 0x104
lea eax, [ebp - 0x424]
push eax
call fcn.00488f32
add esp, 0x14
push str._DelLocal__SetupDll__DeleteFiles...
mov esi, 0x4d1508
call fcn.00481e10
add esp, 4
push 0
lea ecx, [ebp - 0x424]
push ecx
call fcn.0047e3a0
add esp, 8
jmp 0x45706b
push edx
mov ecx, ebp
push eax
lea edx, [0x4570fc]
call fcn.004a5771
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004851ae
add esp, 0x428
cmp ebp, esp
call fcn.004a574e
mov esp, ebp
pop ebp
ret
Function at 0x4587d0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
push esi
push edi
lea edi, [ebp - 0x21c]
mov ecx, 0x87
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x4cd290]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
mov word [ebp - 0x214], 0
push 0x206
push 0
lea eax, [ebp - 0x212]
push eax
call fcn.004863a0
add esp, 0xc
mov dword [ebp - 0x21c], 0
mov esi, esp
push 0x103
lea ecx, [ebp - 0x214]
push ecx
push 0x4b3700
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp esi, esp
call fcn.004a574e
lea edx, [ebp - 0x214]
push edx
call fcn.004588e0
add esp, 4
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x458869
jmp 0x458888
push 0x103
lea eax, [ebp - 0x214]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00489701
add esp, 0xc
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
push edx
mov ecx, ebp
push eax
lea edx, [0x4588bc]
call fcn.004a5771
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004851ae
add esp, 0x21c
cmp ebp, esp
call fcn.004a574e
mov esp, ebp
pop ebp
ret
Function at 0x4588e0
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x648
push esi
push edi
lea edi, [ebp - 0x648]
mov ecx, 0x192
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x4cd290]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
mov word [ebp - 0x214], 0
push 0x206
push 0
lea eax, [ebp - 0x212]
push eax
call fcn.004863a0
add esp, 0xc
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x21c], ecx
lea edx, [ebp - 0x214]
mov dword [ebp - 0x220], edx
mov word [ebp - 0x42c], 0
push 0x206
push 0
lea eax, [ebp - 0x42a]
push eax
call fcn.004863a0
add esp, 0xc
mov dword [ebp - 0x434], 0
mov word [ebp - 0x640], 0
push 0x206
push 0
lea ecx, [ebp - 0x63e]
push ecx
call fcn.004863a0
add esp, 0xc
lea edx, [ebp - 0x214]
mov dword [ebp - 0x648], edx
mov esi, esp
push 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
cmp esi, esp
call fcn.004a574e
test eax, eax
je 0x4589bc
jmp 0x458b4e
mov esi, esp
lea ecx, [ebp - 0x42c]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp esi, esp
call fcn.004a574e
test eax, eax
jne 0x4589e5
jmp 0x458b4e
push 0x104
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x214]
push eax
call fcn.00489701
add esp, 0xc
push 0x4b3768
lea ecx, [ebp - 0x214]
push ecx
call fcn.00457930
add esp, 8
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x458a38
mov dword [ebp - 0x434], 1
lea edx, [ebp - 0x214]
mov dword [ebp - 0x21c], edx
jmp 0x458a47
mov eax, dword [ebp - 0x21c]
add eax, 4
mov dword [ebp - 0x21c], eax
push 0x4b3770
mov ecx, dword [ebp - 0x21c]
add ecx, 2
push ecx
call fcn.00457930
add esp, 8
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
je 0x458b14
mov edx, dword [ebp - 0x21c]
mov word [edx], 0
cmp dword [ebp - 0x434], 0
je 0x458aae
mov eax, dword [ebp - 0x220]
push eax
lea ecx, [ebp - 0x42c]
push ecx
push 0x4b3774
push 0x104
lea edx, [ebp - 0x640]
push edx
call fcn.00488f32
add esp, 0x14
jmp 0x458ace
mov eax, dword [ebp - 0x220]
push eax
push 0x4b3780
push 0x104
lea ecx, [ebp - 0x640]
push ecx
call fcn.00488f32
add esp, 0x10
mov esi, esp
push 0
lea edx, [ebp - 0x640]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp esi, esp
call fcn.004a574e
test eax, eax
jne 0x458b04
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.004a574e
cmp eax, 0xb7
je 0x458b04
jmp 0x458b4e
mov eax, dword [ebp - 0x21c]
mov word [eax], 0x5c
jmp 0x458a47
mov esi, esp
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp esi, esp
call fcn.004a574e
test eax, eax
jne 0x458b47
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.004a574e
cmp eax, 0xb7
je 0x458b47
jmp 0x458b4e
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
push edx
mov ecx, ebp
push eax
lea edx, [0x458b80]
call fcn.004a5771
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004851ae
add esp, 0x648
cmp ebp, esp
call fcn.004a574e
mov esp, ebp
pop ebp
ret
Function at 0x464330
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a9a38
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x4cd290]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push 0
lea ecx, [esp + 0x14]
call fcn.00484281
mov dword [esp + 0x28], 0
mov edi, dword [0x4d15c4]
mov ecx, 0x4d0180
mov dword [esp + 0xc], edi
call fcn.004172c0
mov ecx, dword [esp + 0x30]
push eax
call fcn.004175f0
mov esi, eax
test esi, esi
jne 0x4643d7
test edi, edi
je 0x464394
mov esi, edi
jmp 0x4643d7
lea edi, [esp + 0xc]
call fcn.00461340
cmp eax, 0xffffffff
jne 0x4643bf
push 0x4bd93c
lea ecx, [esp + 0x18]
call fcn.00486319
push 0x4c41a4
lea eax, [esp + 0x18]
push eax
call fcn.0048be06
mov esi, dword [esp + 0xc]
mov ecx, esi
mov dword [0x4d15c4], esi
call fcn.00417360
mov ecx, esi
call fcn.00417480
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.004842a2
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret

Function at 0x464400
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a6efe
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cd290]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
or eax, 0xffffffff
xor ebp, ebp
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], ebp
lea edi, [esi + 0x14]
mov dword [esp + 0x1c], ebp
mov ecx, edi
mov dword [esi], vtable.TiXmlAttribute.0
call fcn.0040f9a0
lea ebx, [esi + 0x30]
mov ecx, ebx
call fcn.0040f9a0
mov eax, dword [esp + 0x28]
push eax
mov ecx, edi
mov byte [esp + 0x20], 2
call fcn.0040fa80
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, ebx
call fcn.0040fa80
mov dword [esi + 0x10], ebp
mov dword [esi + 0x50], ebp
mov dword [esi + 0x4c], ebp
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x4649c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a6ec3
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cd290]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
or eax, 0xffffffff
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea ebx, [esi + 0x20]
xor ebp, ebp
mov ecx, ebx
mov dword [esi + 0xc], ebp
mov dword [esi], vtable.TiXmlNode.0
call fcn.0040f9a0
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], 1
mov dword [esi + 0x18], ebp
mov dword [esi + 0x1c], ebp
mov dword [esi + 0x3c], ebp
mov dword [esi + 0x40], ebp
mov dword [esp + 0x1c], ebp
lea edi, [esi + 0x44]
mov dword [esi], vtable.TiXmlElement.0
or eax, 0xffffffff
mov dword [edi + 8], eax
mov dword [edi + 4], eax
lea ecx, [edi + 0x14]
mov dword [edi + 0xc], ebp
mov dword [edi], vtable.TiXmlAttribute.0
call fcn.0040f9a0
lea ecx, [edi + 0x30]
call fcn.0040f9a0
mov dword [edi + 0x10], ebp
mov dword [edi + 0x50], edi
mov dword [edi + 0x4c], edi
mov eax, dword [esp + 0x28]
mov byte [esp + 0x1c], 1
push eax
mov ecx, ebx
mov dword [esi + 0x1c], ebp
mov dword [esi + 0x18], ebp
call fcn.0040fa80
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8

Function at 0x467380
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4a664b
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x4cd290]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x18]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004849ab
push 4
mov dword [esp + 0x14], 0
call fcn.00485626
add esp, 4
test eax, eax
je 0x4673d2
mov ecx, eax
call fcn.00417500
jmp 0x4673d4
xor eax, eax
mov dword [esi + 0x38], eax
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 4