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

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.0047120c
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x466e08
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.00466e1b
pop edi
pop esi
pop ebx
ret 8

Function at 0x4683f2
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x46842a
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00466462
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046643a
jmp 0x468436
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x469cde
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x469d20
call fcn.0047120c
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x469d20
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x469d17
xor eax, eax
jmp 0x469d28
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00469d2e
pop edi
pop esi
pop ebx
ret 4

Function at 0x47173c
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x47176a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x471788
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004716a2
jmp 0x471788
mov eax, dword [esi + 0x14]
test eax, eax
je 0x471788
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004716a2
test edi, edi
mov eax, edi
jne 0x471772
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x5808483e
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f314
nop
nop
mov ecx, 0x62d874e4
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x40181b
Capabilities:
Check for time delay via gettickcount
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42cbac
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x43a19c]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push esi
mov eax, dword [0x43a19c]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
cmp dword [edi + 0x48], 8
jb 0x40185c
mov eax, dword [edi + 0x34]
jmp 0x40185f
lea eax, [edi + 0x34]
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
xor ebx, ebx
inc ebx
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x14], vtable.CCallback.0
mov dword [esp + 0x18], vtable.CCallback.1.0
mov dword [esp + 0x20], ebx
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], eax
mov word [esp + 0x28], cx
mov dword [esp + 0x58], eax
mov dword [esp + 0x1c], eax
mov eax, 0x430a74
lea esi, [esp + 0x24]
call fcn.0040124b
mov dword [esp + 0x58], ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x1c], edi
call esi
mov dword [edi + 0x68], eax
mov byte [edi + 0x88], 0
cmp dword [edi + 0x64], 8
jb 0x4018cd
mov ecx, dword [edi + 0x50]
jmp 0x4018d0
lea ecx, [edi + 0x50]
cmp dword [edi + 0x48], 8
jb 0x4018db
mov eax, dword [edi + 0x34]
jmp 0x4018de
lea eax, [edi + 0x34]
lea edx, [esp + 0x14]
push edx
push 0
push ecx
push eax
push 0
call sub.urlmon.dll_URLDownloadToFileW
mov dword [esp + 0xc], eax
call esi
sub eax, dword [edi + 0x68]
mov ecx, 0x4b0
cmp eax, ecx
jae 0x401907
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0xffffffffffffffff
lea eax, [edi + 0x6c]
push eax
xor ebx, ebx
lea eax, [esp + 0x2c]
call fcn.004012fe
mov esi, dword [edi + 0x24]
cmp esi, dword [edi + 0x28]
jbe 0x401925
call fcn.00419492
mov ebx, dword [edi + 0x18]
mov eax, dword [edi + 0x28]
mov dword [esp + 0x10], eax
cmp dword [edi + 0x24], eax
jbe 0x401939
call fcn.00419492
mov eax, dword [edi + 0x18]
test ebx, ebx
je 0x401944
cmp ebx, eax
je 0x401949
call fcn.00419492
cmp esi, dword [esp + 0x10]
je 0x40199d
test ebx, ebx
jne 0x401990
call fcn.00419492
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x401964
call fcn.00419492
cmp dword [esi + 0x10], 0
je 0x401998
mov ecx, dword [esi + 0x10]
push dword [esp + 0xc]
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
jne 0x401994
call fcn.00419492
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x40198b
call fcn.00419492
add esi, 0x18
jmp 0x401928
mov eax, dword [ebx]
jmp 0x40195a
mov eax, dword [ebx]
jmp 0x401981
call fcn.00417513
lea eax, [esp + 0x14]
call fcn.0040111c
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.0041758d
mov esp, ebp
pop ebp
ret
Function at 0x401aa3
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x43a19c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
mov dword [ebp - 0x60], ebx
cmp eax, ebx
je 0x401b4d
push ebx
push ebx
lea ecx, [ebp - 0x58]
push ecx
push eax
push ebx
call sub.urlmon.dll_URLOpenBlockingStreamW
test eax, eax
jl 0x401b4d
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax]
push 1
lea edx, [ebp - 0x54]
push edx
push eax
call dword [ecx + 0x30]
test eax, eax
jl 0x401b44
inc dword [ebp - 0x4c]
mov eax, dword [ebp - 0x4c]
push eax
mov dword [ebp - 0x5c], eax
call fcn.0041901c
pop ecx
mov dword [esi], eax
cmp eax, ebx
je 0x401b44
push 8
lea eax, [ebp - 0x64]
push ebx
push eax
call fcn.004194b0
push dword [ebp - 0x5c]
push ebx
push dword [esi]
call fcn.004194b0
mov eax, dword [ebp - 0x5c]
add esp, 0x18
push ebx
push ebx
push dword [ebp - 0x60]
dec eax
push dword [ebp - 0x64]
mov dword [edi], eax
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax]
push ebx
push dword [edi]
push dword [esi]
push eax
call dword [ecx + 0xc]
mov dword [ebp - 0x60], 1
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x60]
xor ecx, ebp
pop ebx
call fcn.0041758d
leave
ret
Function at 0x402ae7
Capabilities:
Create thread

Disassembly:
push 0x74
mov eax, 0x42d516
call fcn.0041b851
mov edi, ecx
lea eax, [edi + 0x40]
push eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x4c], edi
mov byte [edi + 0xe9], 1
call fcn.00401b7f
and dword [ebp - 4], 0
lea eax, [ebp - 0x48]
push eax
call fcn.0041301a
pop ecx
lea eax, [ebp - 0x2c]
push eax
lea esi, [ebp - 0x48]
call fcn.00412ecd
pop ecx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x402b36
lea eax, [ebp - 0x28]
push eax
push str.c:_tmp
call fcn.00419628
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x80]
call fcn.00401228
push 0xffffffffffffffff
lea ecx, [ebp - 0x2c]
push ecx
xor ebx, ebx
mov byte [ebp - 4], 2
call fcn.004012fe
push ebx
push 1
lea esi, [ebp - 0x80]
mov byte [ebp - 4], 1
call fcn.004012b7
mov esi, str..exe
push esi
call fcn.00418e3b
pop ecx
mov ebx, eax
push esi
lea eax, [ebp - 0x2c]
call fcn.0040316e
push 0xffffffffffffffff
lea eax, [edi + 0x15c]
push eax
xor ebx, ebx
lea eax, [ebp - 0x2c]
call fcn.004012fe
push 0x8c
call fcn.00418f68
pop ecx
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x402be4
sub esp, 0x1c
lea eax, [ebp - 0x2c]
mov esi, esp
mov dword [ebp - 0x58], esp
push eax
call fcn.00402de7
sub esp, 0x1c
mov eax, esp
mov dword [ebp - 0x50], esp
lea esi, [edi + 0x24]
push eax
mov byte [ebp - 4], 4
call fcn.00412ecd
mov edi, dword [ebp - 0x54]
pop ecx
mov byte [ebp - 4], 3
call fcn.00401759
mov edi, dword [ebp - 0x4c]
jmp 0x402be6
xor eax, eax
sub esp, 0x18
mov byte [ebp - 4], 1
mov dword [ebp - 0x50], esp
mov ebx, esp
push 0x14
mov dword [edi + 0x178], eax
mov dword [ebp - 0x64], 0x402c61
mov dword [ebp - 0x60], edi
call fcn.00418f68
pop ecx
test eax, eax
je 0x402c20
mov dword [eax], vtable.._AV___Impl1_U___Callable_obj_V___Bind_U_Notforced_tr1_std__V___Bind2_U___Callable_pmf_Q8COffer__AEXH_ZV1__0A__tr1_std__PAVCOffer__V___Ph__00_23__23__tr1_std___0A__tr1_std__XHV__allocator_H_3__tr1_std__.0
lea edi, [eax + 4]
lea esi, [ebp - 0x64]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x4c]
mov dword [ebx + 0x10], eax
mov ecx, dword [edi + 0x178]
call fcn.00402109
push dword [edi + 0x178]
push 0
push 0x40180f
call fcn.0041927c
add esp, 0xc
push 0
push 1
lea esi, [ebp - 0x2c]
call fcn.004012b7
push 0
push 1
lea ecx, [ebp - 0x48]
call fcn.00401d02
call fcn.0041b89b
ret
Function at 0x40e350
Capabilities:
Delete registry key

Disassembly:
cmp byte [0x43d63c], 0
jne 0x40e380
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40e379
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x43d640], eax
mov byte [0x43d63c], 1
mov eax, dword [0x43d640]
test eax, eax
je 0x40e398
push 0
push dword [esi + 4]
push dword [esp + 0xc]
push dword [esi]
call eax
jmp 0x40e3a4
push dword [esp + 4]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
ret 4

Function at 0x40e3fc
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x40e40a
push 0xd
pop eax
jmp 0x40e43d
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x40e411
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push 7
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x40e441
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x43a19c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 4]
push edi
push ecx
push dword [esi]
mov dword [ebp - 0x21c], ecx
xor edi, edi
or eax, 0x2001f
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x210], edi
call fcn.0040e3be
mov ebx, eax
cmp ebx, edi
je 0x40e4a7
cmp dword [ebp - 0x214], edi
je 0x40e4a0
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x40e53f
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x40e4cf
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x214]
call fcn.0040e441
mov dword [ebp - 0x220], eax
cmp eax, edi
jne 0x40e550
lea eax, [ebp - 0x228]
push eax
push edi
push edi
push edi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
push dword [ebp - 0x214]
mov dword [ebp - 0x218], 0x100
call ebx
test eax, eax
je 0x40e4af
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x214], edi
je 0x40e51a
push dword [ebp - 0x214]
call ebx
mov dword [ebp - 0x214], edi
push dword [ebp - 0x21c]
mov dword [ebp - 0x210], edi
call fcn.0040e350
mov esi, eax
cmp dword [ebp - 0x214], edi
je 0x40e53d
push dword [ebp - 0x214]
call ebx
mov eax, esi
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041758d
leave
ret 4
cmp dword [ebp - 0x214], edi
je 0x40e564
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x220]
jmp 0x40e53f
Function at 0x410469
Capabilities:
Create thread

Disassembly:
push 0x7c
mov eax, 0x42d5e9
call fcn.0041b851
mov edi, ecx
mov dword [ebp - 0x4c], edi
mov byte [edi + 0x64], 1
call fcn.0040bc5f
mov ebx, dword [eax + 0xa8]
call fcn.00411e20
call fcn.004123e9
mov byte [edi + 0x65], 1
mov byte [edi + 0x66], 0
call fcn.0040bc5f
push eax
lea ecx, [ebp - 0x48]
call fcn.00401b7f
and dword [ebp - 4], 0
lea eax, [ebp - 0x48]
push eax
call fcn.0041301a
pop ecx
lea eax, [ebp - 0x2c]
push eax
lea esi, [ebp - 0x48]
call fcn.00412ecd
pop ecx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x4104d4
lea eax, [ebp - 0x28]
push eax
push str.c:_tmp
call fcn.00419628
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x74]
call fcn.00401228
push 0xffffffffffffffff
lea ecx, [ebp - 0x2c]
push ecx
xor ebx, ebx
mov byte [ebp - 4], 2
call fcn.004012fe
push ebx
push 1
lea esi, [ebp - 0x74]
mov byte [ebp - 4], 1
call fcn.004012b7
mov esi, str..exe
push esi
call fcn.00418e3b
pop ecx
mov ebx, eax
push esi
lea eax, [ebp - 0x2c]
call fcn.0040316e
call fcn.0040bc5f
mov esi, 0x8c
add eax, esi
push 0xffffffffffffffff
push eax
xor ebx, ebx
lea eax, [ebp - 0x2c]
call fcn.004012fe
push esi
call fcn.00418f68
pop ecx
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x41058b
sub esp, 0x1c
lea eax, [ebp - 0x2c]
mov esi, esp
mov dword [ebp - 0x58], esp
push eax
call fcn.00402de7
mov byte [ebp - 4], 4
call fcn.0040bc5f
sub esp, 0x1c
mov esi, eax
mov eax, esp
mov dword [ebp - 0x50], esp
add esi, 0x38
push eax
call fcn.00412ecd
mov edi, dword [ebp - 0x54]
pop ecx
mov byte [ebp - 4], 3
call fcn.00401759
mov edi, dword [ebp - 0x4c]
jmp 0x41058d
xor eax, eax
mov byte [ebp - 4], 1
sub esp, 0x18
mov dword [edi + 0x5c], eax
mov eax, 0x410653
xor ecx, ecx
mov dword [ebp - 0x50], esp
mov ebx, esp
push 0x40
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x80], edi
call fcn.00418f68
pop ecx
test eax, eax
je 0x4105d5
push 0xc
lea edi, [eax + 8]
pop ecx
lea esi, [ebp - 0x88]
mov dword [eax], 0x4330d8
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x4c]
mov dword [ebx + 0x10], eax
mov ecx, dword [edi + 0x5c]
call fcn.0040fea1
sub esp, 0x18
mov eax, 0x4106c7
xor ecx, ecx
mov dword [ebp - 0x50], esp
mov ebx, esp
push 0x28
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x68], edi
call fcn.00418f68
pop ecx
test eax, eax
je 0x410618
push 6
lea edi, [eax + 8]
pop ecx
lea esi, [ebp - 0x70]
mov dword [eax], vtable.._AV___Impl1_U___Callable_obj_V___Bind_U_Notforced_tr1_std__V___Bind2_U___Callable_pmf_Q8TestDialog__AEXH_ZV1__0A__tr1_std__PAVTestDialog__V___Ph__00_23__23__tr1_std___0A__tr1_std__XHV__allocator_H_3__tr1_std__.0
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x4c]
mov dword [ebx + 0x10], eax
mov ecx, dword [edi + 0x5c]
call fcn.00402109
push dword [edi + 0x5c]
push 0
push 0x40180f
call fcn.0041927c
add esp, 0xc
push 0
push 1
lea esi, [ebp - 0x2c]
call fcn.004012b7
push 0
push 1
lea ecx, [ebp - 0x48]
call fcn.00401d02
call fcn.0041b89b
ret
Function at 0x412613
Capabilities:
Create thread

Disassembly:
push 0x1c
mov eax, 0x42ce38
call fcn.0041b7e8
push 0x8c
mov dword [ebp - 4], 3
call fcn.00418f68
xor ebx, ebx
pop ecx
cmp eax, ebx
je 0x412642
mov edi, eax
call fcn.004126e6
mov esi, eax
jmp 0x412644
xor esi, esi
or edi, 0xffffffff
push edi
push ebx
lea eax, [ebp + 0x24]
push eax
lea ecx, [esi + 0x1c]
call fcn.00401c53
push edi
push ebx
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.00401c53
push edi
push ebx
lea eax, [ebp + 0x40]
push eax
lea ecx, [esi + 0x38]
call fcn.00401c53
push edi
push ebx
lea eax, [ebp + 0x5c]
push eax
lea ecx, [esi + 0x70]
call fcn.00401c53
call fcn.0040bc5f
mov edx, eax
lea ecx, [ebp - 0x28]
call fcn.00412dcd
push edi
push ebx
push eax
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 4
call fcn.00401c53
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x28]
call fcn.00401d02
push esi
push ebx
push 0x412712
call fcn.0041927c
add esp, 0xc
push ebx
push edi
lea ecx, [ebp + 8]
call fcn.00401d02
push ebx
push edi
lea ecx, [ebp + 0x24]
call fcn.00401d02
push ebx
push edi
lea ecx, [ebp + 0x40]
call fcn.00401d02
push ebx
push edi
lea ecx, [ebp + 0x5c]
call fcn.00401d02
call fcn.0041b887
ret

Function at 0x414540
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x42b5f3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x43a19c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
push ebx
call fcn.00414210
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [esp + 0x18], ebx
mov dword [ecx], 0x43ca60
or eax, 0xffffffff
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], eax
push ebx
push 0x430b17
mov byte [esp + 0x20], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], bl
mov byte [esi + 0x2c], bl
mov dword [esi + 0x30], ebx
call fcn.00415390
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x41725f
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x43ca6c], 0
push esi
jne 0x4171d2
call fcn.004170f8
test eax, eax
je 0x417215
mov eax, dword [0x43ca6c]
cmp eax, 1
jne 0x4171f3
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x417215
pop esi
ret
push eax
call dword [0x43ca74]
test eax, eax
jne 0x41725d
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x417219
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x43ca6c]
call dword [0x43ca74]
mov edi, eax
test edi, edi
je 0x41723e
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x41725a
mov edi, esi
add esi, 0xff0
push edi
push dword [0x43ca6c]
call dword [0x43ca70]
add edi, 0x10
cmp edi, esi
jb 0x417246
mov eax, edi
pop edi
pop esi
ret
jmp 0x4171bf
Function at 0x41758d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43a19c]
jne 0x417597
repz ret
jmp fcn.0041b8aa

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x41dd90
call fcn.0041ba05
mov dword [eax], esi
call fcn.0041b9f2
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0041946c
add esp, 0x14
push 0x16
pop eax
jmp 0x41dde5
test dword [ebp + 0xc], 0xfffffff9
jne 0x41dd6c
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41ddbd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0041ba18
pop ecx
call fcn.0041b9f2
mov eax, dword [eax]
jmp 0x41dde5
test al, 0x10
jne 0x41dde3
test al, 1
je 0x41dde3
test byte [ebp + 0xc], 2
je 0x41dde3
call fcn.0041ba05
mov dword [eax], 5
call fcn.0041b9f2
mov dword [eax], 0xd
jmp 0x41ddb4
xor eax, eax
pop esi
pop ebp
ret

Function at 0x425cc5
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0041cea0
and dword [ebp - 4], 0
cmp dword [0x43d4ec], 0
mov ebx, eax
jne 0x425d76
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x425e27
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x425e27
push eax
call fcn.0041ce2e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x43d4ec], eax
call esi
push eax
call fcn.0041ce2e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43d4f0], eax
call esi
push eax
call fcn.0041ce2e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x43d4f4], eax
call esi
push eax
call fcn.0041ce2e
pop ecx
mov dword [0x43d4fc], eax
test eax, eax
je 0x425d76
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041ce2e
pop ecx
mov dword [0x43d4f8], eax
mov eax, dword [0x43d4f8]
cmp eax, ebx
je 0x425dce
cmp dword [0x43d4fc], ebx
je 0x425dce
push eax
call fcn.0041cea9
push dword [0x43d4fc]
mov esi, eax
call fcn.0041cea9
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x425dce
test edi, edi
je 0x425dce
call esi
test eax, eax
je 0x425dc5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x425dc5
test byte [ebp - 0xc], 1
jne 0x425dce
or dword [ebp + 0x10], 0x200000
jmp 0x425e07
mov eax, dword [0x43d4f0]
cmp eax, ebx
je 0x425e07
push eax
call fcn.0041cea9
pop ecx
test eax, eax
je 0x425e07
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x425e07
mov eax, dword [0x43d4f4]
cmp eax, ebx
je 0x425e07
push eax
call fcn.0041cea9
pop ecx
test eax, eax
je 0x425e07
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43d4ec]
call fcn.0041cea9
pop ecx
test eax, eax
je 0x425e27
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x425e29
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret