joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414000
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x4b1570]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x22c], ecx
mov ecx, dword [ebp - 0x22c]
call fcn.00414590
test eax, eax
jne 0x41402f
xor eax, eax
jmp 0x4141df
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x198]
push ecx
mov ecx, dword [ebp - 0x22c]
call fcn.004144e0
test eax, eax
jne 0x414050
xor eax, eax
jmp 0x4141df
push 0x480378
mov edx, dword [ebp + 8]
push edx
call fcn.00460930
add esp, 8
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
jne 0x414077
xor eax, eax
jmp 0x4141df
lea eax, [ebp - 0x198]
push eax
push 0
push str.COMMENT
call dword [0x47f380]
push 1
mov ecx, dword [ebp - 0x22c]
add ecx, 0x74
call fcn.0044150e
mov dword [ebp - 0x19c], 0
jmp 0x4140b6
mov ecx, dword [ebp - 0x19c]
add ecx, 1
mov dword [ebp - 0x19c], ecx
push 0
push 0
push 0x1004
mov edx, dword [ebp - 0x22c]
mov eax, dword [edx + 0x94]
push eax
call dword [0x47f54c]
cmp dword [ebp - 0x19c], eax
jge 0x4141bb
push 0x80
push 0
lea ecx, [ebp - 0x88]
push ecx
call fcn.00460350
add esp, 0xc
push 8
lea edx, [ebp - 0x88]
push edx
push 1
mov eax, dword [ebp - 0x19c]
push eax
mov ecx, dword [ebp - 0x22c]
add ecx, 0x74
call fcn.00449074
push 0x78
lea ecx, [ebp - 0x80]
push ecx
push 2
mov edx, dword [ebp - 0x19c]
push edx
mov ecx, dword [ebp - 0x22c]
add ecx, 0x74
call fcn.00449074
mov eax, dword [ebp - 0x8c]
push eax
push 0x80
push 1
lea ecx, [ebp - 0x88]
push ecx
call fcn.00463cef
add esp, 0x10
mov dword [ebp - 0x1a0], eax
cmp dword [ebp - 0x1a0], 0x80
je 0x414173
mov edx, dword [ebp - 0x8c]
push edx
call fcn.004607f0
add esp, 4
xor eax, eax
jmp 0x4141df
push 0x81
lea eax, [ebp - 0x228]
push eax
push 4
mov ecx, dword [ebp - 0x19c]
push ecx
mov ecx, dword [ebp - 0x22c]
add ecx, 0x74
call fcn.00449074
lea edx, [ebp - 0x198]
push edx
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x88]
push ecx
push str.COMMENT
call dword [0x47f384]
jmp 0x4140a7
mov edx, dword [ebp - 0x8c]
push edx
call fcn.004607f0
add esp, 4
mov eax, dword [ebp - 0x22c]
mov dword [eax + 0xcc], 0
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460142
mov esp, ebp
pop ebp
ret 4
Function at 0x4141f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x4b1570]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x238], ecx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x1a0]
push ecx
mov ecx, dword [ebp - 0x238]
call fcn.004144e0
test eax, eax
jne 0x41422a
xor eax, eax
jmp 0x41441a
push 0x480bcc
mov edx, dword [ebp + 8]
push edx
call fcn.00460930
add esp, 8
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
jne 0x414251
xor eax, eax
jmp 0x41441a
push 0x80
push 0
lea eax, [ebp - 0x88]
push eax
call fcn.00460350
add esp, 0xc
push 0
push 0
push 0x1009
mov ecx, dword [ebp - 0x238]
mov edx, dword [ecx + 0x94]
push edx
call dword [0x47f54c]
mov dword [ebp - 4], 0
mov byte [ebp - 0x94], 0
xor eax, eax
mov dword [ebp - 0x93], eax
mov word [ebp - 0x8f], ax
mov byte [ebp - 0x8d], al
mov ecx, dword [ebp - 0x8c]
push ecx
push 0x80
push 1
lea edx, [ebp - 0x88]
push edx
call fcn.004637db
add esp, 0x10
cmp eax, 0x80
jne 0x4143f6
mov eax, dword [ebp - 4]
push eax
push 0x47fa8c
lea ecx, [ebp - 0x94]
push ecx
call fcn.00460196
add esp, 0xc
mov edx, dword [ebp - 4]
mov dword [ebp - 0x234], edx
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x94]
push eax
mov ecx, dword [ebp - 0x234]
push ecx
push 1
mov ecx, dword [ebp - 0x238]
add ecx, 0x74
call fcn.00449246
mov dword [ebp - 0x1a4], eax
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 0x1a4], 0
jl 0x4143f1
lea eax, [ebp - 0x88]
push eax
push 1
mov ecx, dword [ebp - 0x1a4]
push ecx
mov ecx, dword [ebp - 0x238]
add ecx, 0x74
call fcn.00449049
lea edx, [ebp - 0x80]
push edx
push 2
mov eax, dword [ebp - 0x1a4]
push eax
mov ecx, dword [ebp - 0x238]
add ecx, 0x74
call fcn.00449049
lea ecx, [ebp - 0x80]
push ecx
call fcn.0045fcf0
add esp, 4
push eax
push 0x47fa8c
lea edx, [ebp - 0x94]
push edx
call fcn.00460196
add esp, 0xc
lea eax, [ebp - 0x94]
push eax
push 3
mov ecx, dword [ebp - 0x1a4]
push ecx
mov ecx, dword [ebp - 0x238]
add ecx, 0x74
call fcn.00449049
lea edx, [ebp - 0x1a0]
push edx
push 0x81
lea eax, [ebp - 0x230]
push eax
push 0x47f760
lea ecx, [ebp - 0x88]
push ecx
push str.COMMENT
call dword [0x47f378]
lea edx, [ebp - 0x230]
push edx
push 4
mov eax, dword [ebp - 0x1a4]
push eax
mov ecx, dword [ebp - 0x238]
add ecx, 0x74
call fcn.00449049
jmp 0x4142a6
mov ecx, dword [ebp - 0x8c]
push ecx
call fcn.004607f0
add esp, 4
mov edx, dword [ebp - 0x238]
mov dword [edx + 0xcc], 0
mov eax, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00460142
mov esp, ebp
pop ebp
ret 4
Function at 0x415f90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x479908
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4b1570]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x18]
call fcn.004028e0
mov dword [ebp - 4], 0
push 0x4d60e8
call fcn.0045fcf0
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movsx ecx, byte [eax + 0x4d60e7]
cmp ecx, 0x5c
jne 0x416000
push str.PCLoader.ini
push 0x4d60e8
push str._s_s
lea edx, [ebp - 0x18]
push edx
call fcn.004023c0
add esp, 0x10
jmp 0x41601b
push str.PCLoader.ini
push 0x4d60e8
push 0x481b04
lea eax, [ebp - 0x18]
push eax
call fcn.004023c0
add esp, 0x10
push 0x480378
push 0
lea ecx, [ebp - 0x18]
call fcn.00407de0
push eax
call fcn.00460930
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x416057
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00401fc0
mov eax, dword [ebp - 0x1c]
jmp 0x416094
mov ecx, dword [ebp - 0x10]
push ecx
push 0x2ffa
push 1
push 0x4d6180
call fcn.00463cef
add esp, 0x10
mov edx, dword [ebp - 0x10]
push edx
call fcn.004607f0
add esp, 4
mov dword [ebp - 0x20], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00401fc0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4160b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x479938
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4b1570]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x18]
call fcn.004028e0
mov dword [ebp - 4], 0
push 0x2ffa
push 0
push 0x4d6180
call fcn.00460350
add esp, 0xc
mov byte [0x4d9177], 0
mov byte [0x4d9178], 6
push 0x4d60e8
call fcn.0045fcf0
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movsx ecx, byte [eax + 0x4d60e7]
cmp ecx, 0x5c
jne 0x416142
push str.PCLoader.ini
push 0x4d60e8
push str._s_s
lea edx, [ebp - 0x18]
push edx
call fcn.004023c0
add esp, 0x10
jmp 0x41615d
push str.PCLoader.ini
push 0x4d60e8
push 0x481b04
lea eax, [ebp - 0x18]
push eax
call fcn.004023c0
add esp, 0x10
push 0x480bcc
push 0
lea ecx, [ebp - 0x18]
call fcn.00407de0
push eax
call fcn.00460930
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4161d8
push 2
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00463a83
add esp, 0xc
mov edx, dword [ebp - 0x10]
push edx
call fcn.0046398e
add esp, 4
cmp eax, 0x2ffa
jne 0x4161cc
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
call fcn.00463a83
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push ecx
push 0x2ffa
push 1
push 0x4d6180
call fcn.004637db
add esp, 0x10
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x10]
push edx
call fcn.004607f0
add esp, 4
movzx eax, byte [0x4d9178]
cmp eax, 1
jg 0x4161ed
mov byte [0x4d617e], 4
jmp 0x416209
movzx ecx, byte [0x4d9178]
cmp ecx, 4
jg 0x416202
mov byte [0x4d617e], 2
jmp 0x416209
mov byte [0x4d617e], 1
mov dword [ebp - 0x1c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00401fc0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x422500
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47a4a3
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4b1570]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x34]
call fcn.0044854e
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x34]
mov dword [eax], vtable.CMemDC.0
mov ecx, dword [ebp - 0x34]
add ecx, 0x10
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov dword [edx], vtable.CGdiObject.0
mov eax, dword [ebp - 0x18]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x18]
mov dword [ecx], vtable.CBitmap.0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp + 8]
mov dword [edx + 0x1c], eax
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x18], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x1c], eax
xor ecx, ecx
cmp dword [ebp - 0x1c], 0
sete cl
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x30], ecx
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x30], 0
je 0x42267f
mov ecx, dword [ebp - 0x34]
add ecx, 0x20
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x50]
call edx
cmp dword [ebp + 8], 0
jne 0x4225c4
mov dword [ebp - 0x38], 0
jmp 0x4225cd
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
push edx
call dword [0x47f0e4]
push eax
mov ecx, dword [ebp - 0x34]
call fcn.00448a5c
mov eax, dword [ebp - 0x34]
add eax, 0x20
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x20]
mov eax, dword [ecx + 0xc]
sub eax, dword [edx + 4]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x34]
add ecx, 0x20
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x28]
mov ecx, dword [edx + 8]
sub ecx, dword [eax]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
call dword [0x47f0e8]
push eax
mov ecx, dword [ebp - 0x34]
add ecx, 0x10
call fcn.00448d0d
mov eax, dword [ebp - 0x34]
add eax, 0x10
mov dword [ebp - 0x30], eax
jne 0x422644
mov dword [ebp - 0x3c], 0
jmp 0x42264d
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 4]
push edx
call fcn.00448d92
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x18], eax
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x24]
push eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x20]
push edx
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x34]
call fcn.00448662
jmp 0x4226a3
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x401ac1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42f090]
jne 0x401acb
repz ret
jmp fcn.00402cc8

Function at 0x40b7ed
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.00404b39
and dword [ebp - 4], 0
cmp dword [0x433ac0], 0
mov ebx, eax
jne 0x40b89e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b94f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40b94f
push eax
call fcn.00404ac7
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x433ac0], eax
call esi
push eax
call fcn.00404ac7
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x433ac4], eax
call esi
push eax
call fcn.00404ac7
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x433ac8], eax
call esi
push eax
call fcn.00404ac7
pop ecx
mov dword [0x433ad0], eax
test eax, eax
je 0x40b89e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404ac7
pop ecx
mov dword [0x433acc], eax
mov eax, dword [0x433acc]
cmp eax, ebx
je 0x40b8f6
cmp dword [0x433ad0], ebx
je 0x40b8f6
push eax
call fcn.00404b42
push dword [0x433ad0]
mov esi, eax
call fcn.00404b42
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b8f6
test edi, edi
je 0x40b8f6
call esi
test eax, eax
je 0x40b8ed
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b8ed
test byte [ebp - 0xc], 1
jne 0x40b8f6
or dword [ebp + 0x10], 0x200000
jmp 0x40b92f
mov eax, dword [0x433ac4]
cmp eax, ebx
je 0x40b92f
push eax
call fcn.00404b42
pop ecx
test eax, eax
je 0x40b92f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b92f
mov eax, dword [0x433ac8]
cmp eax, ebx
je 0x40b92f
push eax
call fcn.00404b42
pop ecx
test eax, eax
je 0x40b92f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x433ac0]
call fcn.00404b42
pop ecx
test eax, eax
je 0x40b94f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b951
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40da3b
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
mov eax, dword [0x42f090]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
cmp dword [0x1baa124], 0x930
jne 0x40da70
push str.vacejazulufapesu
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
cmp dword [0x1baa124], 0x114e
mov eax, dword [ebp + 8]
mov dword [0x1ba9e40], eax
jne 0x40daa7
push esi
lea eax, [ebp - 0x804]
push eax
push esi
call sub.KERNEL32.dll_VerLanguageNameW
lea eax, [ebp - 0x820]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00401ac1
leave
ret
Function at 0x40dac3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
xor esi, esi
cmp dword [ebp + 0xc], esi
jle 0x40db04
and dword [ebp - 4], 0
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
call fcn.0040dab4
pop ecx
mov eax, dword [ebp - 8]
add eax, 0x46
mov dword [ebp - 4], eax
sub dword [ebp - 4], 0xa
nop
sub dword [ebp - 4], 0x3c
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 4]
add eax, esi
xor byte [eax], cl
inc esi
cmp esi, dword [ebp + 0xc]
jl 0x40dad0
cmp dword [ebp + 0xc], 0x2d
pop esi
jne 0x40db1c
or dword [0x1baa134], 0xffffffff
mov dword [0x1baa130], 0xa62e7790
leave
ret
Function at 0x4088ec
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.0040d86b
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.0040d86b
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 0xc], 0
jne 0x408982
mov dword [ebp - 0x18], esp
mov eax, 0xe
call fcn.0040d87d
cmp dword [ebp - 0x18], esp
je 0x40897f
push 6
call fcn.0040d871
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 0x18], esp
push dword [ebp + 8]
push 0
push 0x1f0fff
mov eax, 0xf
call fcn.0040d87d
cmp dword [ebp - 0x18], esp
je 0x4089ae
push 6
call fcn.0040d871
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], esp
lea eax, [ebp - 8]
push eax
push 0xf01ff
push dword [ebp - 4]
mov eax, 0x10
call fcn.0040d87d
cmp dword [ebp - 0x18], esp
je 0x4089dc
push 6
call fcn.0040d871
add esp, 4
mov dword [ebp - 0x18], esp
push dword [ebp - 0xc]
push str.SeDebugPrivilege
push 0
mov eax, 0x11
call fcn.0040d87d
cmp dword [ebp - 0x18], esp
je 0x408a08
push 6
call fcn.0040d871
add esp, 4
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 2
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov dword [ebp - 0x18], esp
push 0
push 0
push 0
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
mov eax, 0x12
call fcn.0040d87d
cmp dword [ebp - 0x18], esp
je 0x408a97
push 6
call fcn.0040d871
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 4]
mov eax, 0x13
call fcn.0040d87d
cmp dword [ebp - 0x18], esp
je 0x408abc
push 6
call fcn.0040d871
add esp, 4
mov eax, dword [ebp - 0x14]
jmp 0x408ac4
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.0040d85f
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.0040d85f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8
Function at 0x41a3d0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b529b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004a8f2a
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41a452
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004a5d51
mov eax, dword [eax]
push 0x5f9210
push eax
call fcn.00497924
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004a91b5
test bl, bl
je 0x41a452
push 0x5f9210
lea ecx, [esp + 0xc]
call fcn.004a9545
push 0x5fcd94
lea ecx, [esp + 0xc]
call fcn.004a9545
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x41a48e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004a91b5
jmp 0x41a559
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x41a512
lea edx, [esp + 0x7c]
push 0x5fcd90
push edx
call fcn.00497924
add esp, 8
test eax, eax
je 0x41a512
lea eax, [esp + 0x7c]
push 0x5fcd8c
push eax
call fcn.00497924
add esp, 8
test eax, eax
je 0x41a512
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41a4a2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004a91b5
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x41ad50
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x41adb2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x41adc0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b531b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x60a3a0]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x41aef8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x41ae26
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a91b5
xor eax, eax
jmp 0x41af6f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004a92f2
push esi
lea ecx, [esp + 0xc]
call fcn.004a9581
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41af4d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0041ad50
test eax, eax
jne 0x41af4d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.0041ad50
test eax, eax
jne 0x41af4d
lea eax, [esp + 0x14]
push 0x5fcda8
push eax
call fcn.00498a30
mov esi, eax
add esp, 8
test esi, esi
jne 0x41af2c
lea ecx, [esp + 0x14]
push 0x5fcda4
push ecx
call fcn.004989b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41af2c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41af2f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004a92a2
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41ae3e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a91b5
xor eax, eax
jmp 0x41af6f
mov byte [esi], 0
push 0x5fcda0
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004a91b5
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4