joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10027af0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0x270
jmp 0x10027b0b
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x4e0
jae 0x10027b77
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4 - 0x9bc]
and eax, 0x80000000
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ecx, dword [edx + ecx*4 - 0x9b8]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
and edx, 1
je 0x10027b4f
mov dword [ebp - 0x10], 0x9908b0df
jmp 0x10027b56
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc]
shr eax, 1
xor eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
xor eax, dword [edx + ecx*4 - 0x388]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + ecx*4 + 4], eax
jmp 0x10027b02
mov esp, ebp
pop ebp
ret

Function at 0x1003c440
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x1034ad40]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x38], 0
je 0x1003c467
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x1003c46e
mov al, 1
jmp 0x1003c559
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x40], edx
call fcn.10034f30
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x2c]
call dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
call fcn.10034f30
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x48]
push edx
call fcn.10034f90
add esp, 8
movzx eax, al
test eax, eax
je 0x1003c4b4
xor al, al
jmp 0x1003c559
mov dword [ebp - 0x54], 0x20
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x38]
mov dword [ebp - 0x4c], edx
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x2c]
add eax, 0x40
push eax
mov ecx, dword [ebp - 0x4c]
call fcn.1003e380
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x1003c4f6
cmp dword [ebp - 0x30], 1
je 0x1003c4fd
cmp dword [ebp - 0x30], 3
je 0x1003c54c
jmp 0x1003c557
mov ecx, dword [ebp - 0x2c]
mov byte [ecx + 0x3d], 0
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0x28]
sub edx, eax
mov dword [ebp - 0x34], edx
je 0x1003c52c
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x4c]
push edx
mov eax, dword [ebp - 0x34]
push eax
push 1
lea ecx, [ebp - 0x28]
push ecx
call fcn.101f0750
add esp, 0x10
cmp dword [ebp - 0x34], eax
je 0x1003c52c
xor al, al
jmp 0x1003c559
mov edx, dword [ebp - 0x2c]
movzx eax, byte [edx + 0x3d]
test eax, eax
jne 0x1003c540
mov dword [ebp - 0x38], 1
jmp 0x1003c547
mov dword [ebp - 0x38], 0
mov al, byte [ebp - 0x38]
jmp 0x1003c559
mov ecx, dword [ebp - 0x2c]
mov byte [ecx + 0x3d], 0
mov al, 1
jmp 0x1003c559
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101aa0b0
mov esp, ebp
pop ebp
ret
Function at 0x1003d850
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x1034ad40]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp + 8]
push eax
call fcn.10034f30
push eax
call fcn.10034f90
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x1003d88e
mov edx, dword [ebp + 8]
push edx
call fcn.10035450
add esp, 4
jmp 0x1003da20
mov ecx, dword [ebp - 0x2c]
call fcn.10035820
test eax, eax
je 0x1003d8d4
mov ecx, dword [ebp - 0x2c]
call fcn.10035820
mov esi, eax
mov ecx, dword [ebp - 0x2c]
call fcn.10034f40
cmp esi, eax
jae 0x1003d8d4
mov eax, dword [ebp + 8]
push eax
call fcn.10035e70
add esp, 4
mov byte [ebp - 0x2f], al
mov ecx, dword [ebp - 0x2c]
call fcn.10034470
mov cl, byte [ebp - 0x2f]
mov byte [eax], cl
mov eax, dword [ebp + 8]
jmp 0x1003da20
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0x4c], 0
jne 0x1003d8e7
call fcn.10034f30
jmp 0x1003da20
mov ecx, dword [ebp - 0x2c]
call fcn.1003cb20
nop
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x38], 0
jne 0x1003d941
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x4c]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp + 8]
push eax
call fcn.10035e70
add esp, 4
mov byte [ebp - 0x30], al
mov ecx, dword [ebp - 0x44]
push ecx
movzx edx, byte [ebp - 0x30]
push edx
call fcn.10039bf0
add esp, 8
movzx eax, al
test eax, eax
je 0x1003d931
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x3c], ecx
jmp 0x1003d939
call fcn.10034f30
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
jmp 0x1003da20
mov dword [ebp - 0x54], 0x20
mov edx, dword [ebp + 8]
push edx
call fcn.10035e70
add esp, 4
mov byte [ebp - 0x2e], al
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0x48], ecx
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0x2d]
push eax
lea ecx, [ebp - 0x2e]
push ecx
mov edx, dword [ebp - 0x2c]
add edx, 0x40
push edx
mov ecx, dword [ebp - 0x48]
call fcn.1003d810
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x1003d99e
cmp dword [ebp - 0x34], 1
je 0x1003d99e
cmp dword [ebp - 0x34], 3
je 0x1003d9eb
jmp 0x1003da1b
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x28]
sub eax, ecx
mov dword [ebp - 0x38], eax
je 0x1003d9d0
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x4c]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
push 1
lea edx, [ebp - 0x28]
push edx
call fcn.101f0750
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x1003d9d0
call fcn.10034f30
jmp 0x1003da20
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x3d], 1
lea ecx, [ebp - 0x2e]
cmp dword [ebp - 0x50], ecx
je 0x1003d9e4
mov eax, dword [ebp + 8]
jmp 0x1003da20
call fcn.10034f30
jmp 0x1003da20
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x4c]
push eax
movzx ecx, byte [ebp - 0x2e]
push ecx
call fcn.10039bf0
add esp, 8
movzx edx, al
test edx, edx
je 0x1003da0e
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
jmp 0x1003da16
call fcn.10034f30
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
jmp 0x1003da20
call fcn.10034f30
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101aa0b0
mov esp, ebp
pop ebp
ret 4
Function at 0x1003e410
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 8], ecx
cmp dword [ebp + 0x10], 0
jg 0x1003e430
jl 0x1003e427
cmp dword [ebp + 0xc], 0
ja 0x1003e430
xor eax, eax
xor edx, edx
jmp 0x1003e572
mov eax, dword [ebp - 8]
cmp dword [eax + 0x38], 0
je 0x1003e452
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
call fcn.100360d0
jmp 0x1003e572
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 8]
call fcn.10034070
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jbe 0x1003e4c2
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 4]
push edx
call fcn.10017310
add esp, 8
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 8]
call fcn.10035250
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.10019a50
add esp, 0xc
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 8]
call fcn.100351f0
nop
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0
je 0x1003e563
mov ecx, dword [ebp - 8]
call fcn.1003cb20
mov dword [ebp - 0x20], 0xfff
cmp dword [ebp - 4], 0xfff
jbe 0x1003e532
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x4c]
push edx
push 0xfff
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.101ef620
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x10]
mov dword [ebp + 8], ecx
mov edx, dword [ebp - 4]
sub edx, dword [ebp - 0x10]
mov dword [ebp - 4], edx
cmp dword [ebp - 0x10], 0xfff
je 0x1003e530
xor eax, eax
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x24]
sbb edx, eax
mov eax, ecx
jmp 0x1003e572
jmp 0x1003e4de
cmp dword [ebp - 4], 0
jbe 0x1003e563
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x4c]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 1
mov edx, dword [ebp + 8]
push edx
call fcn.101ef620
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x1c]
mov dword [ebp - 4], ecx
xor edx, edx
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x24]
sbb ecx, edx
mov edx, ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10057590
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1024684b
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x1034ad40]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp - 0x30]
call fcn.100422f0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x30]
mov dword [eax], 0x10274274
mov ecx, dword [ebp - 0x30]
add ecx, 0x14
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0x34]
call fcn.10057880
mov byte [ebp - 4], 1
xor eax, eax
mov ecx, dword [ebp - 0x30]
add ecx, 0x30
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 dword [ecx + 0x14], eax
mov dword [ecx + 0x18], eax
mov ecx, dword [ebp - 0x30]
add ecx, 0x30
call fcn.100578b0
mov byte [ebp - 4], 2
xor edx, edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
lea ecx, [ebp - 0x2c]
call fcn.100578b0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
sub esp, 8
mov esi, esp
mov dword [ebp - 0x38], esp
mov ecx, dword [ebp - 0x30]
call fcn.10019fa0
push eax
mov ecx, esi
call fcn.10056a10
mov edx, dword [ebp - 0x30]
add edx, 0x4c
push edx
call fcn.10059c20
add esp, 0x14
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.10057cb0
nop
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101aa0b0
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1007c350
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x103861c8]
jne 0x1007c3b8
mov dword [ebp - 8], 0
jmp 0x1007c376
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x100
jge 0x1007c3b8
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov al, byte [edx + 0x10377518]
mov byte [ecx + 0x10377618], al
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1007c3a6
mov byte [ebp - 1], 1
jmp 0x1007c3aa
mov byte [ebp - 1], 0
mov edx, dword [ebp - 8]
mov al, byte [ebp - 1]
mov byte [edx + 0x10377518], al
jmp 0x1007c36d
cmp dword [0x10377718], 0
jne 0x1007c3d3
push 0
push str.Valve001
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x10377718], eax
lea ecx, [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
lea edx, [ebp - 0x10]
push edx
mov eax, dword [0x10377718]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
nop
cvtsi2ss xmm0, dword [ebp - 0xc]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x10]
push ecx
movss dword [esp], xmm0
lea ecx, [ebp - 0x18]
call fcn.101605a0
push eax
lea ecx, [ebp - 0x20]
push ecx
mov ecx, 0x1034ccf8
call fcn.10160b30
push eax
mov ecx, 0x1034cd00
call fcn.101607b0
nop
cvtsi2ss xmm0, dword [ebp - 0xc]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x10]
push ecx
movss dword [esp], xmm0
lea ecx, [ebp - 0x28]
call fcn.101605a0
push eax
mov ecx, 0x1034ccf8
call fcn.101607b0
nop
mov esp, ebp
pop ebp
ret
Function at 0x100e04d0
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1024e89c
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x1034ad40]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x10378cb4]
movzx ecx, byte [eax]
test ecx, ecx
jne 0x100e050c
jmp 0x100e05f1
xor edx, edx
mov byte [ebp - 0x49], dl
mov eax, dword [0x1038fcc4]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [0x10380094]
cmp eax, dword [edx + 4]
jle 0x100e05b4
push 0x10380094
call fcn.101a9fc0
add esp, 4
cmp dword [0x10380094], 0xffffffff
jne 0x100e05b4
mov dword [ebp - 4], 0
push str.55_8B_EC_81_EC_________53_56_8B_35_________8B_D9_57_8B_CE
lea ecx, [ebp - 0x48]
call fcn.10017770
mov byte [ebp - 4], 1
push 0x1029a924
lea ecx, [ebp - 0x2c]
call fcn.10017770
mov byte [ebp - 4], 2
push 0
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x2c]
push edx
call fcn.1013e450
add esp, 0xc
mov dword [0x10380090], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.10018310
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.10018310
nop
mov dword [ebp - 4], 0xffffffff
push 0x10380094
call fcn.101a9f60
add esp, 4
movss xmm0, dword [0x10261018]
movss dword [ebp - 0x60], xmm0
mov dword [ebp - 0x50], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x49]
call fcn.100e0610
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x100e05df
jmp 0x100e05f1
pushal
movss xmm1, dword [ebp - 0x60]
push 0
mov ecx, dword [ebp - 0x50]
call dword [0x10380090]
popal
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101aa0b0
mov esp, ebp
pop ebp
ret

Function at 0x100e4350
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movsx eax, byte [edx + ecx]
test eax, eax
jne 0x100e436f
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
jmp 0x100e439f
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + eax]
xor edx, dword [ebp + 0xc]
imul eax, edx, 0x1000193
push eax
mov ecx, 1
shl ecx, 0
add ecx, dword [ebp + 8]
push ecx
call fcn.100e4350
add esp, 8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x100e6950
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1024edfa
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x80
mov eax, dword [0x1034ad40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [0x1038fcc4]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [0x10380194]
cmp eax, dword [edx + 4]
jle 0x100e6a3a
push 0x10380194
call fcn.101a9fc0
add esp, 4
cmp dword [0x10380194], 0xffffffff
jne 0x100e6a3a
push ecx
movss xmm0, dword [0x1028de3c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1028de3c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1028de3c]
movss dword [esp], xmm0
mov ecx, 0x1038017c
call fcn.1015f0e0
push ecx
movss xmm0, dword [0x10260fb0]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x10260fb0]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x10260fb0]
movss dword [esp], xmm0
mov ecx, 0x10380188
call fcn.1015f0e0
push 0x10380194
call fcn.101a9f60
add esp, 4
lea ecx, [ebp - 0x38]
call fcn.100e9090
mov dword [ebp - 4], 0
push str.CBaseCSGrenadeProjectile
lea ecx, [ebp - 0x38]
call fcn.100ea070
mov ecx, dword [ebp - 0x18]
add ecx, 0x30
push ecx
lea ecx, [ebp - 0x34]
call fcn.100e93f0
lea ecx, [ebp - 0x90]
call fcn.100265c0
mov edx, 0xc
shl edx, 0
add edx, 0x1038017c
push edx
mov eax, 0xc
imul ecx, eax, 0
add ecx, 0x1038017c
push ecx
mov edx, dword [ebx + 0xc]
push edx
mov eax, dword [ebx + 8]
push eax
lea ecx, [ebp - 0x90]
call fcn.10026e70
mov dword [ebp - 0x20], 0x200400b
mov ecx, 0x10386274
call fcn.10026940
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebx + 0x10]
push ecx
lea edx, [ebp - 0x38]
push edx
push 0x200400b
lea eax, [ebp - 0x90]
push eax
mov ecx, dword [ebp - 0x14]
call dword [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.100e93b0
nop
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
Function at 0x101052b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 0xc], 1
jne 0x10105372
push 8
call fcn.101a9850
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x101052e5
xor eax, eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], edx
jmp 0x101052ec
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
mov dword [ecx], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 4], ecx
push 0x10105270
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x10105270
push 1
call dword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
push 0
push 0
mov edx, dword [ebp - 8]
push edx
push 0x10104eb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x10105372
push str.admin
push 0x1037d8a0
call fcn.101f6740
add esp, 8
mov eax, 0x1634578
mov dword [0x1037d8c0], 0x5d89ffff
mov dword [0x1037d8c4], eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x10105374
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10109370
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1039105c]
mov dword [ebp - 4], eax
jmp 0x10109388
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x1010939e
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x1010939c
mov eax, dword [ebp - 4]
jmp 0x10109419
jmp 0x10109380
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10109416
mov ecx, dword [ebp - 4]
add ecx, 0x20
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 8]
add eax, 0x20
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 4]
cmp ecx, 0xfe0
jbe 0x101093d8
mov edx, dword [ebp - 4]
mov eax, dword [0x1039105c]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x1039105c], ecx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x1010aae0
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1034ad40]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
je 0x1010ac1f
mov dword [ebp - 0x20], 0x1c
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x1010ac14
cmp dword [ebp - 0x20], 0x10
jb 0x1010abf8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x1010abf8
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x1010abf8
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x1010ab88
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0x80
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shl edx, 2
push edx
push 0
mov eax, dword [0x10382f04]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x1010ab86
jmp 0x1010ac14
jmp 0x1010abd8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 8]
cmp edx, dword [ecx + 4]
jb 0x1010abd8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shl ecx, 1
shl ecx, 2
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
push 0
mov ecx, dword [0x10382f04]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x1010abc2
jmp 0x1010ac14
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
shl eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x28]
mov dword [edx], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x18]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 8], edx
mov dword [ebp - 0x20], 0x1c
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x1010ab22
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101aa0b0
mov esp, ebp
pop ebp
ret
Function at 0x1010ac30
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0
mov eax, dword [ebp + 8]
push eax
call fcn.1010aae0
add esp, 4
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x1010acce
mov dword [ebp - 4], 0
jmp 0x1010ac79
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 8]
jae 0x1010acce
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + ecx*4]
push edx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1010accc
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.1010a950
add esp, 0xc
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x1010ac70
mov esp, ebp
pop ebp
ret

Function at 0x1010ace0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x1010ad56
mov dword [ebp - 4], 0
jmp 0x1010ad00
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 8]
jae 0x1010ad41
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
mov ecx, dword [edx + eax*4]
push ecx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1010ad3f
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x1010acf7
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
push 0
mov eax, dword [0x10382f04]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
nop
mov esp, ebp
pop ebp
ret