joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1009b0d0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017438d
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x1019e06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24c], 0x224
mov eax, dword [ebp + 0xc]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x250], eax
lea ecx, [ebp - 0x24c]
push ecx
mov edx, dword [ebp - 0x250]
push edx
call dword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x1009b256
lea eax, [ebp - 0x24c]
push eax
mov ecx, dword [ebp - 0x250]
push ecx
call dword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
je 0x1009b256
lea edx, [ebp - 0x22c]
push edx
lea ecx, [ebp - 0x28]
call fcn.10003d50
mov dword [ebp - 4], 0
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x28]
call fcn.100385d0
mov ecx, dword [eax]
mov dword [ebp - 0x254], ecx
mov edx, dword [ebp - 0x254]
mov dword [ebp - 0x260], edx
lea eax, [ebp - 0x274]
push eax
lea ecx, [ebp - 0x28]
call fcn.10038580
mov ecx, dword [eax]
mov dword [ebp - 0x258], ecx
mov edx, dword [ebp - 0x258]
mov dword [ebp - 0x264], edx
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x28]
call fcn.100385d0
mov ecx, dword [eax]
mov dword [ebp - 0x25c], ecx
mov edx, dword [ebp - 0x25c]
mov dword [ebp - 0x268], edx
push 0x100bf4c2
mov eax, dword [ebp - 0x260]
push eax
mov ecx, dword [ebp - 0x264]
push ecx
mov edx, dword [ebp - 0x268]
push edx
lea eax, [ebp - 0x27c]
push eax
call fcn.100386b0
add esp, 0x14
push 0x811c9dc5
lea ecx, [ebp - 0x28]
call fcn.1000e570
push eax
call fcn.1008be60
add esp, 8
cmp eax, dword [ebp + 8]
jne 0x1009b242
mov ecx, dword [ebp - 0x250]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x230]
mov dword [ebp - 0x26c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10003cc0
mov eax, dword [ebp - 0x26c]
jmp 0x1009b265
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10003cc0
jmp 0x1009b133
mov eax, dword [ebp - 0x250]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100b526a
mov esp, ebp
pop ebp
ret
Function at 0x1009b280
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 8], 0
je 0x1009b294
movzx eax, byte [ebp + 0x10]
test eax, eax
jne 0x1009b299
mov eax, dword [ebp + 8]
jmp 0x1009b300
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx + 0x14]
mov eax, dword [ebp + 0xc]
lea ecx, [eax + edx + 0x18]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
jmp 0x1009b2bc
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 6]
cmp dword [ebp - 8], ecx
jae 0x1009b2f1
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
cmp eax, dword [edx + 0xc]
jb 0x1009b2e6
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebp - 4]
add edx, dword [eax + 8]
cmp dword [ebp + 8], edx
jae 0x1009b2e6
jmp 0x1009b2f1
mov ecx, dword [ebp - 4]
add ecx, 0x28
mov dword [ebp - 4], ecx
jmp 0x1009b2b3
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
sub eax, dword [edx + 0xc]
mov ecx, dword [ebp - 4]
add eax, dword [ecx + 0x14]
mov esp, ebp
pop ebp
ret
Function at 0x1009b310
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
movzx edx, word [ecx]
cmp edx, 0x5a4d
je 0x1009b331
xor eax, eax
jmp 0x1009b469
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x3c]
add ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp dword [edx], 0x4550
je 0x1009b34f
xor eax, eax
jmp 0x1009b469
movzx eax, byte [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, 8
imul eax, edx, 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + eax + 0x78]
push edx
call fcn.1009b280
add esp, 0xc
add eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
movzx eax, byte [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x20]
push eax
call fcn.1009b280
add esp, 0xc
add eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 8], 0
jmp 0x1009b3ad
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
cmp eax, dword [edx + 0x14]
jae 0x1009b3f9
movzx ecx, byte [ebp + 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + eax*4]
push edx
call fcn.1009b280
add esp, 0xc
add eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
push 0x811c9dc5
mov eax, dword [ebp - 0x1c]
push eax
call fcn.1008be60
add esp, 8
cmp eax, dword [ebp + 0xc]
jne 0x1009b3f7
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
jmp 0x1009b3f9
jmp 0x1009b3a4
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
cmp eax, dword [edx + 0x14]
jbe 0x1009b408
xor eax, eax
jmp 0x1009b469
movzx ecx, byte [ebp + 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x24]
push ecx
call fcn.1009b280
add esp, 0xc
add eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
movzx edx, byte [ebp + 0x10]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x1c]
push edx
call fcn.1009b280
add esp, 0xc
add eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
movzx eax, byte [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x20]
movzx ecx, word [eax + edx*2]
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + ecx*4]
push eax
call fcn.1009b280
add esp, 0xc
add eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x1009d530
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101744bd
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x1019e06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.10003910
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x101900c0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], str.Default
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], str.cs_baggage_skybox_
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xc], str.cs_tibet
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x10], str.embassy
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x14], str.italy
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x18], str.jungle
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x1c], str.nukeblank
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x20], str.office
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x24], str.sky_csgo_cloudy01
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x28], str.sky_csgo_night02
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x2c], str.sky_csgo_night02b
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x30], str.sky_dust
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x34], str.sky_venice
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x38], str.vertigo
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x3c], str.vietnam
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x40], str.sky_descent
mov edx, dword [ebp - 0x10]
add edx, 0x44
mov dword [ebp - 0x14], edx
push ecx
movss xmm0, dword [0x101902fc]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101902fc]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101902fc]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101902fc]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x14]
call fcn.10051dc0
mov eax, dword [ebp - 0x10]
add eax, 0x54
mov dword [ebp - 0x18], eax
push ecx
movss xmm0, dword [0x101902fc]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101902fc]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101902fc]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101902fc]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x18]
call fcn.10051dc0
mov ecx, dword [ebp - 0x10]
add ecx, 0x64
mov dword [ebp - 0x1c], ecx
push ecx
movss xmm0, dword [0x101902fc]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101902fc]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101902fc]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101902fc]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x1c]
call fcn.10051dc0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x74], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x100a25c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101746a6
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x1019e06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
add eax, 8
mov dword [ebp - 0x14], eax
push 0
mov ecx, dword [ebp - 0x14]
call fcn.10006930
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 0x10]
add eax, 0x14
mov dword [ebp - 0x18], eax
push 0
mov ecx, dword [ebp - 0x18]
call fcn.10006930
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x18], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x1c], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.10003a80
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.10003a80
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x3c
call fcn.10003a80
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x4c
call fcn.1016eeb0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x58], 0
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0x5c], 0
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x5d], 0
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x5e], 0
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0x5f], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x60], 0x7fffffff
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x64], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x68], 0xffffffff
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x6c], 0
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x70], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x74], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x78
call fcn.1016eeb0
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x88], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x100b4633
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov esi, dword [ebp + 0xc]
neg eax
sbb eax, eax
xor ecx, ecx
and eax, dword [ebp - 4]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.100b460f
pop esi
leave
ret 8

Function at 0x100ca94e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100ca7c4

Function at 0x100d3fce
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100d3c4b

Function at 0x100db810
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100db83d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100db83d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10116430
Capabilities:
Log keystrokes via polling

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
sub esp, 0x50
mov eax, dword [0x1019e06c]
xor eax, ebp
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x101f0688]
jne 0x101164b5
mov dword [ebp - 0x28], 0
jmp 0x10116473
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x100
jge 0x101164b5
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x28]
mov al, byte [edx + 0x101fdf70]
mov byte [ecx + 0x101fe070], al
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x101164a3
mov byte [ebp - 0x21], 1
jmp 0x101164a7
mov byte [ebp - 0x21], 0
mov edx, dword [ebp - 0x28]
mov al, byte [ebp - 0x21]
mov byte [edx + 0x101fdf70], al
jmp 0x1011646a
cmp dword [0x101fdf68], 0
jne 0x101164fd
xor ecx, ecx
mov byte [ebp - 0x22], cl
xor edx, edx
mov byte [ebp - 0x23], dl
xor eax, eax
mov byte [ebp - 0x24], al
push 0
movzx ecx, byte [ebp - 0x22]
push ecx
movzx edx, byte [ebp - 0x23]
push edx
movzx eax, byte [ebp - 0x24]
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.1003aca0
add esp, 0x10
mov ecx, eax
call fcn.1003acb0
push eax
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x101fdf68], eax
lea edx, [ebp - 0x30]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [0x101fdf68]
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
cvtsi2ss xmm0, dword [ebp - 0x2c]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x30]
push ecx
movss dword [esp], xmm0
lea ecx, [ebp - 0x38]
call fcn.1016f3d0
push eax
lea edx, [ebp - 0x40]
push edx
mov ecx, 0x101fdcac
call fcn.1016f2f0
push eax
mov ecx, 0x101fdbf0
call fcn.1016f390
cvtsi2ss xmm0, dword [ebp - 0x2c]
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x30]
push ecx
movss dword [esp], xmm0
lea ecx, [ebp - 0x48]
call fcn.1016f3d0
push eax
mov ecx, 0x101fdcac
call fcn.1016f390
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b526a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x1013bc90
Capabilities:
Packed with generic packer

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 0x101795d4
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xb4
mov eax, dword [0x1019e06c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x101f45a4]
movzx ecx, byte [eax]
test ecx, ecx
jne 0x1013bce2
jmp 0x1013be63
xor edx, edx
mov byte [ebp - 0xa7], dl
mov eax, dword [0x101c8640]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [0x101ffe38]
cmp eax, dword [edx + 4]
jle 0x1013be11
push 0x101ffe38
call fcn.100b52f4
add esp, 4
cmp dword [0x101ffe38], 0xffffffff
jne 0x1013be11
mov dword [ebp - 4], 0
xor ecx, ecx
mov byte [ebp - 0xa1], cl
xor edx, edx
mov byte [ebp - 0xa2], dl
xor eax, eax
mov byte [ebp - 0xa3], al
movzx ecx, byte [ebp - 0xa1]
push ecx
movzx edx, byte [ebp - 0xa2]
push edx
movzx eax, byte [ebp - 0xa3]
push eax
lea ecx, [ebp - 0xa0]
push ecx
call fcn.1008b7f0
add esp, 0x10
mov ecx, eax
call fcn.1008bac0
push eax
lea ecx, [ebp - 0x44]
call fcn.10003d50
mov byte [ebp - 4], 1
xor edx, edx
mov byte [ebp - 0xa4], dl
xor eax, eax
mov byte [ebp - 0xa5], al
xor ecx, ecx
mov byte [ebp - 0xa6], cl
movzx edx, byte [ebp - 0xa4]
push edx
movzx eax, byte [ebp - 0xa5]
push eax
movzx ecx, byte [ebp - 0xa6]
push ecx
lea edx, [ebp - 0x60]
push edx
call fcn.1008b7d0
add esp, 0x10
mov ecx, eax
call fcn.1008b870
push eax
lea ecx, [ebp - 0x2c]
call fcn.10003d50
mov byte [ebp - 4], 2
push 0
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.101661c0
add esp, 0xc
mov dword [0x101ffe3c], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.10003cc0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.10003cc0
mov dword [ebp - 4], 0xffffffff
push 0x101ffe38
call fcn.100b52a3
add esp, 4
movss xmm0, dword [0x101905c8]
movss dword [ebp - 0xbc], xmm0
mov dword [ebp - 0xac], 0
mov edx, dword [ebx + 8]
push edx
lea ecx, [ebp - 0xa7]
call fcn.1013bb10
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
jne 0x1013be4b
jmp 0x1013be63
pushal
movss xmm1, dword [ebp - 0xbc]
push 0
mov ecx, dword [ebp - 0xac]
call dword [0x101ffe3c]
popal
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100b526a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x1014d220
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10202e2c]
mov dword [ebp - 4], eax
jmp 0x1014d238
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x1014d24e
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x1014d24c
mov eax, dword [ebp - 4]
jmp 0x1014d2c9
jmp 0x1014d230
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 0x1014d2c6
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 0x1014d288
mov edx, dword [ebp - 4]
mov eax, dword [0x10202e2c]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x10202e2c], ecx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x1014e360
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
imul eax, dword [ebp + 8], 0x2c
add eax, dword [0x10202e20]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 5
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x1014e3a4
mov eax, dword [ebp - 8]
sub eax, 5
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
add ecx, 2
mov dword [ebp - 0xc], ecx
lea edx, [ebp - 0x18]
push edx
push 0x40
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1014e3c6
mov eax, 0xa
jmp 0x1014e4ad
cmp dword [ebp + 0xc], 0
je 0x1014e412
mov edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
mov byte [eax], 0xe9
mov ecx, dword [ebp - 8]
add ecx, 5
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 1], eax
mov edx, dword [ebp - 4]
mov al, byte [edx + 0x14]
and al, 1
movzx ecx, al
test ecx, ecx
je 0x1014e410
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov byte [ecx], 0xeb
mov edx, dword [ebp - 0x14]
mov byte [edx + 1], 0xf9
jmp 0x1014e44e
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x1014e439
push 7
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.100b6a10
add esp, 0xc
jmp 0x1014e44e
push 5
mov edx, dword [ebp - 4]
add edx, 0xc
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.100b6a10
add esp, 0xc
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov cl, byte [ebp + 0xc]
and cl, 1
shl cl, 1
mov edx, dword [ebp - 4]
mov al, byte [edx + 0x14]
and al, 0xfd
or al, cl
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x14], al
mov dl, byte [ebp + 0xc]
and dl, 1
shl dl, 2
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 0xfb
or cl, dl
mov edx, dword [ebp - 4]
mov byte [edx + 0x14], cl
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1014e4c0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x1014e534
mov dword [ebp - 4], 0
jmp 0x1014e4e0
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 0x1014e520
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 0x1014e51e
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]
jmp 0x1014e4d7
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
push 0
mov eax, dword [0x101f0624]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esp, ebp
pop ebp
ret

Function at 0x1014e540
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.1014e5f0
add esp, 4
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x1014e5dd
mov dword [ebp - 4], 0
jmp 0x1014e589
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 0x1014e5dd
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 0x1014e5db
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.1014e740
add esp, 0xc
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1014e580
mov esp, ebp
pop ebp
ret