joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10051bb0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], edx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
movsx ecx, byte [eax]
test ecx, ecx
je 0x10051be8
mov edx, dword [ebp - 4]
movsx eax, byte [edx]
xor eax, dword [ebp - 8]
mov ecx, 0x1000193
mul ecx
mov ecx, dword [ebp - 4]
add ecx, 1
mov edx, eax
call fcn.10051bb0
mov dword [ebp - 0xc], eax
jmp 0x10051bee
mov edx, dword [ebp - 8]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x10051c00
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
mov ecx, dword [0x101d84cc]
mov dword [ebp - 8], ecx
movsx edx, byte [str.CBaseAnimating__m_flPoseParameter]
test edx, edx
je 0x10051c47
movsx eax, byte [str.CBaseAnimating__m_flPoseParameter]
xor eax, 0x811c9dc5
mov ecx, 0x1000193
mul ecx
mov edx, eax
mov ecx, 0x101a3091
call fcn.10051bb0
mov dword [ebp - 4], eax
jmp 0x10051c4e
mov dword [ebp - 4], 0x811c9dc5
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
call fcn.1003fbc0
movzx eax, ax
add eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x1005eee0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x58], 0x19cdc55d
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x1c], eax
mov ecx, dword [0x101d84cc]
mov dword [ebp - 0x1c], ecx
push 0x19cdc55d
mov ecx, dword [ebp - 0x1c]
call fcn.1003fbc0
movzx edx, ax
add edx, dword [ebp - 0x34]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
mov cx, word [eax]
mov word [ebp - 4], cx
mov edx, 0x1f4
cmp word [ebp - 4], dx
jl 0x1005ef38
mov eax, 0x13a3
cmp word [ebp - 4], ax
jl 0x1005ef4f
cmp word [ebp - 4], 0x3b
je 0x1005ef4f
cmp word [ebp - 4], 0x2a
je 0x1005ef4f
mov dword [ebp - 0x20], 0
jmp 0x1005ef56
mov dword [ebp - 0x20], 1
movzx ecx, byte [ebp - 0x20]
test ecx, ecx
jne 0x1005ef63
jmp 0x1005f065
mov ecx, 0x2a
call fcn.1005aff0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x1005ef7f
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x20], 0
jne 0x1005ef84
jmp 0x1005f065
mov eax, dword [0x101d84b8]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + 0x50]
call edx
mov dword [ebp - 0x24], eax
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov ecx, dword [ecx + eax]
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp - 0x24]
call dword [ebp - 0x40]
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x14]
mov ax, word [edx + 0x20]
mov word [ebp - 6], ax
mov ecx, 4
shl ecx, 2
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov ecx, dword [ecx + eax]
mov dword [ebp - 0x44], ecx
movzx edx, word [ebp - 6]
push edx
mov ecx, dword [ebp - 0x28]
call dword [ebp - 0x44]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x1005efe7
jmp 0x1005f065
mov eax, 4
imul ecx, eax, 6
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov ecx, dword [ecx + eax]
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp - 0x18]
call dword [ebp - 0x48]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x1005f065
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], 0x811c9dc5
mov edx, dword [ebp - 0x10]
movsx eax, byte [edx]
test eax, eax
je 0x1005f04f
mov ecx, dword [ebp - 0x10]
movsx edx, byte [ecx]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0xc]
xor ecx, dword [ebp - 0x4c]
mov dword [ebp - 0xc], ecx
imul edx, dword [ebp - 0xc], 0x1000193
mov dword [ebp - 0xc], edx
jmp 0x1005f01e
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x54]
call fcn.1005ebf0
mov ecx, dword [ebp - 0x30]
mov dword [ecx], eax
mov esp, ebp
pop ebp
ret
Function at 0x10064320
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
jmp 0x10064344
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 2
jae 0x10064365
mov edx, dword [ebp - 0x10]
add edx, dword [ebp - 8]
movzx eax, byte [edx]
xor eax, dword [ebp - 4]
mov dword [ebp - 4], eax
imul ecx, dword [ebp - 4], 0x1000193
mov dword [ebp - 4], ecx
jmp 0x1006433b
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x10072370
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x24], ecx
mov eax, dword [0x101d84c4]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x10], edx
mov eax, 4
imul ecx, eax, 0x35
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ecx + eax]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x10]
call dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], 0x811c9dc5
mov eax, dword [ebp - 0xc]
movsx ecx, byte [eax]
test ecx, ecx
je 0x100723e4
mov edx, dword [ebp - 0xc]
movsx eax, byte [edx]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 4]
xor edx, dword [ebp - 0x20]
mov dword [ebp - 4], edx
imul eax, dword [ebp - 4], 0x1000193
mov dword [ebp - 4], eax
jmp 0x100723b3
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0xe178808e
ja 0x10072410
cmp dword [ebp - 8], 0xe178808e
je 0x10072422
cmp dword [ebp - 8], 0x6aaf22d3
je 0x10072429
cmp dword [ebp - 8], 0x99537d1c
je 0x10072430
jmp 0x10072437
cmp dword [ebp - 8], 0xfd8a2794
je 0x1007241b
jmp 0x10072437
mov eax, str.detail_detailsprites_survival
jmp 0x10072439
mov eax, str.detail_dust_massive_detail_sprites
jmp 0x10072439
mov eax, str.detail_autumn_detail_sprites
jmp 0x10072439
mov eax, str.ski_detail_detailsprites_overgrown_ski
jmp 0x10072439
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10087090
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
not eax
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x18], 0x101b3590
mov edx, dword [ebp - 8]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 0x14], 0
je 0x100870f7
mov ecx, dword [ebp - 4]
shr ecx, 8
mov edx, dword [ebp - 4]
and edx, 0xff
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
xor edx, eax
mov eax, dword [ebp - 0x18]
xor ecx, dword [eax + edx*4]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 4], edx
jmp 0x100870b1
mov eax, dword [ebp - 4]
not eax
mov esp, ebp
pop ebp
ret 4

Function at 0x10087110
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + 8]
not eax
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
mov dword [ebp - 0x14], 0x101b3590
cmp dword [ebp - 0x10], 0
je 0x100871cf
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x10]
sub ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x1c], 0
je 0x100871cd
mov edx, dword [ebp - 8]
mov al, byte [edx]
mov byte [ebp - 3], al
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov dl, byte [ebp - 3]
mov byte [ebp - 2], dl
movzx eax, byte [ebp - 2]
cmp eax, 0x23
jne 0x100871aa
cmp dword [ebp - 0x10], 2
jb 0x100871aa
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + edx]
cmp ecx, 0x23
jne 0x100871aa
mov edx, 1
shl edx, 0
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + edx]
cmp ecx, 0x23
jne 0x100871aa
mov edx, dword [ebp + 8]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
shr eax, 8
mov ecx, dword [ebp - 0xc]
and ecx, 0xff
movzx edx, byte [ebp - 2]
xor ecx, edx
mov edx, dword [ebp - 0x14]
xor eax, dword [edx + ecx*4]
mov dword [ebp - 0xc], eax
jmp 0x10087141
jmp 0x10087244
mov eax, dword [ebp - 8]
mov cl, byte [eax]
mov byte [ebp - 4], cl
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov al, byte [ebp - 4]
mov byte [ebp - 1], al
movzx ecx, byte [ebp - 1]
test ecx, ecx
je 0x10087244
movzx edx, byte [ebp - 1]
cmp edx, 0x23
jne 0x10087225
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 8]
movzx eax, byte [edx + ecx]
cmp eax, 0x23
jne 0x10087225
mov ecx, 1
shl ecx, 0
mov edx, dword [ebp - 8]
movzx eax, byte [edx + ecx]
cmp eax, 0x23
jne 0x10087225
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
shr edx, 8
mov eax, dword [ebp - 0xc]
and eax, 0xff
movzx ecx, byte [ebp - 1]
xor eax, ecx
mov ecx, dword [ebp - 0x14]
xor edx, dword [ecx + eax*4]
mov dword [ebp - 0xc], edx
jmp 0x100871cf
mov eax, dword [ebp - 0xc]
not eax
mov esp, ebp
pop ebp
ret 4
Function at 0x10087400
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.10177480
add esp, 0x10
xor edx, edx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x10087430
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.101757f5
add esp, 0x10
xor edx, edx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x100e79e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
call fcn.1008cee0
mov dword [ebp - 4], eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [0x101df2a8]
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [ebp - 0x3c]
sub edx, dword [ebp - 0x44]
cvtsi2ss xmm0, edx
movss dword [ebp - 0x1c], xmm0
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x40]
cvtsi2ss xmm0, eax
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [ebp - 0x1c]
movss dword [ebp - 0x34], xmm0
movss xmm0, dword [ebp - 0x20]
movss dword [ebp - 0x30], xmm0
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
xorps xmm0, xmm0
movlpd qword [ebp - 0x2c], xmm0
lea ecx, [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [0x101df2a0]
mov edx, dword [ebp - 0x28]
sbb edx, dword [0x101df2a4]
call fcn.10190140
cvtsd2ss xmm0, xmm0
mov edx, dword [0x101df29c]
mov ecx, dword [0x101df298]
movss dword [ebp - 0x24], xmm0
call fcn.10190140
cvtsd2ss xmm0, xmm0
movss xmm1, dword [ebp - 0x24]
divss xmm1, xmm0
mov edx, dword [ebp - 4]
movss dword [edx + 0x10], xmm1
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov dword [0x101df2a0], eax
mov dword [0x101df2a4], ecx
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
and edx, 0x8000
je 0x100e7ae1
mov dword [ebp - 8], 1
jmp 0x100e7ae8
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov cl, byte [ebp - 8]
mov byte [eax + 0xf4], cl
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
and edx, 0x8000
je 0x100e7b10
mov dword [ebp - 0xc], 1
jmp 0x100e7b17
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 4]
mov cl, byte [ebp - 0xc]
mov byte [eax + 0xf5], cl
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
and edx, 0x8000
je 0x100e7b3f
mov dword [ebp - 0x10], 1
jmp 0x100e7b46
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
mov cl, byte [ebp - 0x10]
mov byte [eax + 0xf6], cl
mov edx, dword [ebp - 4]
mov byte [edx + 0xf7], 0
call fcn.100e7310
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0xa8]
test ecx, ecx
je 0x100e7b78
mov dword [ebp - 0x14], 0xffffffff
jmp 0x100e7b80
call fcn.10091fd0
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x18], edx
mov eax, dword [0x101d80f0]
cmp eax, dword [ebp - 0x18]
je 0x100e7b9e
mov ecx, dword [ebp - 0x18]
mov dword [0x101d80f0], ecx
call fcn.100e7220
call fcn.100e7430
mov esp, ebp
pop ebp
ret
Function at 0x101278d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [0x101e53dc]
mov dword [ebp - 4], eax
jmp 0x101278eb
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x10127901
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x101278ff
mov eax, dword [ebp - 4]
jmp 0x1012797c
jmp 0x101278e3
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 0x10127979
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 0x1012793b
mov edx, dword [ebp - 4]
mov eax, dword [0x101e53dc]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x101e53dc], ecx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x101289b0
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], ecx
push 0
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x10128aea
mov dword [ebp - 0x28], 0x1c
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x10128ae0
cmp dword [ebp - 0x28], 0x10
jb 0x10128ac3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x1c], eax
jne 0x10128ac3
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x20], eax
je 0x10128ac3
mov edx, dword [ebp - 4]
cmp dword [edx], 0
jne 0x10128a53
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0x80
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
shl edx, 2
push edx
push 0
mov eax, dword [0x101df2c0]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
cmp dword [edx], 0
jne 0x10128a51
jmp 0x10128ae0
jmp 0x10128aa3
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 8]
cmp edx, dword [ecx + 4]
jb 0x10128aa3
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
shl ecx, 1
shl ecx, 2
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
push 0
mov ecx, dword [0x101df2c0]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x10128a8d
jmp 0x10128ae0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
shl eax, 1
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x20]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
add edx, 1
mov eax, dword [ebp - 4]
mov dword [eax + 8], edx
mov dword [ebp - 0x28], 0x1c
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x101289ed
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret
Function at 0x10128af0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 4]
mov dword [edx + 8], 0
mov ecx, dword [ebp - 4]
call fcn.101289b0
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x10128b8a
mov dword [ebp - 8], 0
jmp 0x10128b3b
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
cmp eax, dword [edx + 8]
jae 0x10128b8a
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 8]
mov ecx, dword [edx + eax*4]
push ecx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x10128b88
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
call fcn.10128890
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10128b32
mov esp, ebp
pop ebp
ret 4

Function at 0x10128b90
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x10128c07
mov dword [ebp - 4], 0
jmp 0x10128bb3
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 0x10128bf3
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 - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x10128bf1
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10128baa
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
push edx
push 0
mov eax, dword [0x101df2c0]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esp, ebp
pop ebp
ret
Function at 0x10128c10
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x20], ecx
imul eax, dword [ebp - 0x20], 0x2c
add eax, dword [0x101e53d0]
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 0x10128c5a
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 - 0x1c]
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 0x10128c7c
mov eax, 0xa
jmp 0x10128d67
cmp dword [ebp - 0x10], 0
je 0x10128cc8
mov edx, dword [ebp - 8]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
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 - 0x14]
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 0x10128cc6
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov byte [ecx], 0xeb
mov edx, dword [ebp - 0x18]
mov byte [edx + 1], 0xf9
jmp 0x10128d08
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x10128cf5
mov eax, dword [ebp - 4]
add eax, 0xc
mov ecx, dword [ebp - 8]
mov edx, dword [eax]
mov dword [ecx], edx
mov dx, word [eax + 4]
mov word [ecx + 4], dx
mov al, byte [eax + 6]
mov byte [ecx + 6], al
jmp 0x10128d08
mov ecx, dword [ebp - 4]
add ecx, 0xc
mov edx, dword [ebp - 8]
mov eax, dword [ecx]
mov dword [edx], eax
mov cl, byte [ecx + 4]
mov byte [edx + 4], cl
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov dl, byte [ebp - 0x10]
and dl, 1
shl dl, 1
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 0xfd
or cl, dl
mov edx, dword [ebp - 4]
mov byte [edx + 0x14], cl
mov al, byte [ebp - 0x10]
and al, 1
shl al, 2
mov ecx, dword [ebp - 4]
mov dl, byte [ecx + 0x14]
and dl, 0xfb
or dl, al
mov eax, dword [ebp - 4]
mov byte [eax + 0x14], dl
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10128fa0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 8], 0
call fcn.10128e50
cmp dword [0x101df2c0], 0
je 0x10129147
mov ecx, dword [ebp + 8]
call fcn.10127a80
test eax, eax
je 0x1012913e
mov ecx, dword [ebp + 0xc]
call fcn.10127a80
test eax, eax
je 0x1012913e
mov ecx, dword [ebp + 8]
call fcn.101286a0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x10129135
mov ecx, dword [ebp + 8]
call fcn.10127980
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1012912c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x2c], edx
lea ecx, [ebp - 0x34]
call fcn.10129310
test eax, eax
je 0x10129115
call fcn.101286f0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1012910c
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x34]
mov dword [eax], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x30]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x2c]
mov dword [ecx + 8], edx
mov al, byte [ebp - 0x28]
and al, 1
mov ecx, dword [ebp - 4]
mov dl, byte [ecx + 0x14]
and dl, 0xfe
or dl, al
mov eax, dword [ebp - 4]
mov byte [eax + 0x14], dl
mov ecx, dword [ebp - 4]
mov dl, byte [ecx + 0x14]
and dl, 0xfd
mov eax, dword [ebp - 4]
mov byte [eax + 0x14], dl
mov ecx, dword [ebp - 4]
mov dl, byte [ecx + 0x14]
and dl, 0xfb
mov eax, dword [ebp - 4]
mov byte [eax + 0x14], dl
mov ecx, dword [ebp - 0x24]
and ecx, 0xf
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x18]
and eax, 0xfffffff0
or eax, ecx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x18], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [edx + 0x1c], eax
mov dword [edx + 0x20], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [edx + 0x24], eax
mov dword [edx + 0x28], ecx
cmp dword [ebp - 0x28], 0
je 0x101290e6
mov edx, dword [ebp + 8]
sub edx, 5
mov eax, dword [ebp - 4]
add eax, 0xc
mov ecx, dword [edx]
mov dword [eax], ecx
mov cx, word [edx + 4]
mov word [eax + 4], cx
mov dl, byte [edx + 6]
mov byte [eax + 6], dl
jmp 0x101290f9
mov eax, dword [ebp - 4]
add eax, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [eax], edx
mov cl, byte [ecx + 4]
mov byte [eax + 4], cl
cmp dword [ebp + 0x10], 0
je 0x1012910a
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov dword [edx], ecx
jmp 0x10129113
mov dword [ebp - 8], 9
jmp 0x1012911c
mov dword [ebp - 8], 8
cmp dword [ebp - 8], 0
je 0x1012912a
mov ecx, dword [ebp - 0xc]
call fcn.101279d0
jmp 0x10129133
mov dword [ebp - 8], 9
jmp 0x1012913c
mov dword [ebp - 8], 3
jmp 0x10129145
mov dword [ebp - 8], 7
jmp 0x1012914e
mov dword [ebp - 8], 2
call fcn.10128ea0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0xc