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

Disassembly:
push 0xffffffffffffffff
push 0x46ff58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.004672d1
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00436910
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004671ff
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.004639e9
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.004639e9
push 1
push 0
push 0
mov ecx, esi
call fcn.00463991
push 1
push 0
push 1
mov ecx, esi
call fcn.00463991
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00467343
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x4370f0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46ff78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.004672d1
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00436910
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004671ff
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x4371b4
cmp dword [esp + 0x40], 1
jne 0x4371b2
cmp ecx, eax
jge 0x4371b4
mov eax, ecx
cmp eax, 0xc8
jge 0x4371c0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00436f70
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00467343
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x437940
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46ffe3
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.00461e0a
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.00467579
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00468ad1
test eax, eax
je 0x437a5c
mov ecx, dword [esp + 0x3c]
call fcn.004675a6
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 0x437a20
push edi
mov ecx, esi
call fcn.00464b6d
mov ecx, esi
call fcn.00437bc0
cmp dword [esp + 0x38], 1
jne 0x437a55
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.00464cd7
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 0x43a470
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43a4a3
push esi
call fcn.0043d570
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43a49c
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 0x43a529
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43a512
mov eax, dword [esi + 8]
test eax, eax
je 0x43a4c7
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 0x43a50e
cmp eax, 2
je 0x43a512
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43a4ba
cmp eax, 3
je 0x43a4ed
cmp eax, 1
jne 0x43a4ba
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 0x43a4ba
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43a4ba
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043a550
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43a538
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043a550
add esp, 4
pop esi
ret

Function at 0x462bff
Capabilities:
Get graphical window text

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

Function at 0x4642f1
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 0x464333
call fcn.00469fdd
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x464333
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46432a
xor eax, eax
jmp 0x46433b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00464341
pop edi
pop esi
pop ebx
ret 4

Function at 0x46a50d
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 0x46a53b
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46a559
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046a473
jmp 0x46a559
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46a559
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046a473
test edi, edi
mov eax, edi
jne 0x46a543
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x557257
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x5dd168
pushfd
lea esp, [esp + 0xc]
je 0x5bf1b0
neg esi
bswap dx
cmc
mov esi, dword [eax + 0x3c]
movsx dx, bl
pushfd
add esi, eax
lea edx, [ebp + 0x53765431]
movsx dx, al
dec dl
mov edx, dword [esi + 0x78]
cmp ah, dl
test edx, edx
pushfd
lea esp, [esp + 8]
jge 0x5bdb0d
pushal
lea esp, [esp + 0x20]
je 0x5bf1b0
inc cx
sal ecx, cl
cmp cx, 0xdcbe
add edx, eax
jmp 0x5eb5f3
pushal
mov dword [esp], ecx
mov byte [esp], 0x82
call fcn.00555399
add byte [eax], al
jae 0x5bdb92
jb 0x5bdb92
arpl word [eax + 0x72], bp
add byte [eax], al
add byte [edi], bh
aas
pop edi
inc edi
outsb dx, byte [esi]
arpl word gs:[eax + 0x3f], ax
and al, 0x62
popal
jae 0x5bdb9d
arpl word [edi + 0x73], bx
je 0x5bdbab
popal
insd dword es:[edi], dx
bound esi, qword [ebp + 0x66]
inc eax
inc esp
push ebp
aas
and al, 0x63
push 0x745f7261
jb 0x5bdbad
imul esi, dword [ebx + esi*2 + 0x40], 0x74734044
inc eax
inc eax
inc eax
jae 0x5bdbce
inc eax
inc eax
dec ecx
inc ecx
inc ebp
push eax
inc ecx
inc esp
pop eax
pop edx
add ah, dh
in al, dx
xchg esp, eax
jb 0x5bdb26
push cs
lahf
and edi, dword [edi - 0x4cb25cfb]
sbb dword [edx + 0x7e], edi
insd dword es:[edi], dx
outsd dx, dword [esi]
imul edx, dword [ebx + 0x7663c03c], 0xe8785cc0
pop es
fadd st(3), st(0)
aas
pop ds
mov cl, 0xaf
push edi
cli
stc
lahf
cmp al, dl
invalid
adc eax, 0x5b756383
imul ebx, dword [edx], 0xaa622ce
invalid
scasb al, byte es:[edi]
loopne 0x5bdbe6
cmp ch, dl
inc esp
aad 0x44
invalid
jmp 0x3d04c9b2
sbb byte [esi + 0x1eaaef64], bh
dec ecx
xchg ebx, eax
in eax, 0x7f
aas
in al, 0x44
mov ebp, 0x54a479d
ret
jmp 0x553fb6
test ah, ch
mov dword [ebp - 0x10], ecx
pushal
mov ecx, dword [ebp + 0xc]
stc
pushfd
cmp ecx, 0xffff
push edx
lea esp, [esp + 0x28]
jbe 0x5e9273
xadd di, cx
bts di, 0xd
xadd di, bx
cmp cl, bl
mov edi, dword [edx + 0x24]
btr bx, sp
bsf bx, bx
add edi, eax
sar bl, cl
inc bl
rcl cl, cl
xadd ch, bl
mov ebx, dword [edx + 0x20]
mov ch, 0xb
sar ecx, 0x11
shrd ecx, edi, 0xf
add ebx, eax
setne ch
neg cl
mov dword [ebp - 8], 0
movsx cx, cl
lea ecx, [eax*8 + 0x54ed1db7]
adc ch, cl
setg ch
mov ecx, dword [edx + 0x18]
pushfd
sub ecx, dword [edx + 0x10]
cmc
cmp ecx, dword [edx + 0x14]
mov byte [esp], al
pushfd
jmp 0x5cd03a
jmp 0x5e8265
neg ch
btr ecx, edi
not ch
mov ecx, dword [esi + 0x7c]
cmc
add ecx, edx
jmp 0x556926

Function at 0x5da802
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x5eb6ce
lea esp, [esp + 0x18]
ja 0x5ccc57
rcl al, 1
sub ebx, edi
rol al, cl
add ebx, esp
cmc
or di, bp
mov edi, ebx
shr al, 3
shr al, 3
bt bx, 6
xor al, ah
mov al, 0x2e
jmp 0x5e8b92
pushfd
cmp edi, ebx
push dword [esp]
pushfd
push ebp
jmp 0x5cd40f
repne scasb al, byte es:[edi]
jmp 0x5bed59
jne 0x5e57ab
call fcn.005dc7d9
lea esp, [esp + 0x2c]
jb 0x5bf1be
clc
pushal
bt edx, 0xe
clc
cmp eax, dword [ebp - 0x10]
mov byte [esp], 0xa6
lea esp, [esp + 0x20]
jae 0x5bf1be
mov di, cx
push esp
pop ebx
mov ebx, eax
not di
mov edi, eax
pushal
lea esp, [esp + 0x20]
jmp 0x555521
Function at 0x10c3470
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x11df584]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
cmp dword [ecx + 0x50], 0x10
lea ebx, [ecx + 0x3c]
push esi
push edi
mov edi, edx
mov dword [ebp - 0x24], eax
mov dword [ebx + 0x10], eax
jb 0x10c349a
mov eax, dword [ebx]
jmp 0x10c349c
mov eax, ebx
mov byte [eax], 0
call fcn.0110da70
mov esi, eax
test esi, esi
jne 0x10c34c0
mov eax, 0x13ab
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01142239
mov esp, ebp
pop ebp
ret
mov ecx, edi
lea edi, [ebp - 0x20]
call fcn.010c2fd0
push 1
push 0x34
push esi
call fcn.0110dab0
add esp, 0xc
push 5
push 0x4e
push esi
call fcn.0110dab0
add esp, 0xc
push 1
push 0x13
push esi
call fcn.0110dab0
add esp, 0xc
push 0x12c
push 0x14
push esi
call fcn.0110dab0
mov eax, dword [ebp - 0x20]
mov edi, 0x10
add esp, 0xc
cmp dword [ebp - 0xc], edi
jae 0x10c3511
lea eax, [ebp - 0x20]
push eax
push 0x2712
push esi
call fcn.0110dab0
add esp, 0xc
push 0x10c35d0
push 0x4e2b
push esi
call fcn.0110dab0
add esp, 0xc
push ebx
push 0x2711
push esi
call fcn.0110dab0
add esp, 0xc
push 1
push 0x63
push esi
call fcn.0110dab0
add esp, 0xc
push esi
call fcn.0110dae0
add esp, 4
test eax, eax
je 0x10c3565
mov dword [ebp - 0x24], 0x13ab
jmp 0x10c3599
lea eax, [ebp - 0x28]
push eax
push 0x200002
push esi
call fcn.0110dc40
add esp, 0xc
test eax, eax
mov eax, dword [ebp - 0x28]
jne 0x10c3585
cmp eax, 0xc8
je 0x10c3599
sub eax, 0x194
neg eax
sbb eax, eax
and eax, 0xfffffff2
add eax, 0x13b9
mov dword [ebp - 0x24], eax
push esi
call fcn.0110dbe0
add esp, 4
cmp dword [ebp - 0xc], edi
jb 0x10c35b3
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.011425e4
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x24]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01142239
mov esp, ebp
pop ebp
ret
Function at 0x10c5e10
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x11df584]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push 0x124
lea eax, [ebp - 0x130]
push 0
push eax
mov dword [ebp - 0x134], 0
call fcn.01146830
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x10c5ea7
lea ecx, [ebp - 0x134]
push ecx
push esi
mov dword [ebp - 0x134], 0x128
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x10c5ea0
lea edx, [ebp - 0x110]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x10c5e8e
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x11c], eax
je 0x10c5eba
lea ecx, [ebp - 0x134]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x10c5e71
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.01142239
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 0x12c]
push esi
mov dword [ebx], edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
xor ecx, ebp
mov eax, 1
pop esi
call fcn.01142239
mov esp, ebp
pop ebp
ret 4

Function at 0x10c6500
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.011484b0
mov eax, dword [0x11df584]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push ecx
lea edx, [ebp - 0x1004]
push 0x1000
push edx
call fcn.01143565
add esp, 0x10
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01142239
mov esp, ebp
pop ebp
ret
Function at 0x10c77c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x11df584]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x10c77f2
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01142239
mov esp, ebp
pop ebp
ret
push edi
mov edx, esi
call fcn.010c7920
push 0x103
xor edi, edi
lea eax, [ebp - 0x107]
push edi
push eax
mov byte [ebp - 0x108], 0
call fcn.01146830
mov eax, esi
add esp, 0xc
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10c7820
sub eax, edx
inc eax
cmp eax, edi
je 0x10c7846
cmp eax, 0x7fffffff
ja 0x10c7846
push esi
mov edx, 0x7ffffffe
lea ecx, [ebp - 0x108]
call fcn.010c6ed0
mov edx, 0x104
lea eax, [ebp - 0x108]
cmp byte [eax], 0
je 0x10c785c
inc eax
dec edx
jne 0x10c7851
jmp 0x10c7884
cmp edx, edi
je 0x10c7884
mov ecx, 0x104
sub ecx, edx
mov eax, 0x104
sub eax, ecx
push 0x11ce3e0
lea ecx, [ebp + ecx - 0x108]
mov edx, 0x7fffffff
call fcn.010c6ed0
mov ecx, 0x414
lea edx, [ebp - 0x108]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov word [ebp - 0x118], cx
mov dword [ebp - 0x112], edi
mov dword [ebp - 0x128], edi
mov dword [ebp - 0x10e], edi
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x11c], edi
mov dword [ebp - 0x124], 3
xor esi, esi
jmp 0x10c78d0
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov edi, eax
test edi, edi
je 0x10c78f5
cmp edi, 0x20
jne 0x10c790d
push 0x3e8
inc esi
call ebx
cmp esi, 5
jl 0x10c78d0
xor eax, eax
pop ebx
test edi, edi
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01142239
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
xor al, al
pop esi
call fcn.01142239
mov esp, ebp
pop ebp
ret
Function at 0x10c86e0
Capabilities:
Parse pe header

Disassembly:
test eax, eax
je 0x10c86f9
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10c86f9
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
je 0x10c86fc
xor eax, eax
ret
add eax, 0x18
ret
Function at 0x10ce290
Capabilities:
Check for time delay via gettickcount
Resolve dns

Disassembly:
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ebx, eax
call edi
sub eax, ebx
cmp eax, 0xfa0
jae 0x10ce2e1
jmp 0x10ce2b0
push str.www.baidu.com
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x10ce2e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x64
mov esi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
call edi
sub eax, ebx
cmp eax, 0xfa0
jb 0x10ce2b0
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov eax, dword [ecx]
pop edi
pop esi
pop ebx
ret

Function at 0x10ce300
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
push 0x288
mov esi, eax
mov dword [ebp - 8], 0x288
call fcn.01144af4
mov ebx, eax
add esp, 4
mov dword [ebp - 4], ebx
test ebx, ebx
je 0x10ce410
mov edi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [ebp - 8]
push eax
push ebx
call edi
cmp eax, 0x6f
jne 0x10ce360
push ebx
call fcn.01144a7a
mov ecx, dword [ebp - 8]
add esp, 4
push ecx
call fcn.01144af4
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
test eax, eax
je 0x10ce410
lea edx, [ebp - 8]
push edx
push ebx
call edi
test eax, eax
jne 0x10ce410
mov edi, ebx
mov dword [ebp - 0xc], ebx
test ebx, ebx
je 0x10ce410
jmp 0x10ce383
mov edi, dword [ebp - 0xc]
mov eax, dword [edi + 0x194]
mov ecx, dword [edi + 0x198]
lea edx, [edi + 0x1b0]
push edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
call dword [sym.imp.WS2_32.dll_inet_addr]
test eax, eax
je 0x10ce403
mov ebx, dword [esi + 4]
mov ecx, dword [ebx + 4]
cmp byte [ecx + 0x21], 0
jne 0x10ce3c6
cmp dword [ecx + 0x10], eax
jae 0x10ce3bc
mov ecx, dword [ecx + 8]
jmp 0x10ce3c0
mov ebx, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0x21], 0
je 0x10ce3b2
cmp ebx, dword [esi + 4]
je 0x10ce3d0
cmp eax, dword [ebx + 0x10]
jae 0x10ce3f4
mov dword [ebp - 0x28], eax
xor eax, eax
lea edi, [ebp - 0x28]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
call fcn.010cede0
push ebx
lea edi, [ebp - 0x10]
mov ecx, esi
call fcn.010ce970
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], ecx
mov ebx, dword [ebp - 4]
mov edi, dword [edi]
mov dword [ebp - 0xc], edi
test edi, edi
jne 0x10ce380
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test ebx, ebx
je 0x10ce425
push ebx
call fcn.01144a7a
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10cef10
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
je 0x10cef33
push edi
movzx edi, byte [edx]
mov eax, dword [esi]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x11ccaa8]
inc edx
dec ecx
mov dword [esi], eax
jne 0x10cef15
pop edi
ret
Function at 0x10d0000
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x138
mov eax, dword [0x11df584]
xor eax, esp
mov dword [esp + 0x134], eax
push ebx
push esi
push 0
push 2
mov dword [esp + 0x18], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10d004b
xor eax, eax
pop esi
pop ebx
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.01142239
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x10]
push eax
push esi
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x10d00b5
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
lea esp, [esp]
lea ecx, [esp + 0x34]
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10d0096
test dl, dl
je 0x10d0092
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10d0096
add eax, 2
add ecx, 2
test dl, dl
jne 0x10d0076
xor eax, eax
jmp 0x10d009b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10d00ad
lea ecx, [esp + 0x10]
push ecx
push esi
call ebx
test eax, eax
jne 0x10d0070
jmp 0x10d00b5
mov edx, dword [esp + 0x18]
mov dword [esp + 0xc], edx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x13c]
mov eax, dword [esp + 0xc]
pop esi
pop ebx
xor ecx, esp
call fcn.01142239
mov esp, ebp
pop ebp
ret
Function at 0x10d05a0
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push ebx
push esi
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x10d0634
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10d05b7
sub eax, edx
je 0x10d0634
push 0x44
lea eax, [ebp - 0x70]
push ebx
push eax
mov dword [ebp - 0x14], 0xc
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call fcn.01146830
add esp, 0xc
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x70]
push eax
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
push esi
xor ecx, ecx
push ebx
mov dword [ebp - 0x70], 0x44
mov word [ebp - 0x40], cx
mov dword [ebp - 0x44], 0x101
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x10d063c
mov eax, dword [ebp - 4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, ebx
je 0x10d062a
push eax
call esi
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x10d0634
push eax
call esi
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret