joyce8/EMBER2024-capa huggingface dataset:
Function at 0x434c9e
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x500ef0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor esi, esi
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x434cc8
xor eax, eax
jmp 0x434d27
push 0x228
lea eax, [ebp - 0x22c]
push esi
push eax
call fcn.0047bc10
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x434d1e
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebp - 0x228], ebx
je 0x434d17
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x434cfc
jmp 0x434d1d
mov esi, dword [ebp - 0x218]
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0047a65d
leave
ret

Function at 0x434d35
Capabilities:
Enumerate processes

Disassembly:
push 0x238
mov eax, 0x4b34ac
call fcn.0047a6c1
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x244], esi
xor eax, eax
mov dword [ebp - 0x240], ebx
mov dword [esi], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 7
mov word [esi], ax
push ebx
push 2
mov dword [ebp - 4], ebx
mov dword [ebp - 0x240], 1
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x434df3
push 0x228
lea eax, [ebp - 0x238]
push ebx
push eax
call fcn.0047bc10
add esp, 0xc
mov dword [ebp - 0x23c], 0x22c
lea eax, [ebp - 0x23c]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x434dec
mov ebx, dword [ebp + 0xc]
cmp dword [ebp - 0x234], ebx
je 0x434dd0
lea eax, [ebp - 0x23c]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x434db5
jmp 0x434dec
lea eax, [ebp - 0x218]
push eax
call fcn.0047f9b4
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00412041
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
call fcn.0047a67f
ret
Function at 0x438361
Capabilities:
Parse url

Disassembly:
push 0x2ac
mov eax, 0x4b3b3e
call fcn.0047a6c1
mov edi, dword [ebp + 8]
xor ecx, ecx
mov ebx, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0x27c], edi
mov dword [ebp - 0x278], ecx
mov dword [edi], ecx
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], 7
mov word [edi], ax
push 0x20a
push ecx
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], ecx
push eax
mov dword [ebp - 0x278], 1
call fcn.0047bc10
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x2b8]
push 0
push eax
call fcn.0047bc10
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x2b8], esi
add esp, 0x18
mov dword [ebp - 0x2a8], eax
cmp dword [ebx + 0x14], 8
mov eax, ebx
mov dword [ebp - 0x2a4], 0x104
jb 0x4383ef
mov eax, dword [ebx]
lea ecx, [ebp - 0x2b8]
push ecx
push 0
push dword [ebx + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x4385c8
lea ecx, [ebp - 0x270]
call fcn.0041364b
push dword [ebp - 0x2a8]
lea ecx, [ebp - 0x24c]
mov dword [ebp - 4], 1
call fcn.00410cc6
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.0049e3e0
pop ecx
pop ecx
lea ecx, [ebp - 0x24c]
mov esi, eax
call fcn.00411fa2
test esi, esi
je 0x4385a2
and dword [ebp - 0x234], 0
xor eax, eax
and dword [ebp - 0x224], 0
push 7
pop ecx
mov dword [ebp - 0x220], ecx
mov word [ebp - 0x234], ax
mov eax, dword [ebp - 0x270]
mov byte [ebp - 4], 3
mov esi, dword [eax]
cmp esi, eax
je 0x43850f
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.0040a800
push 0x4bb8cc
push eax
lea eax, [ebp - 0x24c]
mov byte [ebp - 4], 4
push eax
call fcn.004146cd
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x268], eax
add esp, 0x18
cmp ecx, eax
je 0x4384e5
call fcn.00411fa2
push dword [ebp - 0x268]
lea ecx, [ebp - 0x234]
call fcn.00411ee1
lea ecx, [ebp - 0x24c]
call fcn.00411fa2
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 3
call fcn.00411fa2
mov esi, dword [esi]
cmp esi, dword [ebp - 0x270]
jne 0x43848f
mov ecx, dword [ebp - 0x220]
cmp ecx, 8
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
push eax
push dword [ebp - 0x2a8]
lea eax, [ebp - 0x264]
push str.HostName_s__IpList_s
push eax
call fcn.00432c76
add esp, 0x10
mov ecx, edi
push eax
call fcn.00409f50
lea ecx, [ebp - 0x264]
call fcn.00411fa2
mov eax, dword [ebp - 0x220]
cmp eax, 8
jb 0x4385a2
mov ecx, dword [ebp - 0x234]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x268], ecx
cmp eax, 0x1000
jb 0x438599
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.00411cec
mov eax, dword [ebp - 0x274]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x268]
push eax
push ecx
call fcn.00479ff8
pop ecx
pop ecx
push dword [ebp - 0x270]
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0
push eax
call fcn.004133d6
push 0x20
push dword [ebp - 0x270]
call fcn.00479ff8
add esp, 0x10
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4385d2
mov eax, dword [edi]
cmp dword [ebx + 0x14], 8
jb 0x4385da
mov ebx, dword [ebx]
push eax
push ebx
push str.CDownloader::FetchURLDetail__strURL_s__strDetail_s
call fcn.004336ac
add esp, 0xc
mov eax, edi
call fcn.0047a67f
ret 8
Function at 0x43ab89
Capabilities:
Delete file

Disassembly:
push esi
push edi
lea esi, [ecx + 0xc4]
xor edi, edi
push esi
call fcn.0043109c
pop ecx
test eax, eax
je 0x43abb1
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x43aba8
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, eax
cmp dword [esi + 0x14], 8
jb 0x43abb9
mov esi, dword [esi]
push edi
push esi
push str.CInstaller::CleanState__strStateFile_s__bResult_d
call fcn.004336ac
add esp, 0xc
pop edi
pop esi
ret
Function at 0x43ac46
Capabilities:
Enumerate files on windows

Disassembly:
push 0x2bc
mov eax, 0x4b3f57
call fcn.0047a6c1
mov esi, dword [ebp + 8]
mov eax, esi
mov edi, dword [ebp + 0xc]
cmp dword [esi + 0x14], 8
jb 0x43ac65
mov eax, dword [esi]
push eax
push str.CNewInstaller::GetExeFiles__path:__s._n
call fcn.004336ac
push 0x4c3730
lea eax, [ebp - 0x58]
push esi
push eax
call fcn.00414703
add esp, 0x14
xor esi, esi
lea ecx, [ebp - 0x2c0]
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push ecx
cmovae eax, dword [ebp - 0x58]
push eax
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push 7
mov ebx, eax
mov dword [ebp - 0x40], esi
pop ecx
xor eax, eax
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], ecx
mov word [ebp - 0x40], ax
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ecx
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 2
cmp ebx, 0xffffffff
je 0x43ad86
lea eax, [ebp - 0x294]
push eax
call fcn.0047f9b4
pop ecx
push eax
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x40]
call fcn.00412041
test dword [ebp - 0x2c0], 0x20
je 0x43ad70
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00432b40
mov esi, eax
lea eax, [ebp - 0x28]
pop ecx
pop ecx
cmp eax, esi
je 0x43ad1f
mov ecx, eax
call fcn.00411fa2
push esi
lea ecx, [ebp - 0x28]
call fcn.00411ee1
lea ecx, [ebp - 0x70]
call fcn.00411fa2
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push str..exe
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00432ab7
pop ecx
pop ecx
test eax, eax
jne 0x43ad6e
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x40]
push ecx
cmp eax, dword [edi + 8]
je 0x43ad66
xor esi, esi
mov ecx, eax
mov dword [eax], esi
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], esi
call fcn.00411e48
add dword [edi + 4], 0x18
jmp 0x43ad70
push eax
mov ecx, edi
call fcn.00410933
xor esi, esi
lea eax, [ebp - 0x2c0]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x43acce
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x14]
mov edi, 0x1000
cmp eax, 8
jb 0x43adde
mov ecx, dword [ebp - 0x28]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x2c4], eax
mov dword [ebp - 0x2c8], ecx
cmp eax, edi
jb 0x43add5
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2c8]
push eax
call fcn.00411cec
mov eax, dword [ebp - 0x2c4]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2c8]
push eax
push ecx
call fcn.00479ff8
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x18], esi
push 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c]
pop ebx
mov dword [ebp - 0x14], ebx
cmp eax, 8
jb 0x43ae39
mov ecx, dword [ebp - 0x40]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x2c8], eax
mov dword [ebp - 0x2c4], ecx
cmp eax, edi
jb 0x43ae30
lea eax, [ebp - 0x2c8]
push eax
lea eax, [ebp - 0x2c4]
push eax
call fcn.00411cec
mov eax, dword [ebp - 0x2c8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2c4]
push eax
push ecx
call fcn.00479ff8
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x30], esi
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x2c], ebx
mov word [ebp - 0x40], ax
call fcn.00411fa2
call fcn.0047a67f
ret 8
Function at 0x43b54d
Capabilities:
Copy file

Disassembly:
push 0x50
mov eax, 0x4b403d
call fcn.0047a6c1
mov esi, ecx
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov eax, dword [ebx]
cmp eax, dword [ebx + 4]
jne 0x43b57a
push str.BinaryPatch::Prepare__PatchList_Empty
call fcn.004336ac
pop ecx
xor eax, eax
jmp 0x43b70e
push 0x64
pop eax
mov dword [esi + 0x128], eax
mov dword [esi + 0x12c], eax
lea eax, [edi + 0x14]
push edi
mov dword [ebp - 0x5c], eax
call fcn.0043109c
pop ecx
test eax, eax
je 0x43b5be
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x43b5a4
mov eax, dword [edi]
push eax
push str.BinaryPatch::Prepare__RemoveFolder__strPatchPath_s
call fcn.004336ac
push 0
push 0
push edi
call fcn.004348c1
add esp, 0x14
jmp 0x43b5cb
push edi
call fcn.00434620
lea eax, [edi + 0x14]
pop ecx
mov dword [ebp - 0x5c], eax
mov ecx, dword [esi + 0xc0]
test ecx, ecx
je 0x43b5e2
push dword [esi + 0x128]
mov eax, dword [ecx]
push 0xa
call dword [eax + 8]
mov eax, dword [ebx]
cmp dword [eax + 0x14], 8
jb 0x43b5ec
mov eax, dword [eax]
lea ecx, [esi + 0x58]
cmp dword [ecx + 0x14], 8
jb 0x43b5f7
mov ecx, dword [ecx]
push eax
push ecx
lea eax, [ebp - 0x40]
push str._s_s
push eax
call fcn.00432c76
add esp, 0x10
mov ecx, dword [ebx]
and dword [ebp - 4], 0
push 8
pop ebx
cmp dword [ecx + 0x14], ebx
jb 0x43b61a
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x5c]
cmp dword [eax], ebx
jb 0x43b623
mov edi, dword [edi]
push ecx
push edi
lea eax, [ebp - 0x28]
push str._s_s
push eax
call fcn.00432c76
add esp, 0x10
cmp dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x28]
push 0
cmovae ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], ebx
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp dword [ebp - 0x14], ebx
lea edx, [ebp - 0x28]
mov edi, eax
lea ecx, [ebp - 0x40]
cmovae edx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], ebx
push edi
cmovae ecx, dword [ebp - 0x40]
push edx
push ecx
push str.BinaryPatch::Prepare__strExistFilePath_s__strNewFilePath_s__bResult_d
call fcn.004336ac
mov ecx, dword [esi + 0xc0]
add esp, 0x10
test ecx, ecx
je 0x43b695
push dword [esi + 0x128]
mov eax, dword [ecx]
push 0x14
call dword [eax + 8]
test edi, edi
jne 0x43b6fc
cmp dword [esi + 0xc0], edi
je 0x43b6f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x14], ebx
lea edx, [ebp - 0x28]
push eax
cmovae edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x58]
push edx
cmovae ecx, dword [ebp - 0x40]
push ecx
push str.BinaryPatch::Prepare__strExistFilePath_s__strNewFilePath_s__ErrorCode_d
push eax
call fcn.00432c76
add esp, 0x14
lea ecx, [esi + 0x130]
push eax
call fcn.00409f50
lea ecx, [ebp - 0x58]
call fcn.00411fa2
mov ecx, dword [esi + 0xc0]
push 0x135
mov eax, dword [ecx]
call dword [eax + 0xc]
push 0
mov ecx, esi
call fcn.0043b716
lea ecx, [ebp - 0x28]
call fcn.00411fa2
lea ecx, [ebp - 0x40]
call fcn.00411fa2
mov eax, edi
call fcn.0047a67f
ret 8
Function at 0x43fa20
Capabilities:
Check os version

Disassembly:
push 4
mov eax, 0x4b464f
call fcn.0047a68e
mov edi, ecx
mov dword [ebp - 0x10], edi
lea ecx, [edi + 4]
call fcn.00431f9b
xor esi, esi
lea ecx, [edi + 8]
mov dword [ebp - 4], esi
call fcn.00431f9b
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov ecx, eax
mov dword [edi], esi
shr eax, 8
cmp cl, 5
jne 0x43fa67
cmp al, 1
jb 0x43fa6c
mov esi, 0x4406c8
jmp 0x43fa76
cmp cl, 6
jmp 0x43fa5e
cmp cl, 5
ja 0x43fa78
mov esi, 0x440a79
mov dword [edi], esi
push esi
movzx eax, al
push eax
movzx eax, cl
push eax
push str.OS_main_version_is__d__sub_version_is__d__install_func_is__p
call fcn.004336ac
add esp, 0x10
mov eax, edi
call fcn.0047a66b
ret

Function at 0x43fd46
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x500ef0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push eax
push ebx
push str.crt_dir:_s__exe_file:_s
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x218], eax
call fcn.004336ac
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
add esp, 0xc
push ebx
call esi
push dword [ebp - 0x218]
mov edi, eax
mov dword [ebp - 0x21c], edi
call esi
mov ebx, eax
push ebx
push edi
push str.crt_attri_is__d__exe_attri_is__d
call fcn.004336ac
mov eax, edi
add esp, 0xc
cmp eax, 0xffffffff
je 0x43fec3
cmp ebx, 0xffffffff
je 0x43fec3
test al, 0x10
je 0x43fec3
test bl, 0x10
jne 0x43fec3
push 0x20a
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.0047bc10
mov edi, dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
lea eax, [ebp - 0x224]
add esp, 0xc
push eax
lea eax, [ebp - 0x210]
push eax
push 0x104
push dword [ebp - 0x218]
call edi
mov ebx, dword [ebp - 0x220]
lea eax, [ebp - 0x210]
push eax
call fcn.0047f9b4
pop ecx
push eax
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebx + 4]
call fcn.00411c22
push 0x20a
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.0047bc10
add esp, 0xc
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x210]
push eax
push 0x104
push dword [ebp - 0x214]
call edi
lea eax, [ebp - 0x210]
push eax
lea esi, [ebx + 8]
call fcn.0047f9b4
pop ecx
push eax
lea eax, [ebp - 0x210]
mov ecx, esi
push eax
call fcn.00411c22
push 1
lea eax, [ebp - 0x214]
mov ecx, esi
push eax
call fcn.004316b2
push 0x5c
push eax
call fcn.0043fb72
pop ecx
pop ecx
mov ecx, dword [ebp - 0x214]
mov bl, al
add ecx, 0xfffffff0
call fcn.00411bc2
test bl, bl
je 0x43febf
mov edi, 0x4b8d3c
push edi
call fcn.0047f9b4
pop ecx
push eax
push edi
mov ecx, esi
call fcn.0043fcba
mov al, 1
jmp 0x43fec5
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047a65d
leave
ret 8
Function at 0x4408ed
Capabilities:
Copy file
Enumerate files on windows
Get file attributes

Disassembly:
push 0x264
mov eax, 0x4b4834
call fcn.0047a6c1
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.00440a2e
and dword [ebp - 4], 0
lea eax, [ebp - 0x268]
push str..dll
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.0043fc21
push 0x250
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.0047bc10
add esp, 0x20
lea eax, [ebp - 0x260]
mov bl, 1
push eax
push dword [ebp - 0x26c]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x440a0a
test byte [ebp - 0x260], 0x10
jne 0x4409ed
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x264]
push edi
push eax
call fcn.0043fc21
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x270]
push eax
call fcn.0043fc21
add esp, 0x18
push 0
push dword [ebp - 0x264]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp - 0x270]
lea ecx, [ecx - 0x10]
call fcn.00411bc2
test bl, bl
je 0x4409d9
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x4409d9
mov bl, 1
jmp 0x4409db
xor bl, bl
mov ecx, dword [ebp - 0x264]
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.00411bc2
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x440965
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x26c]
add ecx, 0xfffffff0
call fcn.00411bc2
mov ecx, dword [ebp - 0x268]
add ecx, 0xfffffff0
call fcn.00411bc2
mov al, bl
call fcn.0047a67f
ret

Function at 0x4413ac
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x500ef0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20a]
push 0x206
push 0
push eax
mov dword [ebp - 0x210], edi
call fcn.0047bc10
add esp, 0xc
xor eax, eax
mov word [ebp - 0x20c], ax
mov esi, 0x104
lea eax, [ebp - 0x20c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x20c]
push eax
call fcn.0047f9b4
pop ecx
test eax, eax
jle 0x441438
push 0x5c
pop ecx
cmp word [ebp + eax*2 - 0x20e], cx
je 0x441438
mov word [ebp + eax*2 - 0x20c], cx
inc eax
lea ecx, [eax + eax]
cmp ecx, 0x208
jae 0x441470
xor edx, edx
mov word [ebp + ecx - 0x20c], dx
push str.WinSxs_
sub esi, eax
lea ecx, [ebp - 0x20c]
lea ecx, [ecx + eax*2]
push esi
push ecx
call fcn.0048a1d1
add esp, 0xc
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.00410cc6
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0047a65d
leave
ret
call fcn.0047a379
int3
Function at 0x444d86
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x500ef0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x5066f0], 0
jne 0x444e1c
push esi
push 0x502668
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0047bc10
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0xffffffffffffffff
push eax
mov esi, 0x104
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00489cda
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0048a780
lea eax, [ebp - 0x20c]
push str._disablemempool
push eax
call fcn.0047c454
movzx ecx, byte [0x5066ec]
xor edx, edx
inc edx
add esp, 0x20
test eax, eax
mov dword [0x5066f0], edx
cmovne ecx, edx
mov byte [0x5066ec], cl
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047a65d
leave
ret

Function at 0x44543a
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x500ef0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [edi + 0x20]
call fcn.00423e43
lea eax, [ebp - 0x1c]
push eax
push 0x4c7334
push 0x507770
call fcn.0041d3c5
pop ecx
pop ecx
push eax
call fcn.0041d557
push eax
call fcn.00445231
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.00411fa2
lea eax, [edi + 0x18]
push 0x4c7344
push eax
call fcn.0041d3c5
pop ecx
pop ecx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [edi + 0x20]
call fcn.00423e43
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x1c]
call fcn.00411fa2
lea ecx, [edi + 8]
call fcn.00445516
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0047a65d
leave
ret

Function at 0x448abf
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, ecx
call fcn.00448d46
mov al, byte [edi + 0x24]
xor ecx, ecx
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
and al, 0xf8
push 0x10
mov dword [edi], 0x4c7560
mov dword [edi + 0x1c], ecx
mov dword [edi + 0x20], ecx
mov byte [edi + 0x24], al
mov dword [edi + 0x28], ecx
call esi
shr eax, 8
test al, al
mov al, byte [edi + 0x24]
push 0x11
setne cl
and al, 0xfe
or al, cl
mov byte [edi + 0x24], al
call esi
xor cl, cl
shr eax, 8
cmp cl, al
mov esi, 0x8000000
mov al, byte [edi + 0x24]
sbb cl, cl
and al, 0xfd
and cl, 2
or cl, al
push esi
mov byte [edi + 0x24], cl
call fcn.0044b427
pop ecx
mov cl, byte [edi + 0x24]
and cl, 0xfb
shl al, 2
or cl, al
mov byte [edi + 0x24], cl
test cl, 1
je 0x448b3d
and dword [edi + 0x28], 0x2000000
test cl, 2
je 0x448b49
and dword [edi + 0x28], 0x4000000
test cl, 4
je 0x448b51
and dword [edi + 0x28], esi
mov eax, edi
pop edi
pop esi
ret
Function at 0x44fb21
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x500ef0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x410], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x40c], eax
xor eax, eax
push 0x60
push eax
push esi
mov dword [ebp - 0x414], ecx
mov dword [ebp - 0x418], eax
mov dword [ebp - 0x408], eax
call ebx
mov edi, eax
test edi, edi
jne 0x44fb8a
push 2
push eax
push esi
call ebx
mov edi, eax
test edi, edi
jne 0x44fb8a
call fcn.0044ed26
mov esi, eax
jmp 0x44fc2b
push dword [ebp - 0x40c]
push dword [ebp - 0x410]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x44fbaa
call fcn.0044ed26
jmp 0x44fc1e
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x44fba3
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x44fbd0
mov esi, 0x8007000e
jmp 0x44fc20
push eax
lea ecx, [ebp - 0x408]
call fcn.0044ebe9
cmp dword [ebp - 0x408], 0
je 0x44fbc9
push esi
push dword [ebp - 0x408]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x44fba3
mov eax, dword [ebp - 0x408]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x418]
push dword [ebp - 0x408]
call fcn.0044f9da
mov esi, eax
test edi, edi
je 0x44fc2b
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x404]
cmp dword [ebp - 0x408], eax
je 0x44fc44
lea ecx, [ebp - 0x408]
call fcn.0044f14e
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047a65d
leave
ret 0x10