joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002e890
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov bl, byte [ecx]
or eax, 0xffffffff
push esi
lea esi, [ecx + 1]
or ecx, 0xffffffff
push edi
test bl, bl
je 0x1002e8cf
cmp bl, 0x23
jne 0x1002e8b1
cmp byte [esi], bl
jne 0x1002e8b1
cmp byte [esi + 1], bl
cmove eax, ecx
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
mov ecx, 0xffffffff
xor eax, dword [edx*4 + 0x100ace68]
test bl, bl
jne 0x1002e8a2
mov ecx, dword [0x100c7bb8]
not eax
mov esi, dword [ecx + 0x197c]
mov edi, dword [ecx + 0x1984]
lea ebx, [edi + esi*8]
test esi, esi
je 0x1002e90e
nop word [eax + eax]
mov edx, esi
shr edx, 1
cmp dword [edi + edx*8], eax
lea ecx, [edi + edx*8]
jae 0x1002e908
lea edi, [ecx + 8]
or ecx, 0xffffffff
sub ecx, edx
add esi, ecx
jmp 0x1002e90a
mov esi, edx
test esi, esi
jne 0x1002e8f0
cmp edi, ebx
je 0x1002e91d
cmp dword [edi], eax
jne 0x1002e91d
mov eax, dword [edi + 4]
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x10037e60
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [0x100c7bb8]
push esi
mov esi, ebx
mov dword [ebp - 4], ecx
push edi
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov edi, dword [esi + 0x2c5c]
mov ecx, dword [esi + 0x2c60]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 0xc], 0
cmp edi, ecx
jne 0x10037f50
inc edi
test ecx, ecx
je 0x10037ec6
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10037ecb
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x10037f50
test esi, esi
je 0x10037ede
inc dword [esi + 0x36c]
lea eax, [edi*8]
sub eax, edi
shl eax, 2
push eax
call fcn.1006eea7
mov ebx, eax
add esp, 4
mov eax, dword [esi + 0x2c64]
test eax, eax
je 0x10037f3e
mov ecx, dword [esi + 0x2c5c]
lea edx, [ecx*8]
sub edx, ecx
shl edx, 2
push edx
push eax
push ebx
call fcn.10068590
mov ecx, dword [esi + 0x2c64]
add esp, 0xc
test ecx, ecx
je 0x10037f35
mov eax, dword [0x100c7bb8]
test eax, eax
je 0x10037f35
dec dword [eax + 0x36c]
push ecx
call fcn.1006ee8c
add esp, 4
mov dword [esi + 0x2c64], ebx
mov ebx, dword [0x100c7bb8]
mov dword [esi + 0x2c60], edi
mov eax, dword [esi + 0x2c5c]
mov ecx, dword [esi + 0x2c64]
movups xmm0, xmmword [ebp - 0x24]
mov edi, dword [ebp - 4]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [ebp - 0xc]
movups xmmword [ecx + edx*4], xmm0
movq xmm0, qword [ebp - 0x14]
movq qword [ecx + edx*4 + 0x10], xmm0
mov dword [ecx + edx*4 + 0x18], eax
inc dword [esi + 0x2c5c]
mov eax, dword [esi + 0x2c5c]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + 0x2c64]
mov esi, edi
lea eax, [eax + ecx*4]
add eax, 0xffffffe4
lea ecx, [esi + 1]
mov dword [ebp - 8], eax
nop dword [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x10037fb0
sub esi, ecx
test ebx, ebx
je 0x10037fc3
inc dword [ebx + 0x36c]
inc esi
push esi
call fcn.1006eea7
push esi
push edi
push eax
call fcn.10068590
mov ebx, dword [ebp - 8]
lea esi, [edi + 1]
add esp, 0x10
or edx, 0xffffffff
mov dword [ebx], eax
mov al, byte [edi]
test al, al
je 0x10038017
or edi, 0xffffffff
nop dword [eax]
cmp al, 0x23
jne 0x10037ffe
cmp byte [esi], al
jne 0x10037ffe
cmp byte [esi + 1], al
cmove edx, edi
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x100ace68]
test al, al
jne 0x10037ff0
pop edi
not edx
mov eax, ebx
pop esi
mov dword [ebx + 4], edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10038030
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, edx
mov edx, dword [0x100c7bb8]
mov dword [ebp - 0xc], edx
push edi
mov edi, ecx
test esi, esi
jne 0x10038059
mov esi, edi
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x10038050
sub esi, ecx
test edx, edx
je 0x10038063
inc dword [edx + 0x36c]
lea eax, [esi + 1]
push eax
call fcn.1006eea7
push esi
push edi
push eax
lea ebx, [eax + esi]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
call fcn.10068590
mov edi, dword [ebp - 0x10]
xor edx, edx
add esp, 0x10
mov byte [ebx], 0
xor esi, esi
mov dword [ebp - 8], edx
mov ecx, edi
cmp edi, ebx
jae 0x100381f2
nop word [eax + eax]
mov al, byte [ecx]
cmp al, 0xa
je 0x1003821f
cmp al, 0xd
je 0x1003821f
mov edi, ecx
cmp ecx, ebx
jae 0x100380c7
mov al, byte [edi]
cmp al, 0xa
je 0x100380c7
cmp al, 0xd
je 0x100380c7
inc edi
cmp edi, ebx
jb 0x100380b8
mov byte [edi], 0
mov al, byte [ecx]
cmp al, 0x3b
je 0x100381e4
cmp al, 0x5b
jne 0x100381cb
cmp edi, ecx
jbe 0x100381cb
cmp byte [edi - 1], 0x5d
lea ebx, [edi - 1]
jne 0x100381c8
lea esi, [ecx + 1]
mov byte [ebx], 0
mov eax, ebx
sub eax, esi
push eax
push 0x5d
push esi
call fcn.10068ce0
add esp, 0xc
mov dword [ebp - 8], eax
test eax, eax
je 0x10038133
lea ecx, [eax + 1]
sub ebx, ecx
push ebx
push 0x5b
push ecx
call fcn.10068ce0
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x10038133
mov eax, dword [ebp - 8]
lea edx, [ecx + 1]
mov dword [ebp - 8], edx
mov byte [eax], 0
jmp 0x1003813b
mov dword [ebp - 8], esi
mov esi, str.Window
mov cl, byte [esi]
or eax, 0xffffffff
mov ebx, dword [0x100c7bb8]
inc esi
test cl, cl
je 0x1003817e
or ebx, 0xffffffff
nop
cmp cl, 0x23
jne 0x1003815f
cmp byte [esi], cl
jne 0x1003815f
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x100ace68]
test cl, cl
jne 0x10038150
mov ebx, dword [0x100c7bb8]
mov edx, dword [ebx + 0x2c50]
xor ecx, ecx
not eax
test edx, edx
jle 0x1003819f
mov esi, dword [ebx + 0x2c58]
cmp dword [esi + 4], eax
je 0x100381ab
inc ecx
add esi, 0x18
cmp ecx, edx
jl 0x10038192
xor esi, esi
mov ebx, dword [ebp - 4]
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x100381e4
test esi, esi
je 0x100381a1
push dword [ebp - 8]
mov eax, dword [esi + 8]
push esi
push dword [ebp - 0xc]
call eax
mov ebx, dword [ebp - 4]
mov edx, eax
add esp, 0xc
mov dword [ebp - 8], edx
jmp 0x100381e4
mov ebx, dword [ebp - 4]
test esi, esi
je 0x100381e4
test edx, edx
je 0x100381e4
mov eax, dword [esi + 0xc]
push ecx
push edx
push esi
push dword [ebp - 0xc]
call eax
mov edx, dword [ebp - 8]
add esp, 0x10
lea ecx, [edi + 1]
cmp ecx, ebx
jb 0x100380a0
mov edi, dword [ebp - 0x10]
test edi, edi
je 0x10038205
mov eax, dword [0x100c7bb8]
test eax, eax
je 0x10038205
dec dword [eax + 0x36c]
push edi
call fcn.1006ee8c
mov eax, dword [ebp - 0xc]
add esp, 4
pop edi
pop esi
mov byte [eax + 0x2c3c], 1
pop ebx
mov esp, ebp
pop ebp
ret
inc ecx
jmp 0x100380a0
Function at 0x10048750
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [0x100c7bb8]
lea eax, [ebp - 0x28]
push esi
push edi
push eax
push dword [0x100c9290]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
movd xmm1, eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
lea eax, [ebp - 0x18]
cvtdq2ps xmm0, xmm0
push eax
movss dword [ebx + 0x10], xmm1
movss dword [ebx + 0x14], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edi, dword [ebp - 0x18]
mov ecx, edi
sub ecx, dword [0x100c9298]
mov esi, dword [ebp - 0x14]
mov edx, esi
sbb edx, dword [0x100c929c]
call fcn.100836c0
mov edx, dword [0x100c92a4]
mov ecx, dword [0x100c92a0]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 4], xmm0
call fcn.100836c0
movss xmm1, dword [ebp - 4]
cvtsd2ss xmm0, xmm0
push 0x11
divss xmm1, xmm0
movss dword [ebx + 0x18], xmm1
mov dword [0x100c929c], esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [0x100c9298], edi
call esi
shr eax, 0xf
and al, 1
push 0x10
mov byte [ebx + 0xf8], al
call esi
shr eax, 0xf
and al, 1
push 0x12
mov byte [ebx + 0xf9], al
call esi
mov ecx, dword [0x100c7bb8]
shr eax, 0xf
and al, 1
mov byte [ebx + 0xfb], 0
mov byte [ebx + 0xfa], al
cmp byte [ecx + 0x353], 0
lea esi, [ecx + 0xe0]
je 0x1004886d
cvttss2si eax, dword [esi]
mov dword [ebp - 8], eax
cvttss2si eax, dword [ecx + 0xe4]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push dword [0x100c9290]
call dword [sym.imp.USER32.dll_ClientToScreen]
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SetCursorPos]
mov dword [esi], 0xff7fffff
mov dword [esi + 4], 0xff7fffff
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x100488d5
mov ecx, dword [0x100c9290]
cmp eax, ecx
je 0x1004889a
push ecx
push eax
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x100488d5
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x100488d5
lea eax, [ebp - 0x10]
push eax
push dword [0x100c9290]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x100488d5
movd xmm0, dword [ebp - 0x10]
movd xmm1, dword [ebp - 0xc]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [esi], xmm0
movss dword [esi + 4], xmm1
mov esi, dword [0x100c7bb8]
push 0x54
push 0
lea eax, [esi + 0x2fc]
push eax
call fcn.10068b10
add esp, 0xc
test byte [esi + 8], 2
je 0x1004890f
cmp byte [0x100c5148], 0
je 0x1004890b
mov byte [0x100c7c6d], 0
mov byte [0x100c5148], 0
and dword [esi + 0xc], 0xfffffffe
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10048e60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
sub eax, 0
je 0x10048e9d
sub eax, 1
jne 0x10048fba
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0
push 0
push esi
push 0x10048c30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop esi
pop ebp
ret 0xc
cmp dword [ebp + 0x10], 0
jne 0x10048fba
mov ecx, 0x100d0e40
call fcn.100241d0
mov ecx, 0x100d0ecc
call fcn.100241d0
mov ecx, 0x100d0ea4
call fcn.100241d0
mov ecx, 0x100d0ee0
call fcn.100241d0
mov ecx, 0x100d0e7c
call fcn.100241d0
mov ecx, 0x100d0e90
call fcn.100241d0
mov ecx, 0x100d0f08
call fcn.100241d0
mov ecx, 0x100d0ef4
call fcn.100241d0
mov eax, dword fs:[0x2c]
mov ecx, dword [0x100c6efc]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x100d10d0]
cmp eax, dword [ecx + 4]
jle 0x10048f40
push 0x100d10d0
call fcn.1006610e
add esp, 4
cmp dword [0x100d10d0], 0xffffffff
jne 0x10048f40
push 0x1008b6e0
call fcn.100665bc
push 0x100d10d0
call fcn.100660bd
add esp, 8
mov eax, dword [0x100c93cc]
push edi
xor edi, edi
cmp dword [eax + 0xc], edi
jle 0x10048f86
push ebx
xor ebx, ebx
mov esi, dword [eax]
cmp dword [esi + ebx], 0xfffffffe
jne 0x10048f7c
mov ecx, dword [esi + ebx + 4]
test ecx, ecx
je 0x10048f7c
mov eax, dword [ecx + 8]
add ecx, 8
mov eax, dword [eax + 0x24]
call eax
test al, al
mov eax, dword [0x100c93cc]
jne 0x10048f7c
mov dword [esi + ebx + 0x14], 0
inc edi
add ebx, 0x38
cmp edi, dword [eax + 0xc]
jl 0x10048f50
pop ebx
mov eax, dword [0x100d10bc]
push 0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ecx + 0x20], eax
call fcn.10062ef0
push 0
call fcn.10062db0
call fcn.100629f0
push 0xa4
push dword [0x100cc130]
call fcn.100665d1
add esp, 8
pop edi
mov eax, 1
pop esi
pop ebp
ret 0xc
Function at 0x1005df70
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008a8bd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x138
lea eax, [ebp - 0x144]
push eax
push 0
push 0
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov ax, word [0x100b4f68]
xorps xmm0, xmm0
movups xmmword [ebp - 0x24], xmm0
mov word [ebp - 0x1c], ax
movq xmm0, qword [str.hydraware_]
mov al, byte [0x100b4f6a]
mov dword [ebp - 0x14], 0xb
mov dword [ebp - 0x10], 0xf
movq qword [ebp - 0x24], xmm0
mov byte [ebp - 0x1a], al
mov byte [ebp - 0x19], 0
lea ecx, [ebp - 0x144]
mov dword [ebp - 4], 0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005dff0
sub ecx, edx
lea eax, [ebp - 0x144]
push ecx
push eax
push 0
lea ecx, [ebp - 0x24]
call fcn.1001cf60
mov ecx, 0x100cd9c0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x40]
push eax
movq qword [ebp - 0x30], xmm0
call fcn.10017fc0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x1005e06f
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005e065
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005e100
push ecx
push edx
call fcn.100665d1
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
cmp ecx, 0xf
jbe 0x1005e0a6
mov edx, dword [ebp - 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005e09c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005e100
push ecx
push edx
call fcn.100665d1
add esp, 8
cmp dword [0x100cd9d4], 0xf
mov eax, 0x100cd9c0
push 0
cmova eax, dword [0x100cd9c0]
push eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, 0x100cd348
call fcn.10059fb0
mov ecx, 0x100cd348
call fcn.1005b3e0
mov ecx, 0x100cd348
call fcn.1005c9d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.1006a6f2
int3
Function at 0x10063670
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
lea edi, [ebp - 0x30]
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x100c4380]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x100637ec
mov dword [ebp - 0x28], 0x1c
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x100637d9
cmp dword [ebp - 0x28], 0x10
jb 0x100637bd
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, esp
call fcn.10066a3b
cmp dword [ebp - 0x1c], eax
jne 0x100637bd
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp esi, esp
call fcn.10066a3b
cmp dword [ebp - 0x20], eax
je 0x100637bd
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x10063744
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0x80
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shl edx, 2
mov esi, esp
push edx
push 0
mov eax, dword [0x100c6cb4]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp esi, esp
call fcn.10066a3b
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x10063742
jmp 0x100637d9
jmp 0x1006379d
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 8]
cmp edx, dword [ecx + 4]
jb 0x1006379d
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shl ecx, 1
shl ecx, 2
mov esi, esp
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
push 0
mov ecx, dword [0x100c6cb4]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
cmp esi, esp
call fcn.10066a3b
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x10063787
jmp 0x100637d9
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 - 0x30]
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 - 0x20]
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 - 0x28], 0x1c
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 8]
push edx
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x100636c3
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.10066a3b
push edx
mov ecx, ebp
push eax
lea edx, [0x10063818]
call fcn.100669e7
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10066a5e
add esp, 0x30
cmp ebp, esp
call fcn.10066a3b
mov esp, ebp
pop ebp
ret
Function at 0x10063830
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
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.10063670
add esp, 4
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x100638fb
mov dword [ebp - 4], 0
jmp 0x1006388c
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 0x100638fb
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov esi, esp
mov ecx, dword [ebp - 4]
mov edx, dword [eax + ecx*4]
push edx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
cmp esi, esp
call fcn.10066a3b
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100638f9
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp esi, esp
call fcn.10066a3b
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.10063490
add esp, 0xc
mov esi, esp
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.10066a3b
jmp 0x10063883
pop esi
add esp, 8
cmp ebp, esp
call fcn.10066a3b
mov esp, ebp
pop ebp
ret

Function at 0x10063910
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x100639bb
mov dword [ebp - 4], 0
jmp 0x10063943
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 0x1006399e
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov esi, esp
mov eax, dword [ebp - 4]
mov ecx, dword [edx + eax*4]
push ecx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
cmp esi, esp
call fcn.10066a3b
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1006399c
mov esi, esp
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp esi, esp
call fcn.10066a3b
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.10066a3b
jmp 0x1006393a
mov esi, esp
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
push 0
mov eax, dword [0x100c6cb4]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp esi, esp
call fcn.10066a3b
pop esi
add esp, 8
cmp ebp, esp
call fcn.10066a3b
mov esp, ebp
pop ebp
ret
Function at 0x100639d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov eax, 0xcccccccc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
imul eax, dword [ebp + 8], 0x2c
add eax, dword [0x100d33c0]
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 5
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x10063a33
mov eax, dword [ebp - 0x18]
sub eax, 5
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
add ecx, 2
mov dword [ebp - 0x14], ecx
mov esi, esp
lea edx, [ebp - 0xc]
push edx
push 0x40
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.10066a3b
test eax, eax
jne 0x10063a5e
mov eax, 0xa
jmp 0x10063b60
cmp dword [ebp + 0xc], 0
je 0x10063aaa
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov byte [eax], 0xe9
mov ecx, dword [ebp - 0x18]
add ecx, 5
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
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 0x10063aa8
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov byte [ecx], 0xeb
mov edx, dword [ebp - 0x20]
mov byte [edx + 1], 0xf9
jmp 0x10063ae6
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x10063ad1
push 7
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.10068590
add esp, 0xc
jmp 0x10063ae6
push 5
mov edx, dword [ebp - 4]
add edx, 0xc
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.10068590
add esp, 0xc
mov esi, esp
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.10066a3b
mov esi, esp
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov edi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp edi, esp
call fcn.10066a3b
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
cmp esi, esp
call fcn.10066a3b
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
push edx
mov ecx, ebp
push eax
lea edx, [0x10063b84]
call fcn.100669e7
pop eax
pop edx
pop edi
pop esi
add esp, 0x20
cmp ebp, esp
call fcn.10066a3b
mov esp, ebp
pop ebp
ret
Function at 0x10064260
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [0x100d33b0]
mov dword [ebp - 4], eax
jmp 0x10064287
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x100642a0
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x1006429e
mov eax, dword [ebp - 4]
jmp 0x10064324
jmp 0x1006427f
mov esi, esp
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp esi, esp
call fcn.10066a3b
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10064321
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 0x100642e3
mov edx, dword [ebp - 4]
mov eax, dword [0x100d33b0]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x100d33b0], ecx
mov eax, dword [ebp - 4]
pop esi
add esp, 8
cmp ebp, esp
call fcn.10066a3b
mov esp, ebp
pop ebp
ret

Function at 0x10064810
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0xcccccccc
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
test eax, eax
je 0x10064860
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + edx]
cmp ecx, 0x90
je 0x10064860
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + eax]
cmp edx, 0xcc
je 0x10064860
xor eax, eax
jmp 0x100648a1
mov dword [ebp - 4], 1
jmp 0x10064872
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1006489c
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 0x1006489a
xor eax, eax
jmp 0x100648a1
jmp 0x10064869
mov eax, 1
mov esp, ebp
pop ebp
ret