joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402480
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46f0c8]
jne 0x40248a
repz ret
jmp fcn.00405f6e

Function at 0x405b94
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.00402f09
and dword [ebp - 4], 0
cmp dword [0x470a28], 0
mov ebx, eax
jne 0x405c45
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x405cf6
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x405cf6
push eax
call fcn.00402e97
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x470a28], eax
call esi
push eax
call fcn.00402e97
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x470a2c], eax
call esi
push eax
call fcn.00402e97
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x470a30], eax
call esi
push eax
call fcn.00402e97
pop ecx
mov dword [0x470a38], eax
test eax, eax
je 0x405c45
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402e97
pop ecx
mov dword [0x470a34], eax
mov eax, dword [0x470a34]
cmp eax, ebx
je 0x405c9d
cmp dword [0x470a38], ebx
je 0x405c9d
push eax
call fcn.00402f12
push dword [0x470a38]
mov esi, eax
call fcn.00402f12
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x405c9d
test edi, edi
je 0x405c9d
call esi
test eax, eax
je 0x405c94
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x405c94
test byte [ebp - 0xc], 1
jne 0x405c9d
or dword [ebp + 0x10], 0x200000
jmp 0x405cd6
mov eax, dword [0x470a2c]
cmp eax, ebx
je 0x405cd6
push eax
call fcn.00402f12
pop ecx
test eax, eax
je 0x405cd6
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x405cd6
mov eax, dword [0x470a30]
cmp eax, ebx
je 0x405cd6
push eax
call fcn.00402f12
pop ecx
test eax, eax
je 0x405cd6
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x470a28]
call fcn.00402f12
pop ecx
test eax, eax
je 0x405cf6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x405cf8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41f993
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41f9d2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41f9d2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41f9d2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41f9d2
cmp dword [ecx + 0x74], 0xe
jbe 0x41f9d2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x432150
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43217d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43217d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40915c
nop
nop
mov ecx, 0x5c443b58
nop
test eax, eax
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x431024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x31ed1450
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x431084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
popal
nop
nop
jmp 0x401219

Function at 0x401ca0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
push esi
push edi
enter 0x84, 0
sub ebp, 0x82
mov esi, eax
mov edx, dword [0x404080]
or dl, 1
imul edx, eax
mov eax, dword [0x404080]
sub eax, edx
mov ebx, esi
mov edx, eax
mov eax, 0x404084
call fcn.00401be9
xor eax, eax
mov dword [ebp + 0x7e], eax
lea eax, [ebp + 0x7e]
push eax
mov eax, esi
or al, 0x40
mov edi, 0x4034ed
push eax
sub edi, fcn.00402c97
push edi
push fcn.00402c97
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp + 0x7e], 0
je 0x401d1c
mov eax, fcn.00402c97
mov ebx, esi
mov edx, edi
call fcn.00401be9
mov edx, 0x1c000
mov eax, 0x404084
mov ebx, esi
call section.AUTO
lea edx, [ebp - 2]
mov eax, esi
mov dword [ebp - 2], 1
call fcn.0040189e
lea edx, [esi + 0x1c000]
add edx, esi
lea eax, [esi - 1]
lea ebx, [ebp - 2]
and eax, 0x404084
call fcn.00402c97
lea esp, [ebp + 0x82]
pop ebp
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret

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

Disassembly:
pushal
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x4041b8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, ecx
mov dword [eax], ebx
mov dword [ebp - 4], edx
lea eax, [edi + 0xf]
lea ecx, [esi + 0xf]
cmp esi, eax
ja 0x404141
cmp ecx, edi
jb 0x404141
mov ecx, esi
sub edi, esi
mov edx, 0x10
mov edi, edi
mov al, byte [edi + ecx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
dec edx
jne 0x404130
mov edx, dword [ebp - 4]
jmp 0x404151
movdqu xmm1, xmmword [esi]
movdqu xmm0, xmmword [edi]
pxor xmm1, xmm0
movdqu xmmword [esi], xmm1
mov eax, dword [ebp + 0xc]
cmp edx, 0x10
jbe 0x4041ba
lea edi, [edx - 0x11]
shr edi, 4
inc edi
mov dword [ebp + 0x14], edi
push eax
push ebx
push esi
call fcn.00401c20
mov edx, ebx
add esi, 0x10
add esp, 0xc
add ebx, 0x10
lea eax, [edx + 0xf]
cmp esi, eax
ja 0x4041a1
lea eax, [esi + 0xf]
cmp eax, edx
jb 0x4041a1
mov eax, esi
sub edx, esi
mov edi, 0x10
lea ecx, [ecx]
mov cl, byte [eax + edx]
lea eax, [eax + 1]
xor byte [eax - 1], cl
dec edi
jne 0x404190
mov edi, dword [ebp + 0x14]
jmp 0x4041b1
movdqu xmm1, xmmword [esi]
movdqu xmm0, xmmword [edx]
pxor xmm1, xmm0
movdqu xmmword [esi], xmm1
mov eax, dword [ebp + 0xc]
dec edi
mov dword [ebp + 0x14], edi
jne 0x404163
push eax
push ebx
push esi
call fcn.00401c20
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x5d4c67e4
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x3c9c034a
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x405772
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, ebx
and eax, 4
push edi
mov dword [ebp - 4], eax
call fcn.00405a3d
test bl, 8
mov dword [ebp - 8], eax
je 0x4057b1
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
inc eax
add dword [0x429268], eax
jmp 0x40592e
mov dword [ebp + 8], ebx
and dword [ebp + 8], 1
je 0x4057cb
test eax, eax
je 0x4058dc
test bl, 2
je 0x4058dc
mov esi, 0x4246d8
push edi
push esi
call fcn.00405eea
cmp dword [ebp + 8], 0
je 0x4057ea
push 0x409530
push esi
call sub.KERNEL32.dll_lstrcatW
jmp 0x4057f0
push edi
call fcn.00405981
cmp word [edi], 0
jne 0x405800
cmp word [0x4246d8], 0x5c
jne 0x40580b
push 0x409014
push edi
call sub.KERNEL32.dll_lstrcatW
push edi
call sub.KERNEL32.dll_lstrlenW
lea ebx, [edi + eax*2]
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4058d1
cmp word [ebp - 0x22c], 0x2e
jne 0x405855
cmp word [ebp - 0x22a], 0
je 0x4058b4
cmp word [ebp - 0x22a], 0x2e
jne 0x405855
cmp word [ebp - 0x228], 0
je 0x4058b4
lea eax, [ebp - 0x22c]
push eax
push ebx
call fcn.00405eea
test byte [ebp - 0x258], 0x10
je 0x405880
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x4058b4
push dword [ebp + 0xc]
push edi
call fcn.00405772
jmp 0x4058b4
push dword [ebp - 4]
push edi
call fcn.0040572a
test eax, eax
jne 0x4058ac
cmp dword [ebp - 4], eax
je 0x4058a4
push edi
push 0xfffffffffffffff1
call fcn.00405194
push 0
push edi
call fcn.00405d84
jmp 0x4058b4
inc dword [0x429268]
jmp 0x4058b4
push edi
push 0xfffffffffffffff2
call fcn.00405194
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40582d
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 8], 0
je 0x4058dc
and word [ebx - 2], 0
xor esi, esi
cmp dword [ebp + 8], esi
je 0x40592e
cmp dword [ebp - 8], esi
jne 0x4058f0
inc dword [0x429268]
jmp 0x40592e
push edi
call fcn.0040622d
test eax, eax
je 0x40592e
push edi
call fcn.00405935
mov eax, dword [ebp - 4]
or al, 1
push eax
push edi
call fcn.0040572a
test eax, eax
jne 0x405926
cmp dword [ebp - 4], esi
je 0x4058e8
push edi
push 0xfffffffffffffff1
call fcn.00405194
push esi
push edi
call fcn.00405d84
jmp 0x40592e
push edi
push 0xffffffffffffffe5
call fcn.00405194
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4b3a44
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
call fcn.004b3a2c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x78]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x20]
add eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
shl edx, 2
add eax, edx
mov eax, dword [eax]
add eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 8]
call fcn.004b398c
test eax, eax
jne 0x4b3ace
mov eax, dword [ebp - 0x14]
add eax, eax
mov edx, dword [ebp - 0x20]
add eax, dword [edx + 0x24]
add eax, dword [ebp - 0x10]
mov ax, word [eax]
and ax, 0xffff
movzx eax, ax
shl eax, 2
mov edx, dword [ebp - 0x20]
add eax, dword [edx + 0x1c]
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
inc dword [ebp - 0x14]
cmp dword [ebp - 0xc], 0
jne 0x4b3ae2
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x18]
cmp eax, dword [ebp - 0x14]
jne 0x4b3a7a
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4

Function at 0x409ed0
Capabilities:
Encode data using xor

Disassembly:
add byte [ebp + 0x21], cl
je 0x409e9a
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
invalid
adc dword [eax - 0x6f6f6f70], edx
push ebp
mov ebp, esp
leave
dec ebp
or byte [ebx], dh
rcl byte [eax - 0x3f], 0x20
je 0x409eb2
mov eax, 1
add dword [eax], eax
add byte [eax], al
imul byte [eax + 2]
je 0x409eb9
or al, 2
idiv dh
add dword [edx + eax + 0xc], esi
cli
mov ecx, dword [ebp + 0x4f]
shl eax, cl
pop ebp
loopne 0x409f23
ret
push ebp
mov ebp, esp
mov ecx, ebx
or byte [ebx - 0x808f7b8], cl
xchg esp, eax
add byte [eax], al
adc byte [ebp + eax - 0x7d], dh
pop edx
add eax, 0xc983ce8b
pop es
mov edx, ecx
mov dword [eax + 8], ecx
xchg ecx, eax
loop 0x409ef5
loope 0x409ec4
shl edx, 4
or edi, dword [ebp - 0x75]
add al, 0xb
jge 0x409e84
dec eax
add al, 0x81
leave
add byte [eax], al
and al, 0
or eax, 0x48890850
add al, 0x8b
ror dword [ebx - 0x2f08f3fc], 0x23
sal edi, 0xd8
les ecx, [ebp + 0x25]
js 0x409eae
add esi, ecx
jp 0x409ede
nop
nop
nop
nop
nop
push ebp
pop es
in al, dx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x49]
push edi
invalid
Function at 0x402440
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4230c8]
jne 0x40244a
repz ret
jmp fcn.00405f2e

Function at 0x405b54
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.00402ec9
and dword [ebp - 4], 0
cmp dword [0x424a28], 0
mov ebx, eax
jne 0x405c05
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x405cb6
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x405cb6
push eax
call fcn.00402e57
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x424a28], eax
call esi
push eax
call fcn.00402e57
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x424a2c], eax
call esi
push eax
call fcn.00402e57
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x424a30], eax
call esi
push eax
call fcn.00402e57
pop ecx
mov dword [0x424a38], eax
test eax, eax
je 0x405c05
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402e57
pop ecx
mov dword [0x424a34], eax
mov eax, dword [0x424a34]
cmp eax, ebx
je 0x405c5d
cmp dword [0x424a38], ebx
je 0x405c5d
push eax
call fcn.00402ed2
push dword [0x424a38]
mov esi, eax
call fcn.00402ed2
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x405c5d
test edi, edi
je 0x405c5d
call esi
test eax, eax
je 0x405c54
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x405c54
test byte [ebp - 0xc], 1
jne 0x405c5d
or dword [ebp + 0x10], 0x200000
jmp 0x405c96
mov eax, dword [0x424a2c]
cmp eax, ebx
je 0x405c96
push eax
call fcn.00402ed2
pop ecx
test eax, eax
je 0x405c96
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x405c96
mov eax, dword [0x424a30]
cmp eax, ebx
je 0x405c96
push eax
call fcn.00402ed2
pop ecx
test eax, eax
je 0x405c96
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x424a28]
call fcn.00402ed2
pop ecx
test eax, eax
je 0x405cb6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x405cb8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43201e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x1008bf50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10140470
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x30]
push ebp
push esi
push edi
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x10]
call fcn.10135867
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0
xor ebp, ebp
call fcn.10090930
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x2c], 1
cmp ecx, 3
ja case.default.0x1008bfa4
jmp dword [ecx*4 + 0x1008c10c]
mov al, byte [esi]
test al, al
je 0x1008bfd2
cmp al, 0x20
je 0x1008bfbe
cmp al, 0xa1
jne 0x1008bfd2
cmp byte [esi + 1], al
jne 0x1008bfd2
test al, 0x80
je 0x1008bfca
mov al, byte [esi + 1]
inc esi
test al, al
je 0x1008bfd2
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x1008bfb1
test ecx, ecx
je case.default.0x1008bfa4
mov dl, byte [esi]
xor ecx, ecx
test dl, dl
mov eax, esi
je case.default.0x1008bfa4
mov edi, dword [esp + 0x3c]
mov dl, byte [eax]
test dl, 0x80
je 0x1008c018
cmp dl, 0xa1
jne 0x1008c00c
cmp byte [eax + 1], 0xa1
jne 0x1008c00c
test ecx, ecx
jne 0x1008c004
mov edi, eax
mov ecx, 1
inc eax
jmp 0x1008c02c
mov dl, byte [eax + 1]
inc eax
xor ecx, ecx
test dl, dl
je 0x1008c046
jmp 0x1008c02c
cmp dl, 0x20
jne 0x1008c02a
test ecx, ecx
jne 0x1008c023
mov edi, eax
mov ecx, 1
jmp 0x1008c02c
xor ecx, ecx
mov dl, byte [eax + 1]
inc eax
test dl, dl
jne 0x1008bfec
cmp ecx, 1
jne case.default.0x1008bfa4
mov dl, byte [edi]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x1008bfa4
mov dl, byte [eax - 1]
lea edi, [eax - 1]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x1008bfa4
mov al, byte [esi]
test al, al
je 0x1008c09e
test al, 0x80
mov byte [esp + 0x3c], al
je 0x1008c084
mov cl, byte [esi + 1]
test cl, cl
je 0x1008c09e
cmp al, 0xa1
jne 0x1008c074
cmp cl, al
je 0x1008c081
mov ax, word [esi]
lea ecx, [esp + 0x10]
push eax
call fcn.10090bc0
inc esi
jmp 0x1008c096
cmp al, 0x20
je 0x1008c096
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call fcn.10090c00
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x1008c05d
push 0
lea ecx, [esp + 0x14]
call fcn.10090c00
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.100a30b0
mov edx, dword [esp + 0x38]
add esp, 4
test ebp, ebp
mov dword [edx], eax
je 0x1008c0d1
mov al, byte [esp + 0x3c]
mov byte [ebp], al
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
mov dword [esp + 0x10], 0x10188398
call fcn.10090b30
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.101357f9
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x1009a610
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x1014101b
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.1013556e
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x1009a692
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.10133210
mov eax, dword [eax]
push 0x101ade6c
push eax
call fcn.101247a4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.101357f9
test bl, bl
je 0x1009a692
push 0x101ade6c
lea ecx, [esp + 0xc]
call fcn.10135b89
push 0x101ade78
lea ecx, [esp + 0xc]
call fcn.10135b89
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 0x1009a6ce
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.101357f9
jmp 0x1009a799
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 0x1009a752
lea edx, [esp + 0x7c]
push 0x101ade74
push edx
call fcn.101247a4
add esp, 8
test eax, eax
je 0x1009a752
lea eax, [esp + 0x7c]
push 0x101ade70
push eax
call fcn.101247a4
add esp, 8
test eax, eax
je 0x1009a752
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 0x1009a6e2
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.101357f9
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 0x1009afa0
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 0x1009b002
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 0x1009b010
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x1014109b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x101c70e8]
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 0x1009b148
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x1009b076
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.101357f9
xor eax, eax
jmp 0x1009b1bf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.10135936
push esi
lea ecx, [esp + 0xc]
call fcn.10135bc5
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 0x1009b19d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.1009afa0
test eax, eax
jne 0x1009b19d
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 SysReAllocString
mov ecx, edi
call fcn.1009afa0
test eax, eax
jne 0x1009b19d
lea eax, [esp + 0x14]
push 0x101ade88
push eax
call fcn.101258f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x1009b17c
lea ecx, [esp + 0x14]
push 0x101ade84
push ecx
call fcn.10125870
mov esi, eax
add esp, 8
test esi, esi
jne 0x1009b17c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x1009b17f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.101358e6
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x1009b08e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.101357f9
xor eax, eax
jmp 0x1009b1bf
mov byte [esi], 0
push 0x101ade80
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.101357f9
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