joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424040
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0x350
push ebx
push ebp
push esi
mov esi, dword [esp + 0x360]
push edi
xor edi, edi
mov dword [esp + 0x14], ecx
push esi
mov dword [esp + 0x14], edi
call fcn.0040c9d0
add esp, 4
test eax, eax
je 0x42420e
mov ebx, dword [esp + 0x368]
test ebx, ebx
je 0x42420e
mov edi, dword [sym.imp.KERNEL32.DLL_lstrcpyA]
lea eax, [esp + 0x18]
push esi
push eax
call edi
lea ecx, [esp + 0x18]
push 0x104
push ecx
call fcn.0040ce70
mov ebp, dword [sym.imp.KERNEL32.DLL_lstrcatA]
add esp, 8
lea edx, [esp + 0x18]
push ebx
push edx
call ebp
lea eax, [esp + 0x220]
lea ecx, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x424137
call fcn.004246e0
lea edx, [esp + 0x11c]
push esi
push edx
call edi
lea eax, [esp + 0x11c]
push 0x104
push eax
call fcn.0040ce70
add esp, 8
lea ecx, [esp + 0x24c]
lea edx, [esp + 0x11c]
push ecx
push edx
call ebp
test byte [esp + 0x220], 0x10
jne 0x42411d
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x11c]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test eax, eax
jl 0x42411d
inc dword [esp + 0x10]
lea eax, [esp + 0x220]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x4240c3
push ebx
call dword [sym.imp.KERNEL32.DLL_FindClose]
lea ecx, [esp + 0x18]
push esi
push ecx
call edi
lea edx, [esp + 0x18]
push 0x104
push edx
call fcn.0040ce70
add esp, 8
lea eax, [esp + 0x18]
push 0x42b1bc
push eax
call ebp
lea ecx, [esp + 0x220]
lea edx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4241fd
call fcn.004246e0
test byte [esp + 0x220], 0x10
je 0x4241e3
cmp byte [esp + 0x24c], 0x2e
je 0x4241e3
lea eax, [esp + 0x11c]
push esi
push eax
call edi
lea ecx, [esp + 0x11c]
push 0x104
push ecx
call fcn.0040ce70
add esp, 8
lea edx, [esp + 0x24c]
lea eax, [esp + 0x11c]
push edx
push eax
call ebp
mov ecx, dword [esp + 0x368]
lea edx, [esp + 0x11c]
push ecx
mov ecx, dword [esp + 0x18]
push edx
call fcn.00424040
add dword [esp + 0x10], eax
lea eax, [esp + 0x220]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x42417b
push ebx
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x350
ret 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x350
ret 8

Function at 0x432000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
mov ecx, 0x58286c74
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
mov ecx, 0x388c5acd
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43206c
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x402dd0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x23c
push ebx
push ebp
push esi
push edi
mov edi, str.DIALOG
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x14c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14c]
push ecx
push 0x65
push 0
call dword [0x406590]
lea edx, [esp + 0x14c]
mov esi, eax
push edx
push 0x66
push 0
call dword [0x406590]
push esi
push 0
mov edi, eax
call dword [0x406568]
push edi
push 0
mov ebx, eax
call dword [0x406568]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
call ebx
push ebp
mov dword [esp + 0x14], eax
call ebx
push esi
push 0
mov ebp, eax
call dword [0x406594]
push edi
push 0
mov ebx, eax
call dword [0x406594]
mov esi, eax
add esi, ebx
lea eax, [esi + 2]
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov cl, byte [0x406020]
mov edi, eax
add esp, 4
xor eax, eax
test esi, esi
jle 0x402eb3
mov edx, dword [esp + 0x10]
dec ebp
dec edx
mov ebx, eax
and ebx, 0x80000001
jns 0x402e9b
dec ebx
or ebx, 0xfffffffe
inc ebx
jne 0x402ea4
inc edx
mov bl, cl
xor bl, byte [edx]
jmp 0x402eaa
mov bl, byte [ebp + 1]
inc ebp
xor bl, cl
mov byte [eax + edi + 2], bl
inc eax
cmp eax, esi
jl 0x402e8c
test edi, edi
mov byte [edi], 0x4d
mov byte [edi + 1], 0x5a
je 0x402f53
lea eax, [esp + 0x10]
lea ecx, [esp + 0x6c]
push eax
lea edx, [esp + 0x18]
push ecx
lea eax, [esp + 0x34]
push edx
push eax
push edi
call fcn.00401fd0
add esp, 0x14
test al, al
je 0x402f53
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x6c]
push ecx
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x34]
push eax
push ecx
call fcn.00401c30
add esp, 0x10
mov ebx, eax
push 0x40
push 0x1000
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
je 0x402f53
mov edx, dword [esp + 0x10]
push esi
lea eax, [esp + 0x70]
push edx
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x38]
push ecx
push edx
push edi
call fcn.00401d40
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x84]
push eax
push ebx
push esi
lea edx, [esp + 0x38]
push ecx
lea eax, [esp + 0x54]
push edx
push eax
call fcn.004020c0
add esp, 0x30
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x23c
ret

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x42e01e
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x55952b82
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x4a74152a
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x110614a
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, edx
test ecx, ecx
jne 0x1106155
xor eax, eax
pop edi
ret
push esi
not eax
mov edx, 0xff
cmp edi, 8
jb 0x1106207
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4266f8]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4266f8]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4266f8]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4266f8]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4266f8]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4266f8]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4266f8]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4266f8]
inc ecx
sub edi, 8
dec esi
jne 0x110616c
pop ebx
test edi, edi
je 0x1106220
movzx esi, byte [ecx]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x4266f8]
inc ecx
dec edi
jne 0x110620b
pop esi
not eax
pop edi
ret

Function at 0x1106225
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov eax, dword [ecx]
movsx edx, dl
xor edx, eax
push esi
mov esi, 0xff
and edx, esi
mov edx, dword [edx*4 + 0x4266f8]
shr eax, 8
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx], edx
movzx edx, dl
add edx, dword [ecx + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 4], edx
shr edx, 0x18
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x4266f8]
pop esi
mov dword [ecx + 8], eax
ret
Function at 0x437ee0
Capabilities:
Create pipe

Disassembly:
sub esp, 0x41c
mov eax, dword [0x444004]
xor eax, esp
mov dword [esp + 0x418], eax
mov eax, dword [esp + 0x420]
mov eax, dword [eax]
push ebx
mov ebx, dword [0x448b34]
push edi
mov edi, dword [0x44afb4]
call fcn.00437e50
cmp dword [0x44afb4], 0x2f
jne 0x437f74
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
lea eax, [esp + 0x2c]
push eax
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReadEventLogA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
call fcn.00437e80
mov ecx, dword [esp + 0x420]
pop edi
pop ebx
xor ecx, esp
call fcn.00401266
add esp, 0x41c
ret
Function at 0x438410
Capabilities:
Get disk information
Write file on windows

Disassembly:
sub esp, 0x41c
mov eax, dword [0x444004]
xor eax, esp
mov dword [esp + 0x418], eax
mov eax, dword [0x44afb4]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetSystemTimes]
push edi
mov ebx, 0x1519a5
mov edi, 0x8e46a7b8
lea esp, [esp]
mov dword [0x44ac1c], edi
cmp eax, 0x3dc
jne 0x43845a
push 0
push 0
push 0
call esi
mov eax, dword [0x44afb4]
dec ebx
jne 0x438440
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
xor esi, esi
jmp 0x438470
cmp eax, 0xa5f
jne 0x4384b7
xor eax, eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x24]
push edx
push eax
lea ecx, [esp + 0x30]
push ecx
push eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
call edi
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call ebx
mov eax, dword [0x44afb4]
cmp esi, 0x846143
jne 0x4384ce
mov eax, dword [0x445bf0]
add eax, 0xa231
mov dword [0x44afb4], eax
cmp eax, 0x141
jne 0x4384e9
mov dword [0x4472c0], 0xec58acac
mov dword [0x4472c4], 0xffffffff
inc esi
cmp esi, 0x12d12ba
jl 0x438470
call fcn.00437f90
mov ecx, dword [esp + 0x424]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00401266
add esp, 0x41c
ret 0x10

Function at 0x402cf5
Capabilities:
Packed with generic packer

Disassembly:
mov edi, ebp
cmp eax, edi
je 0x402d32
mov ecx, dword [eax - 0x18]
cmp eax, 0x1775e870
mov eax, dword [eax - 0x1c]
mov edx, dword [edi - 0x1c]
xor ecx, ecx
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x402d1a
inc eax
inc edx
call fcn.004047e0
je 0x402d32
mov edi, dword [edi - 0x14]
mov eax, dword [esi]
mov eax, dword [esp + 0x14]
cmp dword [eax], 0xeedface
mov edx, dword [eax + 0x18]
mov ecx, dword [eax + 0x14]
je 0x402d5c
call dword [0x40e00c]
mov edx, dword [esp + 0x1c]
call fcn.00404c4f
mov edx, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xc]
xor ebx, ebx
mov ebx, dword fs:[ebx]
push ebx
push eax
push edx
push ecx
mov edx, dword [esp + 0x28]
or dword [eax + 4], 2

Function at 0x409f18
Capabilities:
Encrypt data using rc4 prga

Disassembly:
xor ebp, ebx
sbb cl, byte [ebx - 0x187e08]
add byte [eax], al
add byte [ebx - 0x15], al
cmovae ecx, dword [edi]
mov bh, 0x3b
Function at 0x401000
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
bswap eax
sbb esi, 0x35
add edi, 0xdd
inc eax
mov edx, 0x95
or esi, 0xd6
imul edi
neg esi
inc edx
bswap edi
ror edi, 0x5e
rcr edi, 0x45
rcl eax, 0x92
bswap esi
or eax, 0x6a
neg edx
dec edx
rol ebx, 0x1c
add edx, 0x73
add edi, 0xcb
inc esi
rol ebx, 0xa9
rcl esi, 0x99
dec edi
rcr ebx, 0x16
sbb esi, 0x7c
inc eax
mov eax, 0xa0
sub eax, 0x1e
sbb edx, 0x9c
dec edx
ror ebx, 0x4b
dec ebx
rcr eax, 0xbe
ror edx, 6
sub esi, 0x1a
rol esi, 0x29
not esi
and edx, 0x22
imul ebx
rol esi, 0xcd
sub edx, 0x2a
rcr ebx, 2
or eax, 0x78
add ebx, 0xd6
dec edi
sub edi, 0xf3
sub ebx, 0x22
ror eax, 0xa7
dec esi
xor ecx, ecx
xor edi, edi
rcl ebx, 0x56
bswap esi
mov edx, 0x13
dec ebx
bswap eax
sbb edx, 0xd2
dec eax
sub eax, 0xe1
mov eax, 0x1e
neg edx
neg esi
neg edx
imul edx
rcr eax, 0x4f
ror ebx, 0x8b
not esi
neg edi
or edx, 1
mov edx, 0xb7
rol esi, 0xf4
inc edx
add eax, 0x92
dec eax
add edi, 0x20
mov edx, 0xf4
inc eax
rcl edi, 0x5b
mov eax, 0x98
bswap edx
sub eax, 0x25
bswap edi
bswap edx
rol ebx, 0x19
rcr ebx, 0x93
rcr esi, 0xc5
inc edx
imul edx
dec esi
rcr esi, 0x20
not ebx
dec edx
sub ebx, 0x61
or edi, 0x68
dec eax
sub eax, 0x6c
add eax, 0xbe
add edx, 0xda
ror eax, 0x41
ror edx, 0x1e
mov eax, 0x79
mov ecx, dword [ebp + 0xc]
rcr edx, 0x83
mov edi, 5
bswap ebx
rcl eax, 1
not ebx
inc edi
not esi
neg eax
neg ebx
mov eax, 0x6a
and edi, 0x3a
imul ebx
rol edx, 0x92
inc edx
dec edx
not esi
rcr edx, 0xa4
bswap esi
or esi, 0x99
sbb esi, 0x1a
bswap ebx
sbb eax, 3
rol esi, 0x46
or edx, 0x88
rcr esi, 0x9b
not ebx
bswap ebx
rcl edx, 0xe7
ror edx, 0x5c
not eax
add esi, 0xff
rcl eax, 0x75
inc eax
ror eax, 0x32
imul esi
dec ebx
mov esi, 0xb7
neg edx
dec edi
neg edx
mov ebx, 0x7c
ror esi, 0xc7
neg eax
sbb ebx, 0xd1
neg edx
sub esi, 0xed
sbb ebx, 0x22
sbb edi, 0x57
and edi, 0x16
not ebx
mov edi, dword [ebp + 8]
mov eax, ebx
mov ebx, eax
mov ebx, esi
xor eax, ebx
mov ebx, ebx
xor ebx, esi
xor esi, ebx
mov esi, esi
mov eax, esi
xor ebx, ebx
mov ebx, esi
xor ebx, eax
not byte [edi]
mov eax, esi
xor ebx, esi
xor ebx, eax
xor eax, esi
mov eax, eax
xor esi, esi
mov ebx, eax
mov esi, esi
xor esi, esi
add byte [edi], 0x67
xor ebx, ebx
mov eax, esi
xor esi, eax
mov eax, ebx
mov esi, ebx
mov esi, eax
xor eax, ebx
mov ebx, ebx
mov eax, esi
sub byte [edi], 0x88
xor eax, eax
xor eax, ebx
xor eax, ebx
mov esi, ebx
mov ebx, eax
mov ebx, ebx
xor eax, esi
mov esi, ebx
xor esi, eax
imul byte [edi]
inc edi
loop 0x4011c3
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x404c34
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4970f0]
jne 0x404c3e
repz ret
jmp fcn.00409135
Function at 0x4055a3
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.00402ed1
and dword [ebp - 4], 0
cmp dword [0x497df4], 0
mov ebx, eax
jne 0x405654
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x405705
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40eb90
push edi
call esi
test eax, eax
je 0x405705
push eax
call fcn.00402e5f
mov dword [esp], 0x40eb80
push edi
mov dword [0x497df4], eax
call esi
push eax
call fcn.00402e5f
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x497df8], eax
call esi
push eax
call fcn.00402e5f
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x497dfc], eax
call esi
push eax
call fcn.00402e5f
pop ecx
mov dword [0x497e04], eax
test eax, eax
je 0x405654
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402e5f
pop ecx
mov dword [0x497e00], eax
mov eax, dword [0x497e00]
cmp eax, ebx
je 0x4056ac
cmp dword [0x497e04], ebx
je 0x4056ac
push eax
call fcn.00402eda
push dword [0x497e04]
mov esi, eax
call fcn.00402eda
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4056ac
test edi, edi
je 0x4056ac
call esi
test eax, eax
je 0x4056a3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4056a3
test byte [ebp - 0xc], 1
jne 0x4056ac
or dword [ebp + 0x10], 0x200000
jmp 0x4056e5
mov eax, dword [0x497df8]
cmp eax, ebx
je 0x4056e5
push eax
call fcn.00402eda
pop ecx
test eax, eax
je 0x4056e5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4056e5
mov eax, dword [0x497dfc]
cmp eax, ebx
je 0x4056e5
push eax
call fcn.00402eda
pop ecx
test eax, eax
je 0x4056e5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x497df4]
call fcn.00402eda
pop ecx
test eax, eax
je 0x405705
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x405707
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000e700
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x1009635b
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.1008b32f
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x1000e782
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.10089241
mov eax, dword [eax]
push 0x100b2c70
push eax
call fcn.1007b4d4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.1008b5ba
test bl, bl
je 0x1000e782
push 0x100b2c70
lea ecx, [esp + 0xc]
call fcn.1008b94a
push 0x100b2c7c
lea ecx, [esp + 0xc]
call fcn.1008b94a
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 0x1000e7be
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.1008b5ba
jmp 0x1000e889
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 0x1000e842
lea edx, [esp + 0x7c]
push 0x100b2c78
push edx
call fcn.1007b4d4
add esp, 8
test eax, eax
je 0x1000e842
lea eax, [esp + 0x7c]
push 0x100b2c74
push eax
call fcn.1007b4d4
add esp, 8
test eax, eax
je 0x1000e842
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 0x1000e7d2
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.1008b5ba
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 0x1000f080
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 0x1000f0e2
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 0x1000f0f0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x100963db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x100c2050]
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 0x1000f228
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x1000f156
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.1008b5ba
xor eax, eax
jmp 0x1000f29f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.1008b6f7
push esi
lea ecx, [esp + 0xc]
call fcn.1008b986
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 0x1000f27d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.1000f080
test eax, eax
jne 0x1000f27d
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.1000f080
test eax, eax
jne 0x1000f27d
lea eax, [esp + 0x14]
push 0x100b2c8c
push eax
call fcn.1007c550
mov esi, eax
add esp, 8
test esi, esi
jne 0x1000f25c
lea ecx, [esp + 0x14]
push 0x100b2c88
push ecx
call fcn.1007c4d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x1000f25c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x1000f25f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.1008b6a7
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x1000f16e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.1008b5ba
xor eax, eax
jmp 0x1000f29f
mov byte [esi], 0
push 0x100b2c84
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.1008b5ba
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