joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44f1f0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x494393
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004871e0
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0048c87e
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0048dddd
test eax, eax
je 0x44f30c
mov ecx, dword [esp + 0x3c]
call fcn.0048c8ab
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x44f2d0
push edi
mov ecx, esi
call fcn.00489f10
mov ecx, esi
call fcn.0044f470
cmp dword [esp + 0x38], 1
jne 0x44f305
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0048a04b
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x451d30
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x451d63
push esi
call fcn.00454e40
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x451d5c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x451de9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x451dd2
mov eax, dword [esi + 8]
test eax, eax
je 0x451d87
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x451dce
cmp eax, 2
je 0x451dd2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x451d7a
cmp eax, 3
je 0x451dad
cmp eax, 1
jne 0x451d7a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x451d7a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x451d7a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00451e10
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x451df8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00451e10
add esp, 4
pop esi
ret

Function at 0x460580
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x460623
test eax, eax
jbe 0x460623
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x460623
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x4605ce
xor esi, esi
jmp 0x4605d4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x4605ff
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00411c50
add esi, eax
push esi
mov ebx, esi
call fcn.00411c50
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x4605e0
pop ebp
test edi, edi
pop edi
jne 0x460623
test ebx, ebx
je 0x460623
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00475cd0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x460765
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x46087d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46087d
mov eax, dword [esi + 0x3c]
push eax
call fcn.00487632
mov esi, eax
test esi, esi
je 0x46087d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x46087d
mov ecx, esi
call fcn.004606d0
cmp edi, eax
jge 0x46087d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x460803
mov dword [esp + 0x34], 1
jmp 0x46085e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x46087d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0045fc90
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x464f40
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x464fa6
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x464fa6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x464f87
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x465330
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x465368
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x465f90
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x465fd9
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x466450
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x494cc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00466000
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00466080
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00466080
lea ecx, [esi + 0xc]
call fcn.00485b89
lea ecx, [esi + 0x10]
call fcn.00485b89
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00467610
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00467610
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00467610
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00485bfe
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00485bfe
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x487fd5
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x48800d
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.00486059
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00486031
jmp 0x488019
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4896ca
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 0x48970c
call fcn.0048f488
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x48970c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x489703
xor eax, eax
jmp 0x489714
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0048971a
pop edi
pop esi
pop ebx
ret 4

Function at 0x48f9b8
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 0x48f9e6
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x48fa04
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0048f91e
jmp 0x48fa04
mov eax, dword [esi + 0x14]
test eax, eax
je 0x48fa04
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0048f91e
test edi, edi
mov eax, edi
jne 0x48f9ee
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x42a0fb
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 8], 0
jge 0x42a11d
mov eax, 0xfffffffd
jmp 0x42a195
mov ebx, dword [0x10]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x42a163
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0x10]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x42a18b
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x42a195
mov esp, ebp
pop ebp
ret 4

Function at 0x43a287
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
mov ecx, dword fs:[0x30]
mov al, byte [ecx + 2]
leave
ret

Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40301c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
invalid
invalid
Function at 0x7d3a42
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
pop edi
leave
ret
add eax, ecx
test eax, eax
jle 0x7d3a07
push esi
mov dword [esp], ebx
pushal
mov byte [esp], al
jmp 0x828344
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ecx
push word [esp + 1]
mov byte [esp + 1], bh
mov word [esp], dx
pop word [esp + 1]
push word [esp + 2]
pop word [esp + 1]
mov dword [esp], edi
mov edi, dword [ebp + 0x10]
movzx eax, word [edi + 0xe]
movzx ecx, word [edi + 0xc]
jmp 0x7d3a23
push word [esp + 0xa]
mov dword [esp + 0x12], esp
lea esp, [esp + 2]
jmp 0x8283d9
mov dl, byte [esp]
push di
not al
lea esp, [esp + 2]
mov dword [esp + 4], ebp
push edi
push dword [esp + 3]
mov word [esp + 1], bx
mov word [esp + 3], di
jmp 0x828486
lea esp, [esp + 0x20]
mov ebx, dword [ebp + 0xc]
lea eax, [edi + 0x14]
push esi
mov esi, dword [ebp + 0x18]
push esi
pushal
mov bh, dh
lea ebx, [edx + edi]
jmp 0x8283ac
push word [esp + 1]
lea esp, [esp + 5]
push dword [esp]
pop dword [esp]
lea esp, [esp + 1]
lea esp, [esp + 4]
popal
lea esi, [esi + 0x10]
mov dword [esi], eax
pop esi
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
test eax, eax
jns 0x828ce2
js 0x828b94
xchg ecx, eax
push ebp
or edx, dword [ecx + ebp*8 - 0xb2ab6b3]
mov edi, 0x6bd062a9
cmpsb byte [esi], byte es:[edi]
xchg esi, eax
out dx, al
invalid
movzx eax, word [edi + 0xe]
movzx ecx, word [edi + 0xc]
add dword [ebp + 0x10], 8
inc dword [ebp - 4]
add eax, ecx
cmp dword [ebp - 4], eax
jl 0x8284a4
pop esi
pop ebx
jmp 0x7d3a07
push edx
mov byte [esp + 2], dl
lea esp, [esp + 1]
pushfd
push dword [esp + 6]
mov dword [esp + 4], esp
lea esp, [esp]
lea esp, [esp + 3]
mov dword [esp + 4], esi
pushfd
push word [esp + 3]
lea esp, [esp + 5]
lea esp, [esp]
lea esp, [esp]
lea esp, [esp + 1]
lea esp, [esp + 4]
and eax, 0x7fffffff
push 0
add eax, ebx
push eax
pushfd
push dword [esp + 2]
pop word [esp + 2]
mov word [esp], cx
pop word [esp]
mov dword [esp], ebx
push edx
mov word [esp + 1], sp
pop word [esp]
lea esp, [esp + 2]
push dword [ebp + 8]
call fcn.007d3a42
add esp, 0x14
jmp 0x8285e0
add eax, ebx
push dword [eax + 4]
mov eax, dword [eax]
add eax, dword [ebp + 8]
push eax
push edi
pushal
mov al, ah
xchg bx, di
pushal
lea edi, [edi + 0xc4]
bswap eax
lea ebx, [eax + ebx]
xchg ebx, edi
mov ecx, 0x1f3827b4
mov dword [esp + 0x20], esi
push edx
mov dword [esp], esp
lea esp, [esp + 0x24]
popal
mov eax, dword [edi]
pop edi
call fcn.00801227
pop ecx
mov ecx, 0x2f69046c
bswap ecx
mov ecx, 0x3ca47f66
mov cl, 0xcb
lea ecx, [eax*4]
lea ecx, [edx*4]
lea ecx, [eax - 0x1739]
push ebp
push dword [esp + 2]
mov ecx, dword [esp + 8]
push ebp
pop word [esp]
mov byte [esp], cl
push word [esp + 1]
pushal
mov byte [esp + 0x17], al
mov dword [esp + 0x19], eax
lea esp, [esp + 0x30]
mov dword [esi], eax
jmp 0x8285e0
Function at 0x4eb670
Capabilities:
Encode data using xor

Disassembly:
js 0x4eb6cb
salc
xchg edi, eax
add al, 0x69
xacquire xchg byte [eax + 0x6b], ch
adc dword [ecx], esi
inc edx
sbb eax, esi
mov edi, 0x8214361a
Function at 0x5017d0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x100c9006
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x10113790]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor eax, eax
xor ebx, ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov byte [esi + 0x34], bl
mov dword [esi], 0x100d6b64
mov dword [esi + 4], 0x100d6af0
mov dword [esi + 8], 0x100d6ab0
mov dword [esi + 0xc], 0x100d6a70
mov dword [esi + 0x10], 0x100d6a48
mov dword [esi + 0x14], 0x100d6a30
mov dword [esp + 0x18], ebx
mov dword [esi + 0x40], ebx
lea ecx, [esi + 0x5c]
mov byte [esp + 0x18], 1
call fcn.00512860
lea ecx, [esi + 0x74]
xor eax, eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov byte [esp + 0x18], 2
mov dword [ecx + 0x14], eax
call fcn.004eb670
cmp eax, ebx
jge 0x50187c
push eax
call fcn.004eb4f0
mov eax, dword [0x1011c9e4]
mov edx, dword [eax + 0xc]
mov ecx, 0x1011c9e4
mov byte [esp + 0x18], 3
call edx
add eax, 0x10
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], ebx
lea ecx, [esi + 0xac]
xor eax, eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov byte [esp + 0x18], 6
mov dword [ecx + 0x14], eax
call fcn.004eb670
cmp eax, ebx
jge 0x5018d2
push eax
call fcn.004eb4f0
mov dword [esi + 0xc4], ebx
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xcc], ebx
mov dword [esi + 0xd0], ebx
mov eax, 1
mov dword [esi + 0xa8], eax
mov dword [esi + 0xf8], eax
mov dword [esi + 0xa4], eax
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xe4], ebx
mov dword [esi + 0xf4], ebx
mov dword [esi + 0xd8], ebx
mov dword [esi + 0xdc], ebx
mov dword [esi + 0xe0], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0xe8], ebx
mov dword [esi + 0xec], ebx
mov dword [esi + 0xf0], 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 0x533a80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x100cc031
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x10113790]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
mov eax, dword [0x10113790]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x2e78]
push 8
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x30], eax
call dword [0x100d34c4]
mov ecx, dword [esp + 0x2c]
xor edx, edx
cmp edx, ecx
sbb eax, eax
and eax, ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
cmp eax, ecx
jb 0x533af2
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x1c]
push eax
call dword [0x100d34c0]
push 1
push 0
lea ecx, [esp + 0x30]
push ecx
push 1
call dword [0x100d3208]
test eax, eax
je 0x533c5d
cmp eax, 0x102
jne 0x533afd
lea edi, [esi + 0x2eb4]
push edi
mov dword [esp + 0x28], edi
call dword [0x100d32bc]
mov ecx, esi
mov dword [esp + 0xc0], 0
call fcn.00533820
push edi
mov bl, al
mov dword [esp + 0xc4], 0xffffffff
call dword [0x100d32b8]
mov edx, dword [esi + 0x14f0]
or edx, dword [esi + 0x14f4]
lea edi, [esi + 0x14f0]
jne 0x533afd
test bl, bl
je 0x533afd
xor ebx, ebx
mov dword [esp + 0x20], ebx
lea ecx, [esp + 0x34]
mov dword [esp + 0xc0], 1
call fcn.00541c30
mov eax, dword [esi + 0x2e54]
mov ecx, dword [eax + 0x14]
lea edx, [esp + 0x20]
add eax, 0x14
push edx
push 0x100dcc78
push eax
mov eax, dword [ecx + 0x2c]
mov byte [esp + 0xcc], 2
call eax
test eax, eax
jl 0x533be4
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
lea edx, [esp + 0x34]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
test eax, eax
jl 0x533be4
lea ecx, [esp + 0x34]
push edi
push ecx
call fcn.0052e350
lea edx, [esp + 0x3c]
push edx
call fcn.0052ea60
movzx eax, al
add esp, 0xc
mov dword [esi + 0x269c], eax
mov ecx, dword [edi]
or ecx, dword [edi + 4]
jne 0x533bf4
mov dword [edi], 0x65d8e
mov dword [edi + 4], ebx
cmp byte [esi + 0x2e85], 0
je 0x533c28
mov eax, dword [esi + 0x88]
cmp eax, ebx
je 0x533c28
fild qword [edi]
sub esp, 8
fdivr qword [0x100d8880]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fst qword [esi + 0x78]
fstp qword [esp]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0x14]
call eax
lea ecx, [esp + 0x34]
mov byte [esp + 0xc0], 1
call fcn.00541bf0
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc0], 0xffffffff
cmp eax, ebx
je 0x533afd
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x533afd
mov eax, dword [esp + 0x1c]
push eax
call dword [0x100d34bc]
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0054535c
mov esp, ebp
pop ebp
ret
Function at 0x586f10
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x6a692b
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.006951ec
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x586f92
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00691bb4
mov eax, dword [eax]
push 0xc10278
push eax
call fcn.00681ef4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00695477
test bl, bl
je 0x586f92
push 0xc10278
lea ecx, [esp + 0xc]
call fcn.00695853
push 0xc13f70
lea ecx, [esp + 0xc]
call fcn.00695853
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 0x586fce
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00695477
jmp 0x587099
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 0x587052
lea edx, [esp + 0x7c]
push 0xc13f6c
push edx
call fcn.00681ef4
add esp, 8
test eax, eax
je 0x587052
lea eax, [esp + 0x7c]
push 0xc13f68
push eax
call fcn.00681ef4
add esp, 8
test eax, eax
je 0x587052
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 0x586fe2
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.00695477
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 0x587d40
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x6a69eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0xc33898]
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 0x587e78
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x587da6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00695477
xor eax, eax
jmp 0x587eef
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00695600
push esi
lea ecx, [esp + 0xc]
call fcn.0069588f
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0xc13fa8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x587ecd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0xc13fa0
push closesocket
call fcn.00607b20
test eax, eax
jne 0x587ecd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0xc13f8c
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.00607b20
test eax, eax
jne 0x587ecd
lea eax, [esp + 0x14]
push 0xc13f84
push eax
call fcn.00683230
mov esi, eax
add esp, 8
test esi, esi
jne 0x587eac
lea ecx, [esp + 0x14]
push 0xc13f80
push ecx
call fcn.006831b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x587eac
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x587eaf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.006955b0
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x587dbe
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00695477
xor eax, eax
jmp 0x587eef
mov byte [esi], 0
push 0xc13f7c
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.00695477
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