joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401200
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40121b
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401252
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x40124e
jmp 0x401240
cmp esi, eax
jae 0x401252
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401240
cmp esi, eax
jb 0x401259
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52fc9e
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x58a6d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push edi
call fcn.0040dd00
lea eax, [edi + 4]
lea ecx, [esi + 4]
push eax
mov dword [ebp - 4], 0
call fcn.0040dd00
lea edx, [edi + 8]
lea ecx, [esi + 8]
push edx
mov byte [ebp - 4], 1
call fcn.0040dd00
lea eax, [edi + 0xc]
lea ecx, [esi + 0xc]
push eax
mov byte [ebp - 4], 2
call fcn.0040dd00
lea edx, [edi + 0x10]
lea ecx, [esi + 0x10]
push edx
mov byte [ebp - 4], 3
call fcn.0040dd00
lea eax, [edi + 0x14]
lea ecx, [esi + 0x14]
push eax
mov byte [ebp - 4], 4
call fcn.0040dd00
lea edx, [edi + 0x18]
lea ecx, [esi + 0x18]
push edx
mov byte [ebp - 4], 5
call fcn.0040dd00
lea eax, [edi + 0x1c]
lea ecx, [esi + 0x1c]
push eax
mov byte [ebp - 4], 6
call fcn.0040dd00
lea edx, [edi + 0x20]
lea ecx, [esi + 0x20]
push edx
mov byte [ebp - 4], 7
call fcn.0040dd00
lea eax, [edi + 0x24]
lea ecx, [esi + 0x24]
push eax
mov byte [ebp - 4], 8
call fcn.0040dd00
lea edx, [edi + 0x28]
lea ecx, [esi + 0x28]
push edx
mov byte [ebp - 4], 9
call fcn.0040dd00
lea eax, [edi + 0x2c]
lea ecx, [esi + 0x2c]
push eax
mov byte [ebp - 4], 0xa
call fcn.0040dd00
lea edx, [edi + 0x30]
lea ecx, [esi + 0x30]
push edx
mov byte [ebp - 4], 0xb
call fcn.0040dd00
lea eax, [edi + 0x34]
lea ecx, [esi + 0x34]
push eax
mov byte [ebp - 4], 0xc
call fcn.0040dd00
lea edx, [edi + 0x38]
lea ecx, [esi + 0x38]
push edx
mov byte [ebp - 4], 0xd
call fcn.0040dd00
lea eax, [edi + 0x3c]
lea ecx, [esi + 0x3c]
push eax
mov byte [ebp - 4], 0xe
call fcn.0040dd00
lea edx, [edi + 0x40]
lea ecx, [esi + 0x40]
push edx
mov byte [ebp - 4], 0xf
call fcn.0040dd00
lea eax, [edi + 0x44]
lea ecx, [esi + 0x44]
push eax
mov byte [ebp - 4], 0x10
call fcn.0040dd00
lea edx, [edi + 0x48]
lea ecx, [esi + 0x48]
push edx
mov byte [ebp - 4], 0x11
call fcn.0040dd00
mov byte [ebp - 4], 0x12
mov eax, dword [edi + 0x4c]
add edi, 0x50
push edi
lea ecx, [esi + 0x50]
mov dword [esi + 0x4c], eax
call fcn.0040dd00
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4040b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x530778
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x58a6d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
call fcn.0041b551
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4040f1
push 0x80004005
call fcn.004010a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov ecx, 0x55e2ba
mov dword [ebp - 4], 0
test ecx, 0xffff0000
jne 0x40412d
mov edx, ecx
movzx edi, dx
push edi
call fcn.0041b46c
test eax, eax
je 0x404139
push edi
push eax
mov ecx, esi
call fcn.0040db90
jmp 0x404139
push 0x55e2ba
mov ecx, esi
call fcn.0040c570
or eax, 0xffffffff
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x38], 2
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x40a080
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x531220
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push esi
mov eax, dword [0x58a6d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x55e2ac
lea eax, [esi + 0x100]
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.0040cd10
lea edx, [esi + 0x104]
push edx
push eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], 0
call fcn.0040cc50
add esp, 0x18
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a0fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x74]
call sym.Autorun.exe_public:_void___thiscall_CBootstrapConfigItem::constructor_void_
push 0x5614d8
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x18]
push edx
mov byte [ebp - 4], 3
call fcn.0040cd10
add esp, 8
mov ecx, esp
mov byte [ebp - 4], 4
mov dword [ebp - 0x14], esp
add esi, 0xfc
push esi
push eax
push ecx
call fcn.0040cc50
add esp, 8
mov byte [ebp - 4], 5
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.HP_Installer_Launch
call fcn.0040c3c0
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
mov byte [ebp - 4], 6
call fcn.0040c3c0
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 4
call dword [sym.imp.BootstrapLibrary.dll_public:_bool___thiscall_CBootstrapPrereqCheck::RegistrySetString_struct_HKEY_____class_ATL::CStringT_wchar_t__class_StrTraitMFC_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____class_ATL::CStringT_wchar_t__class_StrTraitMFC_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____class_ATL::CStringT_wchar_t__class_StrTraitMFC_wchar_t__class_ATL::ChTraitsCRT_wchar_t____]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40a192
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x74]
call sym.Autorun.exe_public:_void___thiscall_CBootstrapConfigItem::destructor_void_
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a1c0
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 esi
mov esp, ebp
pop ebp
ret
Function at 0x41acc1
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 0x41ad08
call fcn.004210b9
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41ad08
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x41ad24
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0041a7c1
mov esi, eax
test edi, edi
je 0x41ad22
test ebx, ebx
je 0x41ad22
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x41bd8d
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x58a6d0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x41bdd2
push 0x536620
push 4
push eax
call fcn.0050f388
push eax
call fcn.00401010
add esp, 0x10
jmp 0x41bde8
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x41be68
push edi
call fcn.0050d901
mov edi, dword [eax]
call fcn.0050d901
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.0050c1e0
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.0050d901
cmp dword [eax], 0
je 0x41be3c
call fcn.0050d901
push dword [eax]
call fcn.0041455b
pop ecx
jmp 0x41be43
call fcn.0050d901
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
pop edi
je 0x41be68
cmp dword [ebp - 0x234], esi
jae 0x41be68
push 0
push 0
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x41be6a
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0050c1b3
leave
ret
Function at 0x41c3b3
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x58a6d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x144], eax
mov eax, dword [ebp + 0xc]
push edi
push str.KERNEL32.DLL
mov dword [ebp - 0x13c], eax
xor esi, esi
call fcn.004160b6
pop ecx
cmp eax, esi
je 0x41c49d
push str.GetThreadPreferredUILanguages
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, esi
je 0x41c49d
xor eax, eax
push 0xc8
mov word [ebp - 0xd0], ax
lea eax, [ebp - 0xce]
push esi
push eax
mov dword [ebp - 0x140], esi
call fcn.0050d950
add esp, 0xc
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x140]
push eax
push 0x34
mov dword [ebp - 0x138], 0x65
call edi
test eax, eax
je 0x41c49d
lea edi, [ebp - 0xd0]
cmp word [ebp - 0xd0], si
je 0x41c49d
cmp esi, 0x14
jge 0x41c49d
push 0x10
push 0
push edi
call fcn.0050f8b2
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x41c48c
call fcn.0050d901
cmp dword [eax], 0x22
je 0x41c48c
mov dword [ebp + esi*4 - 0x134], ebx
inc esi
push edi
call fcn.0050d36a
lea edi, [edi + eax*2 + 2]
cmp word [edi], 0
pop ecx
jne 0x41c462
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
mov ebx, 0xfc00
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x134], eax
call edi
mov dword [ebp + esi*4 - 0x130], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x12c], eax
call edi
mov dword [ebp + esi*4 - 0x128], eax
add esi, 4
cmp dword [0x58d894], 0
jne 0x41c528
mov dword [ebp + esi*4 - 0x134], 0x800
inc esi
xor edi, edi
test esi, esi
jle 0x41c551
push dword [ebp + edi*4 - 0x134]
mov ecx, dword [ebp - 0x144]
push dword [ebp - 0x13c]
call fcn.0041bd8d
pop ecx
pop ecx
test eax, eax
jne 0x41c553
inc edi
cmp edi, esi
jl 0x41c52e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050c1b3
leave
ret 8

Function at 0x420730
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.004210b9
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 0x420769
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.0042036d
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 0x4207c7
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 0x4207eb
cmp dword [edi + 0x74], 0
jne 0x4207eb
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.004210b9
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.00420788
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 0x4239fa
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.0042369e
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x423a44
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00418d89
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0041704c
jmp 0x423a4f
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00426b3e
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x423a55
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.0042505d
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x423a92
call fcn.0042369e
mov dword [esi + 0xc], 1
jmp 0x423a97
call fcn.0042369e
cmp dword [esi], 0
je 0x423ae0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x423ab8
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00418d89
jmp 0x423aca
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.0040dea0
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0041704c
jmp 0x423b04
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x423b04
push dword [esi]
push dword [ebp + 8]
call fcn.00426b3e
pop esi
pop ebp
ret 0xc
Function at 0x425393
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x52ac9d
call fcn.0050d769
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x4253b8
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x42540a
call fcn.0041b551
push eax
lea ecx, [ebp - 0x10]
call fcn.0040dcd0
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.0050d29d
push eax
call fcn.00401010
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.004012b0
mov eax, esi
call fcn.0050d841
ret 8

Function at 0x428e7a
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x58a6d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x428eaf
xor eax, eax
jmp 0x428f02
lea eax, [ebp - 0x210]
push eax
call fcn.0050d36a
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x428ee0
push 0x55e2ac
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0050f8cc
add esp, 0xc
test eax, eax
jne 0x428eab
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0050f8cc
add esp, 0xc
test eax, eax
jne 0x428eab
lea eax, [ebp - 0x210]
push eax
call fcn.004160b6
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0050c1b3
leave
ret

Function at 0x454353
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x45436d
call fcn.004210b9
mov esi, dword [eax + 0xc]
push dword [0x58eeb8]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x45438b
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x454383
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x4543b8
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x454385
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.00454281
mov esi, eax
jmp 0x4543aa

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

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.004191a8
call fcn.0041613c
cmp eax, esi
pop esi
jne 0x487c9e
mov ecx, 0x58de78
jmp fcn.00429a94
ret
Function at 0x4c2c10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x4c2c29
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.004c293b
in eax, 0xaf
in eax, 0x66
lea eax, [ebp - 0x40]
push eax
call fcn.004c294b
push eax
push esi
push dword [ebp + 8]
call fcn.004c2900
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.004c293b
sahf
adc dl, bl
mov eax, 0x88e8458d
pop ebp
call 0xe9a9b4fc
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.004c294b
push eax
push esi
push dword [ebp + 8]
call fcn.004c2900
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.004c294b
push eax
push esi
push dword [ebp + 8]
call fcn.004c2900
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
loopne 0x4c2dd6
Function at 0x4f006d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x4f0085
mov edi, dword [esi + 0xc]
jmp 0x4f00c5
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4f009e
call fcn.00423e54
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4f00b3
call fcn.00423e54
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4f00c5
call fcn.00423e54
call fcn.004210b9
cmp dword [eax + 0x3c], 0
je 0x4f00da
push edi
mov ecx, ebx
call fcn.004eee97
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004eff87
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x4f00f8
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4f0104
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x50c1b3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x58a6d0]
jne 0x50c1bd
repz ret
jmp fcn.005140a3
Function at 0x51edd8
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x58a6d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00513acb
and dword [ebp - 0x14], 0
cmp dword [0x5922ec], 0
mov dword [ebp - 0x18], eax
jne 0x51ee8b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x51ef33
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x55cda8
push ebx
call edi
test eax, eax
je 0x51ef33
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x55cd98
push ebx
mov dword [0x5922ec], eax
call edi
push eax
call esi
push 0x55cd84
push ebx
mov dword [0x5922f0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x5922f4], eax
call edi
push eax
call esi
mov dword [0x5922fc], eax
test eax, eax
je 0x51ee8b
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x5922f8], eax
mov eax, dword [0x5922f8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x51eee4
cmp dword [0x5922fc], ecx
je 0x51eee4
push eax
call esi
push dword [0x5922fc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x51eee4
test ebx, ebx
je 0x51eee4
call edi
test eax, eax
je 0x51eedb
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x51eedb
test byte [ebp - 8], 1
jne 0x51eee4
or dword [ebp + 0x10], 0x200000
jmp 0x51ef17
mov eax, dword [0x5922f0]
cmp eax, dword [ebp - 0x18]
je 0x51ef17
push eax
call esi
test eax, eax
je 0x51ef17
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x51ef17
mov eax, dword [0x5922f4]
cmp eax, dword [ebp - 0x18]
je 0x51ef17
push eax
call esi
test eax, eax
je 0x51ef17
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x5922ec]
call esi
test eax, eax
je 0x51ef33
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x51ef35
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050c1b3
leave
ret