joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404890
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi]
call dword [eax + 0xc]
cmp dword [esi + 4], 0xffffffff
je 0x404905
cmp dword [esi + 0x54], 0xffffffff
je 0x404905
cmp dword [esi + 0x1ac], 0
je 0x4048b8
mov ecx, esi
call fcn.00404bf0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x198], eax
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x404ce0
push 0
push 0
mov dword [esi + 0x24], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x1ac], eax
test eax, eax
je 0x404905
push 2
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x404920
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi]
call dword [eax + 0xc]
cmp dword [esi + 0x2c], 0
je 0x404939
mov ecx, esi
call fcn.00404c90
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x28], eax
test eax, eax
jne 0x40495c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 4]
mov dword [esi + 0x24], 0
push eax
push 0
push esi
push 0x406710
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x2c], eax
test eax, eax
je 0x40494e
push 2
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x404bf0
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
call dword [eax + 0xc]
cmp dword [esi + 0x1ac], 0
je 0x404c7c
mov eax, dword [esi + 0x1a8]
test eax, eax
je 0x404c5b
push eax
mov dword [esi + 0x2c], 1
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
je 0x404c5b
mov eax, dword [esi + 0x1ac]
test eax, eax
je 0x404c7c
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x404c66
push 0
push dword [esi + 0x1ac]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x1ac]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x1ac], 0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
xor eax, eax
pop esi
ret
push dword [esi + 0x1ac]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x1ac], 0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
mov eax, 1
pop esi
ret
Function at 0x405050
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x5a32c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
test esi, esi
je 0x40506f
lea eax, [esi + 4]
jmp 0x405071
xor eax, eax
push 0x34
push 0
push eax
call fcn.00527e30
mov eax, dword [esi + 0x38]
add esp, 0xc
test eax, eax
je 0x4050a3
push 0x104
lea ecx, [ebp - 0x20c]
mov dword [esi + 0x58], 1
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x4050b4
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052737c
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x54]
test eax, eax
je 0x4050cb
push eax
call fcn.0040b571
add esp, 4
mov dword [esi + 0x54], 0
push edi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x405124
push edi
call fcn.0040b568
add esp, 4
mov dword [esi + 0x54], eax
push eax
push edi
push 0
lea eax, [ebp - 0x20c]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x405124
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x210]
push eax
push 0x552428
push dword [esi + 0x54]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x405136
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052737c
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x210]
movdqu xmm0, xmmword [eax]
movdqu xmmword [esi + 4], xmm0
movdqu xmm0, xmmword [eax + 0x10]
movdqu xmmword [esi + 0x14], xmm0
movdqu xmm0, xmmword [eax + 0x20]
movdqu xmmword [esi + 0x24], xmm0
mov eax, dword [eax + 0x30]
mov dword [esi + 0x34], eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x210]
push eax
push 0x5525b0
push dword [esi + 0x54]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x405192
cmp dword [ebp - 0x214], 4
jb 0x405192
mov eax, dword [ebp - 0x210]
mov eax, dword [eax]
mov dword [esi + 0x3c], eax
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [esi + 4], 0xfeef04bd
pop edi
sete al
xor ecx, ebp
pop esi
call fcn.0052737c
mov esp, ebp
pop ebp
ret
Function at 0x4086f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
movzx eax, ax
mov dword [ebp + 8], eax
pop ebp
jmp fcn.00415976

Function at 0x4093c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4093d5
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x409414
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x409410
lea ebx, [ebx]
cmp esi, edx
jae 0x409414
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x409400
cmp esi, edx
jb 0x409419
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret
Function at 0x40a610
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push edi
xor edi, edi
test ebx, ebx
je 0x40a621
mov edi, dword [ebx]
cmp dword [ebp + 8], 0
je 0x40a76c
cmp dword [ebp + 0xc], 0
je 0x40a76c
mov eax, dword [ecx + 8]
push esi
test eax, eax
je 0x40a67c
mov esi, dword [ebp + 0x14]
mov dword [ebp + 0x10], eax
test esi, esi
je 0x40a6b5
lea ecx, [ebp + 0x10]
push ecx
push 0x20019
push 0
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x40a6b5
test byte [0x5a2274], 4
je 0x40a67c
push esi
push str.Couldnt_open_subkey:__s_n
push 3
push str.CRegistryEx::GetDWORD
call fcn.0040afd0
add esp, 0x10
test ebx, ebx
je 0x40a761
test byte [0x5a2274], 4
je 0x40a6a2
push edi
push str.Returning_default_value:_0x_08X_n
push 3
push str.CRegistryEx::GetDWORD
call fcn.0040afd0
add esp, 0x10
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
pop esi
pop edi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
test byte [0x5a2274], 4
je 0x40a6d3
push esi
push str.Opened_subkey:__s_n
push 3
push str.CRegistryEx::GetDWORD
call fcn.0040afd0
add esp, 0x10
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
push dword [ebp + 0xc]
lea eax, [ebp + 0x14]
push eax
push 0
push dword [ebp + 8]
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp + 8], eax
test esi, esi
je 0x40a706
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 8]
test eax, eax
je 0x40a722
test byte [0x5a2274], 4
je 0x40a67c
push eax
push str.Error_querying_value:__d_n
jmp 0x40a66d
test byte [0x5a2274], 4
je 0x40a746
push dword [ebp + 0x14]
lea eax, [ebp + 0xc]
push eax
push str.Read_0x_08X_successfully._Type_d._n
push 3
push str.CRegistryEx::GetDWORD
call fcn.0040afd0
add esp, 0x14
mov eax, dword [ebp + 0x14]
cmp eax, 4
je 0x40a6a7
cmp eax, 3
jne 0x40a761
cmp dword [ebp - 4], 4
je 0x40a6a7
pop esi
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40a780
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
cmp edi, esi
jne 0x40a7aa
push 0x126
push str.RegistryEx.cpp
push str.pszValue___pszDefaultValue
call fcn.0045afa0
add esp, 0xc
cmp dword [ebp + 8], 0
mov dword [ebp + 0xc], 0
je 0x40a8ba
test edi, edi
je 0x40a8ba
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x40a8ba
mov eax, dword [ebx + 8]
test eax, eax
je 0x40a8c8
mov ebx, dword [ebp + 0x18]
mov ecx, dword [edx]
mov dword [ebp + 0x14], eax
mov dword [ebp + 0xc], ecx
test ebx, ebx
je 0x40a809
lea ecx, [ebp + 0x14]
push ecx
push 0x20019
push 0
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edx, dword [ebp + 0x10]
test eax, eax
jne 0x40a8c8
mov eax, dword [ebp + 0x14]
push edx
push edi
lea ecx, [ebp - 4]
push ecx
push 0
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp + 8], eax
test ebx, ebx
je 0x40a82b
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
cmp ecx, 2
jne 0x40a8a5
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040b568
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x40a8a2
push dword [ebp + 0xc]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov edx, edi
mov ecx, ebx
sub edx, ebx
jmp 0x40a870
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x40a870
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40a885
mov eax, dword [ebp + 0x10]
sub ecx, edx
sar ecx, 1
push ebx
mov dword [eax], ecx
call fcn.0040b571
add esp, 4
mov ecx, dword [ebp - 4]
cmp dword [ebp + 8], 0
jne 0x40a8c5
cmp ecx, 1
je 0x40a902
cmp ecx, 7
je 0x40a902
cmp ecx, 2
je 0x40a902
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov edx, dword [ebp + 0x10]
test esi, esi
je 0x40a8ba
mov ecx, esi
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40a8d1
sub ecx, ebx
sar ecx, 1
lea ecx, [ecx*2 + 2]
cmp ecx, dword [ebp + 0xc]
ja 0x40a8ba
sub edi, esi
mov edi, edi
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [edi + esi - 2], ax
test ax, ax
jne 0x40a8f0
mov dword [edx], ecx
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x40fe9d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x40fee2
call fcn.0041569b
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40fee2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x40fefe
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0041c838
mov ebx, eax
test edi, edi
je 0x40fefc
test esi, esi
je 0x40fefc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4159d2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.0041569b
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x415a09
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.00415a2a
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4214ea
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.0041491d
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x421526
call fcn.00421709
mov dword [esi + 0xc], 1
jmp 0x42152b
call fcn.00421709
cmp dword [esi], 0
je 0x421574
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x42154e
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.0040ff55
jmp 0x42155f
push 0xff
mov ecx, esi
call fcn.00403420
push pe_nt_image_headers32
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.004122d0
jmp 0x421598
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x421598
push dword [esi]
push dword [ebp - 4]
call fcn.0041bbc1
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42165e
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.00421709
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4216a6
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0040ff55
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.004122d0
jmp 0x4216b1
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0041bbc1
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4c7c2c
Capabilities:
Get file system object information

Disassembly:
push 0x4c8
mov eax, 0x54b745
call fcn.00529c62
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.0040c4ca
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x4d0], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x4d0]
push 0
push 0x552428
call fcn.00417154
cmp eax, 0xffffffff
jne 0x4c7ce0
push 0
push 0x55309c
lea ecx, [ebp - 0x4d0]
call fcn.00417154
cmp eax, 0xffffffff
jne 0x4c7ce0
push 0
push 0x555abc
lea ecx, [ebp - 0x4d0]
call fcn.00417154
cmp eax, 0xffffffff
jne 0x4c7ce0
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.0040c4ca
pop ecx
lea edi, [eax + 0x10]
mov dword [ebp - 0x4d4], edi
xor ecx, ecx
mov byte [ebp - 4], 1
push ecx
lea eax, [ebp - 0x218]
push eax
push 0x104
push ecx
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x4c7cbc
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
lea ecx, [edi - 0x10]
mov ebx, eax
call fcn.00403510
jmp 0x4c7d0f
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4d0]
call fcn.004092c0
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 0
call fcn.00403510
mov esi, dword [ebp - 0x4d0]
push 0x105
push 0x2b4
lea eax, [ebp - 0x4cc]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x4c7d06
mov ebx, dword [ebp - 0x4cc]
jmp 0x4c7d0f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
mov ebx, eax
lea ecx, [esi - 0x10]
call fcn.00403510
mov eax, ebx
call fcn.00529c11
ret
Function at 0x53b158
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5a32c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0052f010
mov dword [ebp - 0x14], eax
cmp dword [0x5aec74], esi
jne 0x53b24b
push 0x800
push esi
push 0x5834b0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x53b1d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x53b32b
push esi
push esi
push 0x5834b0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x53b32b
push 0x5834c8
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x53b32b
push eax
call ebx
push 0x5834d4
push edi
mov dword [0x5aec74], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x5834e4
push edi
mov dword [0x5aec78], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x5aec7c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5aec84], eax
test eax, eax
je 0x53b248
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5aec80], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x53b270
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x53b263
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x53b285
push 4
pop eax
jmp 0x53b32d
cmp dword [ebp - 0x14], esi
je 0x53b285
push dword [0x5aec74]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x53b26a
mov eax, dword [0x5aec80]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x53b2e3
cmp dword [0x5aec84], edi
je 0x53b2e3
push eax
call ebx
push dword [0x5aec84]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x53b2e3
test eax, eax
je 0x53b2e3
call ecx
test eax, eax
je 0x53b2d8
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x53b2d8
test byte [ebp - 8], 1
jne 0x53b2e3
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x53b313
mov eax, dword [0x5aec78]
cmp eax, edi
je 0x53b310
push eax
call ebx
test eax, eax
je 0x53b310
call eax
mov esi, eax
test esi, esi
je 0x53b310
mov eax, dword [0x5aec7c]
cmp eax, edi
je 0x53b310
push eax
call ebx
test eax, eax
je 0x53b310
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x5aec74]
call ebx
test eax, eax
je 0x53b32b
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x53b32d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0052737c
mov esp, ebp
pop ebp
ret
Function at 0x401260
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401279
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4012b4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x4012b0
lea ebx, [ebx]
cmp esi, eax
jae 0x4012b4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4012a0
cmp esi, eax
jb 0x4012ba
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x40a270
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x442a68
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x458acc]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0x18], eax
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0x28]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x14], esp
mov esi, esp
push eax
call fcn.004018e0
add eax, 0x10
mov dword [esi], eax
mov esi, dword [esp + 0x2c]
add esp, 4
push esi
call int.0040a080
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
mov dword [ecx], edx
add eax, 0xfffffff0
add esp, 0xc
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a302
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret 0xc

Function at 0x40ac80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x442bb1
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x458acc]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x3c], esp
mov edi, esp
push eax
mov dword [esp + 0x30], 1
call fcn.004018e0
add eax, 0x10
mov dword [edi], eax
mov edi, dword [esp + 0x38]
add esp, 4
push edi
mov ecx, esi
call fcn.0040a270
mov ecx, dword [edi]
mov eax, dword [ecx - 0xc]
mov dword [esp + 0xc], 1
test eax, eax
jle 0x40ada1
mov esi, dword [esi + 8]
call fcn.0041b95c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40ad16
push 0x80004005
call fcn.00401240
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x30]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x38], esp
mov esi, esp
push eax
mov byte [esp + 0x2c], 2
call fcn.004018e0
add esp, 4
lea ecx, [esp + 0x38]
add eax, 0x10
push ecx
lea ecx, [esp + 0x18]
mov dword [esi], eax
call fcn.00406fb0
push eax
mov ecx, edi
mov byte [esp + 0x28], 3
call fcn.00402070
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x24], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40ad93
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 1
call fcn.00403850
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x24], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40adc6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret 0xc
Function at 0x40f6b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4431a9
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x458acc]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 0
call fcn.0041b95c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40f6ff
push 0x80004005
call fcn.00401240
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov esi, dword [esp + 0x20]
add eax, 0x10
mov dword [esi], eax
push 0
push esi
push 8
push 2
push 0
push edi
mov dword [esp + 0x30], 0
mov dword [esp + 0x24], 1
call fcn.00412a5b
add esp, 0x18
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x40f7f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4431a9
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x458acc]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 0
call fcn.0041b95c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40f83f
push 0x80004005
call fcn.00401240
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov esi, dword [esp + 0x20]
add eax, 0x10
mov dword [esi], eax
push 0
push esi
push 8
push 2
push 0xb
push edi
mov dword [esp + 0x30], 0
mov dword [esp + 0x24], 1
call fcn.00412a5b
add esp, 0x18
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x40f890
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4431a9
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x458acc]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 0
call fcn.0041b95c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40f8df
push 0x80004005
call fcn.00401240
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov esi, dword [esp + 0x20]
add eax, 0x10
mov dword [esi], eax
push 0
push esi
push 8
push 2
push 0x1a
push edi
mov dword [esp + 0x30], 0
mov dword [esp + 0x24], 1
call fcn.00412a5b
add esp, 0x18
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4