joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4585d0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebx
push esi
push edi
xor edi, edi
xor esi, esi
jmp 0x4585e0
movzx edx, byte [esi + str.cw]
mov eax, edx
shr eax, 7
mov ecx, eax
imul eax, eax, 0x11b
imul ecx, ecx, 0x1b000000
mov ebx, edx
shl ebx, 0x19
xor ecx, ebx
mov ebx, edx
shl ebx, 8
or ebx, edx
shl ebx, 8
or ecx, ebx
lea ebx, [edx + edx]
xor eax, ebx
xor eax, edx
or eax, ecx
xor edx, edx
xor ebx, ebx
or edx, ecx
or eax, ebx
mov dword [esi*8 + 0x602760], edx
mov dword [esi*8 + 0x602764], eax
inc esi
cmp esi, 0x100
jl 0x4585e0
mov dword [0x602f68], edi
mov dword [0x602f6c], edi
mov dword [0x602f60], edi
mov dword [0x602f64], edi
pop edi
pop esi
mov byte [0x602f7b], 1
pop ebx
ret

Function at 0x458660
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
sub esp, 0x10
push ebx
push ebp
xor eax, eax
push esi
mov dword [esp + 0x14], eax
push edi
lea ecx, [ecx]
movzx eax, byte [eax + 0x5bfeb0]
mov ebp, eax
shr ebp, 7
mov dword [esp + 0x1c], ebp
imul ebp, ebp, 0x1b000000
mov ecx, eax
shr ecx, 6
mov esi, ecx
and ecx, 1
mov dword [esp + 0x10], ecx
lea ebx, [eax + eax]
xor ebx, eax
lea ecx, [ebx + ebx]
xor ecx, eax
shl ecx, 0x19
xor ecx, ebp
and esi, 2
mov dword [esp + 0x14], esi
mov edi, eax
shr edi, 5
mov edx, edi
mov esi, edi
and edi, 1
mov ebp, edi
imul ebp, ebp, 0x1b000000
xor ecx, ebp
and esi, 2
mov ebp, esi
imul ebp, ebp, 0x1b000000
xor ecx, ebp
mov ebp, dword [esp + 0x10]
imul ebp, ebp, 0x1b000000
xor ecx, ebp
mov ebp, dword [esp + 0x14]
imul ebp, ebp, 0x1b000000
xor ecx, ebp
and edx, 4
mov ebp, edx
imul ebp, ebp, 0x1b000000
xor ecx, ebp
lea ebp, [ebx*4]
xor ebp, eax
shl ebp, 8
mov ebx, edi
imul ebx, ebx, 0x11b00
xor ebp, ebx
mov ebx, esi
imul ebx, ebx, 0x11b00
xor ebp, ebx
mov ebx, dword [esp + 0x10]
imul ebx, ebx, 0x11b00
xor ebp, ebx
mov ebx, dword [esp + 0x14]
imul ebx, ebx, 0x11b00
xor ebp, ebx
mov ebx, edx
imul ebx, ebx, 0x11b00
xor ebp, ebx
or ecx, ebp
mov ebp, edi
imul edi, edi, 0x11b
imul ebp, ebp, 0x11b0000
lea ebx, [eax*8]
xor ebx, eax
shl ebx, 0x10
xor ebx, ebp
mov ebp, esi
imul ebp, ebp, 0x11b0000
xor ebx, ebp
mov ebp, edx
imul ebp, ebp, 0x11b0000
xor ebx, ebp
or ecx, ebx
mov ebx, dword [esp + 0x1c]
imul ebx, ebx, 0x11b
lea ebp, [eax*4]
xor ebp, eax
add ebp, ebp
xor ebp, ebx
xor ebp, edi
imul esi, esi, 0x11b
imul edx, edx, 0x11b
xor ebp, esi
xor ebp, edx
xor ebp, eax
or eax, ecx
or ebp, ecx
xor edx, edx
or edx, eax
mov eax, dword [esp + 0x18]
xor ecx, ecx
or ebp, ecx
mov dword [eax*8 + 0x601f60], edx
mov dword [eax*8 + 0x601f64], ebp
inc eax
mov dword [esp + 0x18], eax
cmp eax, 0x100
jl 0x458670
pop edi
pop esi
pop ebp
mov byte [0x602f80], 1
pop ebx
add esp, 0x10
ret
Function at 0x45b090
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x58f9ba
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x5f7100]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, dword [esp + 0x38]
mov ecx, edi
call fcn.00405090
mov dword [edi + 0xc], 0xffffffff
lea eax, [edi + 0x10]
xor ebx, ebx
mov dword [esp + 0x30], ebx
push eax
mov ecx, pe_nt_image_headers32
mov dword [edi], vtable.CryptoPP::MessageQueue.0
mov dword [edi + 4], vtable.CryptoPP::MessageQueue.1.0
call fcn.00459c50
lea ecx, [esp + 0x14]
push ecx
lea edx, [edi + 0x38]
mov byte [esp + 0x34], 1
push edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
call fcn.0045b360
mov byte [esp + 0x30], 2
lea esi, [edi + 0x50]
push 8
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], esi
mov dword [esi], ebx
call fcn.0045d4b4
add esp, 4
cmp eax, ebx
je 0x45b173
push eax
push 8
mov dword [esi], eax
call fcn.00418a50
add esp, 8
cmp eax, ebx
je 0x45b13c
xor ecx, ecx
mov dword [eax], ebx
mov dword [eax + 4], ecx
mov eax, dword [esi]
mov dword [eax], esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
lea ecx, [esp + 0x10]
push ecx
push esi
mov byte [esp + 0x38], 3
call fcn.0045b980
mov eax, edi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret 4
push ebx
lea ecx, [esp + 0x20]
call fcn.00403350
push 0x5e9d24
lea edx, [esp + 0x20]
push edx
call fcn.0055fd73
int3

Function at 0x45b360
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x58e918
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5f7100]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x13]
call fcn.00425220
lea eax, [esp + 0x13]
xor edi, edi
push eax
lea ecx, [esi + 0x14]
mov dword [esi], edi
call fcn.0042f790
push 8
call fcn.0045d4b4
add esp, 4
cmp eax, edi
je 0x45b400
push eax
push 8
mov dword [esi], eax
xor ebx, ebx
call fcn.00418a50
add esp, 8
cmp eax, edi
je 0x45b3ca
mov dword [eax], edi
mov dword [eax + 4], ebx
mov ecx, dword [esi]
mov dword [ecx], esi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov edx, dword [esp + 0x34]
push edx
push esi
mov dword [esp + 0x30], edi
call fcn.0045b5b0
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 8
push edi
lea ecx, [esp + 0x18]
call fcn.00403350
push 0x5e9d24
lea eax, [esp + 0x18]
push eax
call fcn.0055fd73
int3
Function at 0x45f106
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x5f7100]
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 0x45f14b
push 0x595188
push 4
push eax
call fcn.0055e571
push eax
call fcn.00418aa0
add esp, 0x10
jmp 0x45f161
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x45f1e1
push edi
call fcn.0055efdd
mov edi, dword [eax]
call fcn.0055efdd
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.0055e52f
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.0055efdd
cmp dword [eax], 0
je 0x45f1b5
call fcn.0055efdd
push dword [eax]
call fcn.0045dc2f
pop ecx
jmp 0x45f1bc
call fcn.0055efdd
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
pop edi
je 0x45f1e1
cmp dword [ebp - 0x234], esi
jae 0x45f1e1
push 0
push 0
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x45f1e3
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0055c88f
leave
ret
Function at 0x45f70e
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x5f7100]
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.0045f682
pop ecx
cmp eax, esi
je 0x45f7f8
push str.GetThreadPreferredUILanguages
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, esi
je 0x45f7f8
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.0055ff30
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 0x45f7f8
lea edi, [ebp - 0xd0]
cmp word [ebp - 0xd0], si
je 0x45f7f8
cmp esi, 0x14
jge 0x45f7f8
push 0x10
push 0
push edi
call fcn.0056066b
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x45f7e7
call fcn.0055efdd
cmp dword [eax], 0x22
je 0x45f7e7
mov dword [ebp + esi*4 - 0x134], ebx
inc esi
push edi
call fcn.0055f65c
lea edi, [edi + eax*2 + 2]
cmp word [edi], 0
pop ecx
jne 0x45f7bd
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 [0x5fb6ac], 0
jne 0x45f883
mov dword [ebp + esi*4 - 0x134], 0x800
inc esi
xor edi, edi
test esi, esi
jle 0x45f8ac
push dword [ebp + edi*4 - 0x134]
mov ecx, dword [ebp - 0x144]
push dword [ebp - 0x13c]
call fcn.0045f106
pop ecx
pop ecx
test eax, eax
jne 0x45f8ae
inc edi
cmp edi, esi
jl 0x45f889
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0055c88f
leave
ret 8
Function at 0x4604f2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x46053a
call fcn.0046bf14
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x46053a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x46057d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x460566
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x460566
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x68], 0
je 0x46057a
mov ecx, dword [esi + 0x68]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x462174
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.0046bf14
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 0x4621ad
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.00461db0
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 0x46220b
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 0x46222f
cmp dword [edi + 0x74], 0
jne 0x46222f
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.0046bf14
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.004621cc
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 0x463b7c
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x585c2a
call fcn.0055fb9c
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x463ba1
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x463bf3
call fcn.0045d555
push eax
lea ecx, [ebp - 0x10]
call fcn.0042f470
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.0055fca6
push eax
call fcn.00418aa0
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.00401df0
mov eax, esi
call fcn.0055fc74
ret 8

Function at 0x46a8d1
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 0x46a918
call fcn.0046bf14
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x46a918
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x46a934
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0046a3d1
mov esi, eax
test edi, edi
je 0x46a932
test ebx, ebx
je 0x46a932
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x46c2f3
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.0046bf97
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x46c33d
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0045efff
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00421a20
jmp 0x46c348
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00475bc8
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x46c34e
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.004633fb
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 0x46c38b
call fcn.0046bf97
mov dword [esi + 0xc], 1
jmp 0x46c390
call fcn.0046bf97
cmp dword [esi], 0
je 0x46c3d9
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x46c3b1
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0045efff
jmp 0x46c3c3
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.004019c0
push pe_nt_image_headers32
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00421a20
jmp 0x46c3fd
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 0x46c3fd
push dword [esi]
push dword [ebp + 8]
call fcn.00475bc8
pop esi
pop ebp
ret 0xc

Function at 0x473efa
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5f7100]
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 0x473f2f
xor eax, eax
jmp 0x473f82
lea eax, [ebp - 0x210]
push eax
call fcn.0055f65c
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x473f60
push 0x595bf0
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.00560685
add esp, 0xc
test eax, eax
jne 0x473f2b
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.00560685
add esp, 0xc
test eax, eax
jne 0x473f2b
lea eax, [ebp - 0x210]
push eax
call fcn.0045f682
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0055c88f
leave
ret
Function at 0x4af1f1
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.00534ad4
call fcn.0046b945
cmp dword [eax + 0x14], 0
jne 0x4af20e
mov ecx, esi
pop esi
jmp fcn.004aecf6
pop esi
ret

Function at 0x4b273f
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.004d1f34
call fcn.0046b945
cmp dword [eax + 0x14], 0
jne 0x4b275c
mov ecx, esi
pop esi
jmp fcn.004b2112
pop esi
ret

Function at 0x4eaba4
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 0x4eabbe
call fcn.0046bf14
mov esi, dword [eax + 0xc]
push dword [0x5ff548]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4eabdc
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 0x4eabd4
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x4eac09
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x4eabd6
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.004eaad2
mov esi, eax
jmp 0x4eabfb

Function at 0x53dfb9
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 0x53dfd1
mov edi, dword [esi + 0xc]
jmp 0x53e011
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x53dfea
call fcn.0046d094
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x53dfff
call fcn.0046d094
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x53e011
call fcn.0046d094
call fcn.0046bf14
cmp dword [eax + 0x3c], 0
je 0x53e026
push edi
mov ecx, ebx
call fcn.0053ce6d
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.0053ded3
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x53e044
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x53e050
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 0x55c88f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5f7100]
jne 0x55c899
repz ret
jmp fcn.00565554
Function at 0x571ef8
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5f7100]
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.00564f7b
and dword [ebp - 0x14], 0
cmp dword [0x601b70], 0
mov dword [ebp - 0x18], eax
jne 0x571fab
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x572053
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x5bd4b8
push ebx
call edi
test eax, eax
je 0x572053
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x5bd4a8
push ebx
mov dword [0x601b70], eax
call edi
push eax
call esi
push 0x5bd494
push ebx
mov dword [0x601b74], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x601b78], eax
call edi
push eax
call esi
mov dword [0x601b80], eax
test eax, eax
je 0x571fab
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x601b7c], eax
mov eax, dword [0x601b7c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x572004
cmp dword [0x601b80], ecx
je 0x572004
push eax
call esi
push dword [0x601b80]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x572004
test ebx, ebx
je 0x572004
call edi
test eax, eax
je 0x571ffb
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x571ffb
test byte [ebp - 8], 1
jne 0x572004
or dword [ebp + 0x10], 0x200000
jmp 0x572037
mov eax, dword [0x601b74]
cmp eax, dword [ebp - 0x18]
je 0x572037
push eax
call esi
test eax, eax
je 0x572037
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x572037
mov eax, dword [0x601b78]
cmp eax, dword [ebp - 0x18]
je 0x572037
push eax
call esi
test eax, eax
je 0x572037
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x601b70]
call esi
test eax, eax
je 0x572053
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x572055
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0055c88f
leave
ret
Function at 0x401010
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x1c
xor eax, eax
cmp word [0x400000], 0x5a4d
mov dword [0x40e064], 1
mov dword [0x40e060], 1
mov dword [0x40e05c], 1
mov dword [0x40e054], 1
jne 0x401060
mov edx, dword [0x40003c]
cmp dword [edx + 0x400000], 0x4550
lea ecx, [edx + 0x400000]
je 0x4010c0
mov dword [0x40e014], eax
mov eax, dword [0x40e070]
test eax, eax
je 0x4010b0
mov dword [esp], 2
call sym.___set_app_type
call sym.___p__fmode
mov edx, dword [0x40e084]
mov dword [eax], edx
call sym.___p__commode
mov edx, dword [0x40e06c]
mov dword [eax], edx
call sym.__setargv
cmp dword [0x40a010], 1
je 0x4010f0
xor eax, eax
add esp, 0x1c
ret
mov dword [esp], 1
call sym.___set_app_type
jmp 0x40107a
movzx edx, word [ecx + 0x18]
cmp dx, 0x10b
je 0x401108
cmp dx, 0x20b
jne 0x401060
cmp dword [ecx + 0x84], 0xe
jbe 0x401060
mov edx, dword [ecx + 0xf8]
xor eax, eax
test edx, edx
setne al
jmp 0x401060
mov dword [esp], sym.__matherr
call sym.___mingw_setusermatherr
xor eax, eax
add esp, 0x1c
ret
cmp dword [ecx + 0x74], 0xe
jbe 0x401060
mov ecx, dword [ecx + 0xe8]
xor eax, eax
test ecx, ecx
setne al
jmp 0x401060

Function at 0x401830
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call sym.___acrt_iob_func
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sym._fwrite
mov dword [esp], 2
call sym.___acrt_iob_func
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._vfprintf
call sym._abort
lea esi, [esi]