joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405610
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x58aae0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x2001f
push str.Software7road
xor ebx, ebx
push SysReAllocString
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x20c], ebx
mov dword [ebp - 0x214], SysReAllocString
call fcn.00405440
test eax, eax
je 0x405682
mov eax, dword [ebp - 0x214]
cmp eax, ebx
je 0x405731
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051209f
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x208]
push ecx
push str.sqclient
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x218], 0xff
call fcn.004054f0
test eax, eax
jne 0x40565c
mov esi, dword [ebp - 0x214]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x4056c3
push esi
call edi
xor esi, esi
push 0x44
lea edx, [ebp - 0x270]
push ebx
push edx
call fcn.00512e90
add esp, 0xc
lea ecx, [ebp - 0x228]
push ecx
lea edx, [ebp - 0x270]
push edx
push ebx
push ebx
push 0x40
push ebx
push ebx
mov eax, 1
mov word [ebp - 0x240], ax
push ebx
lea eax, [ebp - 0x208]
push eax
push ebx
mov dword [ebp - 0x244], 1
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
test eax, eax
je 0x40572a
mov ecx, dword [ebp - 0x224]
mov ebx, dword [sym.imp.KERNEL32.DLL_CloseHandle]
push ecx
call ebx
mov edx, dword [ebp - 0x228]
push edx
call ebx
test esi, esi
je 0x405731
push esi
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051209f
mov esp, ebp
pop ebp
ret

Function at 0x405fa0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5366fb
mov eax, dword fs:[0]
push eax
sub esp, 0x474
mov eax, dword [0x58aae0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
xor ebx, ebx
push 0x40
mov edi, ecx
lea ecx, [ebp - 0x46c]
push ebx
mov dword [ebp - 4], ebx
push ecx
mov dword [ebp - 0x478], eax
mov dword [ebp - 0x47c], ebx
mov dword [ebp - method.CMD5Checksum.virtual_0], vtable.CMD5Checksum.0
call fcn.00512e90
add esp, 0xc
mov dword [ebp - 0x428], ebx
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x424], 0x67452301
mov dword [ebp - 0x420], 0xefcdab89
mov dword [ebp - 0x41c], 0x98badcfe
mov dword [ebp - 0x418], 0x10325476
mov byte [ebp - 4], 1
jmp 0x406040
mov edx, dword [edi]
mov edx, dword [edx + 0x38]
push 0x400
lea eax, [ebp - 0x414]
push eax
mov ecx, edi
call edx
cmp eax, ebx
jle 0x40606d
lea ecx, [ebp - 0x414]
push ecx
lea esi, [ebp - 0x470]
call fcn.00406a60
jmp 0x406040
mov esi, dword [ebp - 0x478]
push esi
lea edx, [ebp - 0x470]
call fcn.004067c0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0051209f
mov esp, ebp
pop ebp
ret
Function at 0x4079d0
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x58aae0]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
mov dword [ebp - 0x210], 0
push ecx
mov word [ebp - 0x20c], ax
call fcn.00512e90
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
js 0x407a68
lea eax, [ebp - 0x214]
push eax
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x407a5a
mov edx, dword [ebp - 0x214]
lea ecx, [ebp - 0x20c]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov eax, dword [ebp - 0x210]
mov edx, dword [ebp - 0x214]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, dword [ebp - 0x210]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push esi
push edi
push str.7road
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.005127fa
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
lea ecx, [ebp - 0x20c]
push ecx
call esi
mov edi, dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
jne 0x407aa7
push 0
lea edx, [ebp - 0x20c]
push edx
call edi
push str._shenqu_
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.005127fa
add esp, 0xc
lea ecx, [ebp - 0x20c]
push ecx
call esi
test eax, eax
jne 0x407ad7
push eax
lea edx, [ebp - 0x20c]
push edx
call edi
push 0x565328
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.005127fa
add esp, 0xc
lea ecx, [ebp - 0x20c]
push ecx
call esi
test eax, eax
jne 0x407b07
push eax
lea edx, [ebp - 0x20c]
push edx
call edi
push 0x565468
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.005127fa
add esp, 0xc
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, ebx
call fcn.00403fb0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov eax, ebx
pop esi
call fcn.0051209f
mov esp, ebp
pop ebp
ret
Function at 0x407b40
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push 0x2001f
push 0x564604
xor esi, esi
push SysReAllocString
lea ecx, [ebp - 0xc]
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], SysReAllocString
call fcn.00405440
test eax, eax
je 0x407b97
mov eax, dword [ebp - 0xc]
cmp eax, esi
je 0x407b7f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x407c48
push 0x2001f
push str.Software7road
push SysReAllocString
lea ecx, [ebp - 0xc]
call fcn.00405440
test eax, eax
je 0x407be1
push esi
push esi
push 0x2001f
push esi
push esi
push str.Software7road
push SysReAllocString
lea ecx, [ebp - 0xc]
call fcn.004070d0
mov eax, dword [ebp - 0xc]
cmp eax, esi
je 0x407bde
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
push ebx
push 0x2001f
push str.Software7road
push SysReAllocString
lea ecx, [ebp - 0xc]
call fcn.00405440
mov ebx, dword [ebp - 0xc]
test eax, eax
jne 0x407c29
mov eax, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov esi, eax
test eax, eax
je 0x407c26
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
lea ecx, [eax + eax + 2]
push ecx
push esi
push 1
push 0
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor esi, esi
pop edi
cmp ebx, esi
je 0x407c34
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
pop ebx
test ecx, ecx
jg 0x407c54
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407c73
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x408570
Capabilities:
Check if file exists
Extract resource via kernel32 functions
Get common file path
Get file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53661b
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x58aae0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
push 0xc6
push eax
lea ecx, [ebp - 0xd6]
push ecx
mov word [ebp - 0xd8], ax
call fcn.00512e90
add esp, 0xc
lea edx, [ebp - 0xd8]
push edx
push 0x64
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
push 0x5652b8
lea ecx, [ebp - 0xdc]
call fcn.00403fb0
push str.ProgressBar.swf
lea eax, [ebp - 0xd8]
push eax
push str._s_s
lea edi, [ebp - 0xdc]
mov dword [ebp - 4], 0
call fcn.00408bb0
add esp, 0xc
call fcn.00417ac0
mov ebx, dword [eax + 8]
push 0x5654c4
push 0xe9
push ebx
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov dword [ebp - 0xe0], eax
test eax, eax
jne 0x40862f
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x4086e0
mov ecx, dword [ebp - 0xdc]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
mov edi, dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xffffffff
jne 0x408649
call edi
mov edx, dword [ebp - 0xdc]
push 0
push 0x80
push 2
push 0
push 2
push 0xc0000000
push edx
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x408673
call edi
jmp 0x4086e0
mov ecx, dword [ebp - 0xe0]
push ecx
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
jne 0x4086a6
call edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xdc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x4086fd
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov ecx, dword [ebp - 0xe0]
push ecx
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
push 0
lea edx, [ebp - 0xe4]
push edx
push eax
push edi
push esi
mov dword [ebp - 0xe4], 0
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xdc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408709
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051209f
mov esp, ebp
pop ebp
ret
Function at 0x409b30
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x324
mov eax, dword [0x58aae0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, 0x104
mov dword [ebp - 0x31c], eax
mov dword [ebp - 0x320], eax
lea eax, [ebp - 0x318]
push eax
push 0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x409bd5
mov edx, dword [ebp - 0x318]
lea ecx, [ebp - 0x314]
push ecx
push 0xf003f
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsIEXPLORE.EXE
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x409bd5
lea eax, [ebp - 0x320]
push eax
lea ecx, [ebp - 0x108]
push ecx
lea edx, [ebp - 0x324]
push edx
mov edx, dword [ebp - 0x314]
push 0
lea eax, [ebp - 0x31c]
push eax
lea ecx, [ebp - 0x310]
push ecx
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
push 5
push 0
push str._http:__www.adobe.com_go_getflash_
lea eax, [ebp - 0x108]
push eax
jmp 0x409be0
push 5
push 0
push 0
push str._http:__www.adobe.com_go_getflash_
push str.OPEN
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0x318]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call esi
mov edx, dword [ebp - 0x314]
push edx
call esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0051209f
mov esp, ebp
pop ebp
ret
Function at 0x40f920
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5361fb
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x58aae0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
push 0x208
push eax
lea ecx, [ebp - 0x21a]
mov dword [ebp - 0x220], 0
push ecx
mov word [ebp - 0x21c], ax
call fcn.00512e90
add esp, 0xc
lea edx, [ebp - 0x220]
push edx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
js 0x40f9ff
lea eax, [ebp - 0x224]
push eax
push 0x10
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov edx, dword [ebp - 0x224]
lea ecx, [ebp - 0x21c]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
mov eax, dword [ebp - 0x220]
mov ecx, dword [eax]
jne 0x40f9f9
mov edx, dword [ebp - 0x224]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
call dword [sym.imp.ole32.dll_CoUninitialize]
call fcn.00415279
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40f9e2
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov ecx, esi
call fcn.004041b0
jmp 0x40fa0d
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [ebp - 0x21c]
push eax
mov ecx, esi
call fcn.00403fb0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051209f
mov esp, ebp
pop ebp
ret
Function at 0x4107c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push esi
push edi
push 0x44
lea eax, [ebp - 0x58]
push 0
push eax
call fcn.00512e90
mov eax, dword [ebp + 0xc]
add esp, 0xc
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x58]
push edx
push 0
push 0
push 0x80
push 0
push 0
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
mov esi, dword [ebp - 8]
test eax, eax
je 0x410816
mov edx, dword [ebp - 0xc]
mov edi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
push edx
call edi
mov eax, dword [ebp - 0x10]
push eax
call edi
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410835
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x411680
Capabilities:
Create process on windows

Disassembly:
push 5
push 0
push 0
push eax
push str.OPEN
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
sbb eax, eax
inc eax
ret
Function at 0x412ce0
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
xor esi, esi
push ebx
mov dword [ebp - 8], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0xc], 0x1000
mov dword [ebp - 0x10], esi
mov eax, 0x7a
push edi
test eax, eax
je 0x412d6a
cmp eax, 0x7a
jne 0x412e15
push esi
call fcn.00413638
mov edi, dword [ebp - 0xc]
push edi
call fcn.00413643
mov esi, eax
mov eax, dword [ebp - 0x10]
add esp, 8
mov dword [esi], edi
mov dword [ebp - 4], edi
test eax, eax
jne 0x412d48
lea eax, [ebp - 4]
push eax
push esi
push 0
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryW]
xor ecx, ecx
test eax, eax
setne cl
mov dword [ebp - 0x10], eax
mov eax, ecx
jmp 0x412d54
lea edx, [ebp - 4]
push edx
push esi
push eax
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
test eax, eax
je 0x412d5c
xor eax, eax
jmp 0x412d00
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
jmp 0x412d00
test dword [esi + 0xc], 0x100000
je 0x412dab
mov edx, dword [esi + 4]
push edx
lea ecx, [ebp - 0x18]
call fcn.00403fb0
or dword [ebp - 8], 1
mov edi, eax
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jl 0x412da7
push 0x565328
push eax
call fcn.0051279a
add esp, 8
test eax, eax
je 0x412da7
sub eax, dword [edi]
sar eax, 1
test eax, eax
jg 0x412dab
xor bl, bl
jmp 0x412dad
mov bl, 1
test byte [ebp - 8], 1
je 0x412dd6
mov eax, dword [ebp - 0x18]
and dword [ebp - 8], 0xfffffffe
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412dd6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x412de4
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 4]
push eax
push esi
push ecx
mov dword [ebp - 4], edx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
test eax, eax
je 0x412e04
xor eax, eax
jmp 0x412d00
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], edx
jmp 0x412d00
pop edi
pop ebx
cmp eax, 0x103
jne 0x412e25
mov dword [ebp - 0x14], 1
push esi
call fcn.00413638
mov eax, dword [ebp - 0x10]
add esp, 4
pop esi
test eax, eax
je 0x412e3d
push eax
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
Function at 0x4133e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x58aae0]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
mov dword [ebp - 0x210], 0
push ecx
mov word [ebp - 0x20c], ax
call fcn.00512e90
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
js 0x413478
lea eax, [ebp - 0x214]
push eax
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x41346a
mov edx, dword [ebp - 0x214]
lea ecx, [ebp - 0x20c]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov eax, dword [ebp - 0x210]
mov edx, dword [ebp - 0x214]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, dword [ebp - 0x210]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [ebp - 0x20c]
push eax
mov ecx, esi
call fcn.00403fb0
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, esi
call fcn.0051209f
mov esp, ebp
pop ebp
ret

Function at 0x4134d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edi, eax
mov eax, 0x565678
cmp eax, 2
jne 0x413543
movzx ecx, di
push ecx
push 0
call dword [sym.imp.USER32.dll_LoadBitmapW]
push 0x10
mov edi, eax
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
test esi, esi
je 0x413532
lea edx, [ebp - 8]
push edx
push 0
push edi
mov dword [esi], vtable.Gdiplus::Bitmap.0
mov dword [ebp - 8], 0
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromHBITMAP]
mov dword [esi + 8], eax
mov eax, dword [ebp - 8]
push edi
mov dword [esi + 4], eax
call dword [sym.imp.GDI32.dll_DeleteObject]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push edi
xor esi, esi
call dword [sym.imp.GDI32.dll_DeleteObject]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push ebx
call fcn.00417ac0
mov esi, dword [eax + 0xc]
movzx ecx, di
push 0x565678
push ecx
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
push edi
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.DLL_LoadResource]
push ebx
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
push ebx
push esi
push eax
call fcn.00516c50
add esp, 0xc
lea edx, [ebp - 4]
push edx
push 0
push edi
mov dword [ebp - 4], 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ebx, dword [ebp - 4]
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
test esi, esi
je 0x4135d0
lea eax, [esi + 4]
push eax
push ebx
mov dword [esi], vtable.Gdiplus::Image.0
mov dword [eax], 0
call dword [sym.imp.gdiplus.dll_GdipLoadImageFromStream]
mov dword [esi + 8], eax
jmp 0x4135d2
xor esi, esi
push edi
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
pop ebx
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41710e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.00417ac0
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov edi, eax
test edi, edi
je 0x417147
push edi
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.00416d4b
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x4171a5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x4171c9
cmp dword [edi + 0x74], 0
jne 0x4171c9
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.00417ac0
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00417166
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41fa66
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x41faad
call fcn.00417ac0
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
test eax, eax
je 0x41faad
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x41fac9
push ebx
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0041f566
mov esi, eax
test edi, edi
je 0x41fac7
test ebx, ebx
je 0x41fac7
push ebx
call dword [sym.imp.KERNEL32.DLL_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4202aa
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x52c6f5
call fcn.005132ee
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x4202cf
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x420321
call fcn.00415279
push eax
lea ecx, [ebp - 0x10]
call fcn.00404460
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00514cbf
push eax
call fcn.00401000
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401170
mov eax, esi
call fcn.005133c6
ret 8
Function at 0x429ce7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x429d2f
call fcn.00417ac0
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
test eax, eax
je 0x429d2f
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x429d72
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x429d5b
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x429d5b
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_FreeResource]
cmp dword [esi + 0x68], 0
je 0x429d6f
mov ecx, dword [esi + 0x68]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x42b3fa
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.0041de4f
call fcn.004011b0
cmp eax, esi
pop esi
jne 0x42b416
mov ecx, 0x58e610
jmp fcn.00435f9a
ret

Function at 0x42f2b6
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0042ef5a
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x42f300
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00408ad0
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00408b20
jmp 0x42f30b
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00430057
pop edi
pop esi
pop ebp
ret 0xc