joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1009e510
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 8], 0
je 0x1009e524
movzx eax, byte [ebp + 0x10]
test eax, eax
jne 0x1009e529
mov eax, dword [ebp + 8]
jmp 0x1009e590
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 0x1009e54c
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 0x1009e581
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
cmp eax, dword [edx + 0xc]
jb 0x1009e576
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 0x1009e576
jmp 0x1009e581
mov ecx, dword [ebp - 4]
add ecx, 0x28
mov dword [ebp - 4], ecx
jmp 0x1009e543
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 0x1009e5a0
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 0x1009e5c1
xor eax, eax
jmp 0x1009e6f9
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 0x1009e5df
xor eax, eax
jmp 0x1009e6f9
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.1009e510
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.1009e510
add esp, 0xc
add eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 8], 0
jmp 0x1009e63d
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 0x1009e689
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.1009e510
add esp, 0xc
add eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
push 0x811c9dc5
mov eax, dword [ebp - 0x1c]
push eax
call fcn.1008f130
add esp, 8
cmp eax, dword [ebp + 0xc]
jne 0x1009e687
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
jmp 0x1009e689
jmp 0x1009e634
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
cmp eax, dword [edx + 0x14]
jbe 0x1009e698
xor eax, eax
jmp 0x1009e6f9
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.1009e510
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.1009e510
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.1009e510
add esp, 0xc
add eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x100a06e0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017c27d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x101a6074]
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], 0x101980f8
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 [0x1019832c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1019832c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1019832c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1019832c]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x14]
call fcn.100531d0
mov eax, dword [ebp - 0x10]
add eax, 0x54
mov dword [ebp - 0x18], eax
push ecx
movss xmm0, dword [0x1019832c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1019832c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1019832c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1019832c]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x18]
call fcn.100531d0
mov ecx, dword [ebp - 0x10]
add ecx, 0x64
mov dword [ebp - 0x1c], ecx
push ecx
movss xmm0, dword [0x1019832c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1019832c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1019832c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1019832c]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x1c]
call fcn.100531d0
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 0x100a5c90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017c466
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x101a6074]
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.10006550
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.10006550
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.10176c60
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 edx, dword [ebp - 0x10]
mov byte [edx + 0x78], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x7c
call fcn.10176c60
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x8c], 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 0x100b7a91
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.100b7a6d
pop esi
leave
ret 8

Function at 0x100cdbfe
Capabilities:
Read file on windows

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

Function at 0x100d727e
Capabilities:
Set environment variable

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

Function at 0x100deac0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100deaed
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100deaed
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x1011bef0
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 [0x101a6074]
xor eax, ebp
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x101f8620]
jne 0x1011bf75
mov dword [ebp - 0x28], 0
jmp 0x1011bf33
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x100
jge 0x1011bf75
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x28]
mov al, byte [edx + 0x10206020]
mov byte [ecx + 0x10206120], al
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1011bf63
mov byte [ebp - 0x21], 1
jmp 0x1011bf67
mov byte [ebp - 0x21], 0
mov edx, dword [ebp - 0x28]
mov al, byte [ebp - 0x21]
mov byte [edx + 0x10206020], al
jmp 0x1011bf2a
cmp dword [0x10206018], 0
jne 0x1011bfbd
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.1003bd90
add esp, 0x10
mov ecx, eax
call fcn.1003bda0
push eax
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x10206018], eax
lea edx, [ebp - 0x30]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [0x10206018]
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.10177180
push eax
lea edx, [ebp - 0x40]
push edx
mov ecx, 0x10205d48
call fcn.101770a0
push eax
mov ecx, 0x10205c8c
call fcn.10177140
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.10177180
push eax
mov ecx, 0x10205d48
call fcn.10177140
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b851c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x10142280
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 0x10181614
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xb4
mov eax, dword [0x101a6074]
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 [0x101fc63c]
movzx ecx, byte [eax]
test ecx, ecx
jne 0x101422d2
jmp 0x10142453
xor edx, edx
mov byte [ebp - 0xa7], dl
mov eax, dword [0x101d0600]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [0x10207ef0]
cmp eax, dword [edx + 4]
jle 0x10142401
push 0x10207ef0
call fcn.100b85a6
add esp, 4
cmp dword [0x10207ef0], 0xffffffff
jne 0x10142401
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.1008eb50
add esp, 0x10
mov ecx, eax
call fcn.1008ee00
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.1008eb30
add esp, 0x10
mov ecx, eax
call fcn.10017430
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.1016df90
add esp, 0xc
mov dword [0x10207ef4], 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 0x10207ef0
call fcn.100b8555
add esp, 4
movss xmm0, dword [0x10198600]
movss dword [ebp - 0xbc], xmm0
mov dword [ebp - 0xac], 0
mov edx, dword [ebx + 8]
push edx
lea ecx, [ebp - 0xa7]
call fcn.10142100
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
jne 0x1014243b
jmp 0x10142453
pushal
movss xmm1, dword [ebp - 0xbc]
push 0
mov ecx, dword [ebp - 0xac]
call dword [0x10207ef4]
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.100b851c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x10153e50
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1020af3c]
mov dword [ebp - 4], eax
jmp 0x10153e68
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x10153e7e
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x10153e7c
mov eax, dword [ebp - 4]
jmp 0x10153ef9
jmp 0x10153e60
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 0x10153ef6
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 0x10153eb8
mov edx, dword [ebp - 4]
mov eax, dword [0x1020af3c]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x1020af3c], ecx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x10154f90
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
imul eax, dword [ebp + 8], 0x2c
add eax, dword [0x1020af30]
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 0x10154fd4
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 0x10154ff6
mov eax, 0xa
jmp 0x101550dd
cmp dword [ebp + 0xc], 0
je 0x10155042
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 0x10155040
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 0x1015507e
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x10155069
push 7
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.100b9cc0
add esp, 0xc
jmp 0x1015507e
push 5
mov edx, dword [ebp - 4]
add edx, 0xc
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.100b9cc0
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 0x101550f0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x10155164
mov dword [ebp - 4], 0
jmp 0x10155110
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 0x10155150
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 0x1015514e
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 0x10155107
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
push 0
mov eax, dword [0x101f85f8]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esp, ebp
pop ebp
ret

Function at 0x10155170
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.10155220
add esp, 4
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x1015520d
mov dword [ebp - 4], 0
jmp 0x101551b9
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 0x1015520d
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 0x1015520b
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.10155370
add esp, 0xc
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x101551b0
mov esp, ebp
pop ebp
ret
Function at 0x10155220
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x101a6074]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
je 0x10155361
mov dword [ebp - 0x20], 0x1c
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x10155357
cmp dword [ebp - 0x20], 0x10
jb 0x1015533a
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x1015533a
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x1015533a
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x101552ca
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 [0x101f85f8]
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 0x101552c8
jmp 0x10155357
jmp 0x1015531a
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 8]
cmp edx, dword [ecx + 4]
jb 0x1015531a
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 [0x101f85f8]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x10155304
jmp 0x10155357
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 dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x10155264
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b851c
mov esp, ebp
pop ebp
ret
Function at 0x101556d0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
test eax, eax
je 0x10155719
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + edx]
cmp ecx, 0x90
je 0x10155719
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + eax]
cmp edx, 0xcc
je 0x10155719
xor eax, eax
jmp 0x1015575a
mov dword [ebp - 4], 1
jmp 0x1015572b
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x10155755
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
mov ecx, 1
imul edx, ecx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + edx]
cmp eax, edx
je 0x10155753
xor eax, eax
jmp 0x1015575a
jmp 0x10155722
mov eax, 1
mov esp, ebp
pop ebp
ret