joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418c30
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4e281c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x410
mov eax, dword [0x51347c]
push ebx
push edi
mov dword [esp + 0xc], eax
mov ecx, dword [0x518b90]
xor ebx, ebx
mov dword [esp + 0x420], ebx
call fcn.00434340
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], eax
push ecx
call fcn.004b071c
mov edx, eax
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x1c]
add esp, 4
rep stosd dword es:[edi], eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
push eax
mov eax, dword [edx + 8]
push ecx
mov ecx, dword [edx + 0xc]
push eax
mov eax, dword [edx + 0x10]
push ecx
mov ecx, dword [edx + 0x14]
inc eax
add ecx, 0x76c
push eax
push ecx
lea edx, [esp + 0x30]
push str._d__02d__02d__02d:_02d:_02d
push edx
call fcn.004aeeec
mov eax, dword [0x509d80]
add esp, 0x20
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push 0x50a298
call fcn.004d49fb
lea ecx, [esp + 0x10]
push ecx
call fcn.00416630
add esp, 8
mov edx, dword [eax]
lea eax, [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0x18]
push str.Time_sHDID_sPID_d
push ecx
mov byte [esp + 0x434], 1
call fcn.004d3a22
add esp, 0x14
lea ecx, [esp + 8]
mov byte [esp + 0x420], bl
call fcn.004d498d
push ecx
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0xc], esp
push edx
call fcn.004d4702
lea eax, [esp + 0xc]
push eax
call fcn.00415810
add esp, 8
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x424], 2
call fcn.004d4ac6
lea ecx, [esp + 8]
mov byte [esp + 0x420], bl
call fcn.004d498d
lea ecx, [esp + 0xc]
lea edx, [esp + 8]
push ecx
push str.DATA
push edx
call fcn.004d4c96
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x424], 3
call fcn.004d4ac6
lea ecx, [esp + 8]
mov byte [esp + 0x420], bl
call fcn.004d498d
mov eax, dword [esp + 0xc]
mov ecx, dword [0x518af0]
push eax
push str._Protocol_UA100.aspx
lea edx, [esp + 0x18]
push ecx
push edx
call fcn.0041bdc0
add esp, 0x10
lea ecx, [esp + 0x10]
call fcn.004d498d
lea ecx, [esp + 0xc]
mov dword [esp + 0x420], 0xffffffff
call fcn.004d498d
mov ecx, dword [esp + 0x418]
pop edi
mov dword fs:[0], ecx
pop ebx
add esp, 0x41c
ret

Function at 0x418de0
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0
push 0
push 0x418e10
push 0
push 0
call fcn.004af505
add esp, 0x1c
ret
Function at 0x419cc0
Capabilities:
Get memory capacity

Disassembly:
push 0xffffffffffffffff
push 0x4e2975
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa8
mov eax, dword [0x51347c]
push esi
mov dword [esp + 8], 0
mov dword [esp + 4], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0xb4], 1
push ecx
mov dword [esp + 0x10], 0x20
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x2c]
shr edx, 0xa
push edx
push str._ld_KB_
push eax
call fcn.004aeeec
add esp, 0xc
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 8]
call fcn.004d4b16
mov esi, dword [esp + 0xbc]
lea edx, [esp + 4]
push edx
mov ecx, esi
call fcn.004d4702
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0xb4], 0
call fcn.004d498d
mov ecx, dword [esp + 0xac]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0xb4
ret

Function at 0x419d80
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x4e299f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [0x51347c]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], bl
rep stosd dword es:[edi], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push ebx
push ebx
push ebx
lea ecx, [esp + 0x18]
push ebx
stosw word es:[edi], ax
push ecx
push ebx
push ebx
push 0x50a4ec
mov dword [esp + 0x60], 1
mov dword [esp + 0x2c], ebx
stosb byte es:[edi], al
call esi
mov eax, dword [esp + 0xc]
cmp eax, ebx
jne 0x419e02
push ebx
push ebx
push ebx
lea edx, [esp + 0x18]
push ebx
push edx
push ebx
push ebx
push 0x50a4e8
call esi
mov eax, dword [esp + 0xc]
cmp eax, ebx
jbe 0x419e25
push eax
lea eax, [esp + 0x1c]
push str._Serial:_d_
push eax
call fcn.004aeeec
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x14]
call fcn.004d4b16
mov esi, dword [esp + 0x48]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.004d4702
mov dword [esp + 0x14], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], bl
call fcn.004d498d
mov ecx, dword [esp + 0x38]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x41a0f0
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x4e2a05
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x39c
push edi
push 0x518908
lea ecx, [esp + 8]
mov dword [esp + 0xc], 0
call fcn.004d49fb
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0xc]
mov dword [esp + 0x3a8], 1
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x210]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
pop edi
jne 0x41a1a9
lea ecx, [esp + 0x108]
push 0x104
push ecx
call dword [sym.imp.WS2_32.dll_gethostname]
lea edx, [esp + 0x108]
push edx
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x41a1a9
mov eax, dword [eax + 0xc]
xor ecx, ecx
xor edx, edx
mov eax, dword [eax]
mov cl, byte [eax + 3]
mov dl, byte [eax + 2]
push ecx
push edx
xor ecx, ecx
xor edx, edx
mov cl, byte [eax + 1]
mov dl, byte [eax]
push ecx
push edx
lea eax, [esp + 0x18]
push str._d._d._d._d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea ecx, [esp + 8]
push esi
push ecx
lea ecx, [esp + 8]
call fcn.004d4b16
mov esi, dword [esp + 0x3b0]
lea edx, [esp + 4]
push edx
mov ecx, esi
call fcn.004d4702
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x3a8], 0
call fcn.004d498d
mov ecx, dword [esp + 0x3a0]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x3a8
ret
Function at 0x41c550
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x518ad8]
push esi
push eax
call fcn.0041cce0
test eax, eax
je 0x41c584
push eax
push 1
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x41c584
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret

Function at 0x41c590
Capabilities:
Check mutex on windows
Enumerate gui resources

Disassembly:
push ecx
mov eax, dword [0x518ae0]
push ebx
push esi
push edi
push eax
push 1
mov ebx, ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
test esi, esi
je 0x41c62a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x41c62a
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
push ecx
push 0x41c520
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x41c617
push 0
push 0
push 0x7ef
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x4e20
push esi
call edi
cmp eax, 0x102
jne 0x41c62a
mov ecx, ebx
call fcn.0041c550
push 0x4e20
push esi
call edi
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret
mov ecx, ebx
call fcn.0041c550
push 0x4e20
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret
Function at 0x41cbd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0xc]
push ebx
mov ebx, dword [esp + 0xc]
push eax
push 1
push 0
push ecx
push ebx
mov dword [esp + 0x18], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x41cbfe
xor eax, eax
pop ebx
pop ecx
ret 0x14
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push esi
push edi
push edx
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x10]
push eax
mov eax, dword [esp + 0x20]
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x18]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
mov esi, eax
call edi
push ebx
call edi
xor eax, eax
pop edi
test esi, esi
pop esi
pop ebx
sete al
pop ecx
ret 0x14

Function at 0x41cce0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x238
push ebx
push esi
xor esi, esi
push edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp + 0x14], eax
mov ecx, 0x49
xor eax, eax
lea edi, [esp + 0x1c]
mov dword [esp + 0x18], esi
mov byte [esp + 0x140], al
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x141]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push esi
push 2
stosb byte es:[edi], al
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x41cd43
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x238
ret 4
lea eax, [esp + 0x18]
mov dword [esp + 0x18], pe_nt_image_headers32
push eax
push ebx
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x41cd6f
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x238
ret 4
mov esi, dword [esp + 0x248]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x41cdd5
cmp eax, 4
je 0x41cdd5
lea ecx, [esp + 0x40]
push ecx
push esi
call ebp
mov edx, dword [esp + 0x24]
test eax, eax
jne 0x41cda0
cmp edx, dword [esp + 0x18]
jne 0x41cde6
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x144]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x144]
push eax
push edx
call fcn.0041cc50
test eax, eax
je 0x41cdd5
lea ecx, [esp + 0x144]
push ecx
push esi
call ebp
test eax, eax
je 0x41cdec
lea edx, [esp + 0x1c]
push edx
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x41cdf4
jmp 0x41cd7d
mov dword [esp + 0x10], edx
jmp 0x41cdf4
mov eax, dword [esp + 0x24]
mov dword [esp + 0x10], eax
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x238
ret 4
Function at 0x41ce10
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
mov ecx, dword [0x518bc0]
sub esp, 0x44
test ecx, ecx
je 0x41ce22
call fcn.00432390
push esi
push edi
mov ecx, 0xb
mov esi, str.SoftwareMicrosoftWindowsCurrentVersionRun
lea edi, [esp + 0xc]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [esp + 0x3a], eax
lea ecx, [esp + 8]
mov dword [esp + 0x3e], eax
push ecx
mov dword [esp + 0x46], eax
push 0xf003f
mov dword [esp + 0x4e], eax
lea edx, [esp + 0x14]
push eax
push edx
push SysReAllocString
mov word [esp + 0x5e], ax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
pop edi
pop esi
test eax, eax
jne 0x41ce8a
mov eax, dword [0x518ae4]
mov ecx, dword [esp]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.0049ab90
call fcn.0049acd0
add esp, 0x44
ret

Function at 0x41d5b0
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0
push ecx
push 0x41f260
push 0
push 0
call fcn.004af505
add esp, 0x1c
ret
Function at 0x41e470
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e2f68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
call fcn.00426760
call fcn.00405dd0
call fcn.0043a190
call fcn.0049edc0
mov ecx, 0x518cc0
call fcn.004940c0
push 0x518908
lea ecx, [esp + 8]
call fcn.004d49fb
mov eax, dword [0x518b20]
mov ecx, dword [0x509d80]
mov edx, dword [0x518b3c]
push eax
mov eax, dword [0x518b40]
push ecx
push edx
push eax
lea ecx, [esp + 0x14]
push str.HDID_sUSERID_sPID_dPVER_s
push ecx
mov dword [esp + 0x30], 0
call fcn.004d3a22
add esp, 0x14
lea edx, [esp + 8]
mov ecx, esp
mov dword [esp + 0xc], esp
push edx
call fcn.004d4702
lea eax, [esp + 0xc]
push eax
call fcn.00415810
add esp, 8
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 1
call fcn.004d4ac6
lea ecx, [esp + 8]
mov byte [esp + 0x18], 0
call fcn.004d498d
lea ecx, [esp + 4]
lea edx, [esp + 8]
push ecx
push str.DATA
push edx
call fcn.004d4c96
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 2
call fcn.004d4ac6
lea ecx, [esp + 8]
mov byte [esp + 0x18], 0
call fcn.004d498d
mov ecx, dword [esp + 4]
mov eax, dword [esi + 0x828]
mov esi, dword [esi + 0x820]
push ecx
push eax
lea edx, [esp + 0x14]
push esi
push edx
call fcn.0041bdc0
add esp, 0x10
lea ecx, [esp + 0xc]
call fcn.004d498d
lea ecx, [esp + 4]
mov dword [esp + 0x18], 0xffffffff
call fcn.004d498d
mov ecx, dword [esp + 0x10]
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x41eef0
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push 0xffffffffffffffff
push 0x4e30f2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x480
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [esp + 0x34]
push 0x5097b8
push eax
call fcn.004aeeec
add esp, 8
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.004d49fb
push ecx
mov dword [esp + 0x498], 0
mov ecx, esp
mov dword [esp + 0x24], esp
push str.PROCESSID
call fcn.004d49fb
mov dword [esp + 0x498], 0xffffffff
call fcn.004168a0
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x4c]
add esp, 8
rep stosd dword es:[edi], eax
mov eax, dword [0x51347c]
mov dword [esp + 0x44], 0x44
mov dword [esp + 0xc], eax
mov dword [esp + 0x490], 1
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov byte [esp + 0x498], 2
call fcn.004d4dbd
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.004d4e0c
push 0x5c
lea ecx, [esp + 0xc]
call fcn.004d367a
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x10]
call fcn.004d3602
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x494], 3
call fcn.004d4ac6
lea ecx, [esp + 0x10]
mov byte [esp + 0x490], 2
call fcn.004d498d
lea ecx, [esp + 8]
push 0x5095a0
lea edx, [esp + 0x18]
push ecx
push edx
call fcn.004d4c22
lea eax, [esp + 0x14]
push 0x518b04
lea ecx, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x49c], 4
call fcn.004d4bbc
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x494], 5
call fcn.004d4ac6
lea ecx, [esp + 0x10]
mov byte [esp + 0x490], 4
call fcn.004d498d
push 0x50a2b4
lea ecx, [esp + 0x10]
call fcn.004d4d69
push 0x518ae0
lea ecx, [esp + 0x10]
call fcn.004d4da5
mov edi, dword [esp + 0xc]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x88]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x44]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x88]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
push ecx
push edx
push 0
push 0
push 0x20
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x41f0d3
mov ecx, dword [esp + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0x24]
push edx
call esi
lea ecx, [esp + 0x14]
mov byte [esp + 0x490], 2
call fcn.004d498d
lea ecx, [esp + 8]
mov byte [esp + 0x490], 1
call fcn.004d498d
lea ecx, [esp + 0xc]
mov dword [esp + 0x490], 0xffffffff
call fcn.004d498d
mov ecx, dword [esp + 0x488]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x48c
ret
Function at 0x420600
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x14]
push ebp
push esi
push edi
push 2
push 0
mov dword [esp + 0x20], ecx
push ebx
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov ebp, eax
test ebp, ebp
je 0x4207b0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x420779
push 0xe
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4207a9
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4207a9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x4207a9
xor eax, eax
mov ax, word [edi + 4]
shl eax, 5
add eax, 0x210
push eax
call fcn.004afd95
mov esi, eax
add esp, 4
test esi, esi
mov dword [esp + 0x10], esi
je 0x4207a9
xor ecx, ecx
lea edx, [esi + 0x108]
mov cx, word [edi + 4]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edx
mov dword [esi + 0x20c], ecx
call ebx
lea eax, [esi + 4]
push 0x518908
push eax
call ebx
mov eax, dword [esi + 0x20c]
mov dword [esp + 0x24], 0
test eax, eax
jbe 0x420779
mov ecx, esi
add edi, 0x12
mov dword [esp + 0x20], edi
lea ebx, [ecx + 0x21c]
mov eax, dword [esp + 0x20]
xor edx, edx
push 3
mov dx, word [eax]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x42078e
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x420795
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
mov dword [ebx + 4], eax
call fcn.004afd95
add esp, 4
mov dword [ebx], eax
mov esi, dword [ebx + 4]
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, dword [ebx]
mov ecx, esi
mov esi, eax
mov edx, ecx
lea eax, [ebx - 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
call fcn.00420590
test eax, eax
je 0x42079c
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
inc eax
mov edx, dword [ecx + 0x20c]
add edi, 0xe
add ebx, 0x20
cmp eax, edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], edi
jb 0x4206dc
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
mov edx, dword [esp + 0x10]
push edx
jmp 0x4207a1
mov eax, dword [esp + 0x10]
push eax
jmp 0x4207a1
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004afcac
add esp, 4
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret 8
Function at 0x420fd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4e3486
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
mov eax, dword [esi + 0x84]
xor ebx, ebx
mov dword [esp + 0x24], 7
mov ebp, dword [eax]
cmp ebp, eax
je 0x42105a
mov edi, dword [ebp + 0x10]
cmp edi, ebx
je 0x42103b
mov dword [esp + 0x18], edi
mov eax, dword [edi + 0x2c]
mov byte [esp + 0x24], 8
cmp eax, ebx
je 0x421025
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [edi + 0x28]
mov byte [esp + 0x24], 7
call fcn.004d498d
push edi
call fcn.004d46f7
add esp, 4
lea edx, [esp + 0x10]
push ebp
push edx
lea ecx, [esi + 0x80]
call fcn.00429b70
mov ebp, dword [esp + 0x10]
mov eax, dword [esi + 0x84]
cmp ebp, eax
jne 0x421008
mov ebp, dword [esi + 0x98]
mov edi, dword [esi + 0x94]
cmp edi, ebp
mov byte [esp + 0x24], 6
je 0x42107e
push ebx
mov ecx, edi
call fcn.0043d5d0
add edi, 0x10
cmp edi, ebp
jne 0x42106f
mov eax, dword [esi + 0x94]
push eax
call fcn.004d46f7
add esp, 4
lea ecx, [esi + 0x80]
mov dword [esi + 0x94], ebx
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], ebx
mov byte [esp + 0x24], 5
call fcn.00429850
lea ecx, [esi + 0x78]
mov byte [esp + 0x24], 4
call fcn.004d498d
lea ecx, [esi + 0x50]
mov byte [esp + 0x24], 3
call fcn.004d498d
mov eax, dword [esi + 0x34]
cmp eax, ebx
je 0x4210ed
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4210e4
cmp al, 0xff
je 0x4210e4
dec al
mov byte [ecx], al
jmp 0x4210ed
push ecx
call fcn.004d46f7
add esp, 4
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov eax, dword [esi + 0x24]
cmp eax, ebx
je 0x42111a
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x421111
cmp al, 0xff
je 0x421111
dec al
mov byte [ecx], al
jmp 0x42111a
push ecx
call fcn.004d46f7
add esp, 4
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov eax, dword [esi + 0x14]
cmp eax, ebx
je 0x421147
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x42113e
cmp al, 0xff
je 0x42113e
dec al
mov byte [ecx], al
jmp 0x421147
push ecx
call fcn.004d46f7
add esp, 4
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x421174
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x42116b
cmp al, 0xff
je 0x42116b
dec al
mov byte [ecx], al
jmp 0x421174
push ecx
call fcn.004d46f7
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x4255c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e3a18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push edi
mov edi, ecx
mov dword [esp + 8], 0
lea eax, [esp + 0xc]
mov dword [esp + 0x24], 0
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov esi, dword [esp + 0x30]
test esi, esi
je 0x425603
mov eax, dword [esi]
jmp 0x425605
xor eax, eax
mov ecx, dword [edi]
lea edx, [esp + 0xc]
push edx
push eax
push edi
call dword [ecx + 0x8c]
test eax, eax
jge 0x425624
push 0x50b270
push edi
push eax
call fcn.004ce618
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, edi
test esi, esi
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov word [esp + 0xc], 0
mov dword [eax + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
je 0x425684
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x425684
mov eax, dword [esi]
test eax, eax
je 0x42566b
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x42567b
push eax
call fcn.004d46f7
add esp, 4
push esi
call fcn.004d46f7
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 8

Function at 0x4263e0
Capabilities:
Enumerate gui resources

Disassembly:
sub esp, 0x10
push esi
mov esi, dword [esp + 0x18]
lea eax, [esp + 4]
mov dword [esp + 4], 0xffffffff
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [esp + 4]
lea edx, [esp + 8]
push edx
push 0x420ac0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], esi
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 0xc]
pop esi
add esp, 0x10
ret 4