joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100609c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
call fcn.1002f880
mov edi, eax
xorps xmm0, xmm0
lea eax, [ebp - 0x28]
push eax
push dword [0x10248748]
movups xmmword [ebp - 0x28], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x28]
movd xmm0, eax
lea eax, [ebp - 0x10]
cvtdq2ps xmm0, xmm0
push eax
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
movss dword [edi + 0xc], xmm0
xorps xmm0, xmm0
movss dword [edi + 8], xmm1
movlpd qword [ebp - 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [0x10248750]
mov edx, dword [ebp - 0xc]
sbb edx, dword [0x10248754]
call fcn.100d4060
mov edx, dword [0x1024875c]
mov ecx, dword [0x10248758]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 4], xmm0
call fcn.100d4060
movss xmm1, dword [ebp - 4]
cvtsd2ss xmm0, xmm0
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
divss xmm1, xmm0
movss dword [edi + 0x10], xmm1
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [0x10248750], eax
mov dword [0x10248754], ecx
call esi
shr eax, 0xf
and al, 1
push 0x10
mov byte [edi + 0xf4], al
call esi
shr eax, 0xf
and al, 1
push 0x12
mov byte [edi + 0xf5], al
call esi
shr eax, 0xf
and al, 1
mov byte [edi + 0xf7], 0
mov byte [edi + 0xf6], al
call fcn.1002f880
mov esi, eax
cmp byte [esi + 0x34f], 0
je 0x10060af6
cvttss2si ecx, dword ds:[esi + 0xdc]
lea eax, [ebp - 8]
push eax
push dword [0x10248748]
mov dword [ebp - 8], ecx
cvttss2si ecx, dword [esi + 0xe0]
mov dword [ebp - 4], ecx
call dword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x10060af6
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SetCursorPos]
mov dword [esi + 0xdc], 0xff7fffff
mov dword [esi + 0xe0], 0xff7fffff
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x10060b6c
mov ecx, dword [0x10248748]
cmp eax, ecx
je 0x10060b2a
push ecx
push eax
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x10060b6c
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x10060b6c
lea eax, [ebp - 0x18]
push eax
push dword [0x10248748]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x10060b6c
movd xmm0, dword [ebp - 0x18]
movd xmm1, dword [ebp - 0x14]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [esi + 0xdc], xmm0
movss dword [esi + 0xe0], xmm1
cmp byte [edi + 0xa8], 0
pop edi
pop esi
je 0x10060b7c
or eax, 0xffffffff
jmp 0x10060b85
nop dword [eax]
call fcn.10038620
cmp dword [0x1023b8b0], eax
je 0x10060b97
mov dword [0x1023b8b0], eax
call fcn.10061460
mov esp, ebp
pop ebp
ret
Function at 0x1008e9e0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [0x10248a4c]
test eax, eax
je 0x1008e9fc
nop dword [eax]
cmp dword [eax + 4], 0
jne 0x1008ea52
mov eax, dword [eax]
test eax, eax
jne 0x1008e9f0
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x1008ea4f
push esi
push edi
xor edi, edi
mov dword [eax + 8], 0
lea edx, [eax + 0x20]
lea esi, [edi + 0x20]
mov dword [edx], edi
mov ecx, edx
mov dword [eax + 4], edx
add esi, 0x20
add edx, 0x20
mov edi, ecx
cmp esi, 0xfe0
jbe 0x1008ea25
mov ecx, dword [0x10248a4c]
mov dword [eax], ecx
mov dword [0x10248a4c], eax
pop edi
pop esi
test eax, eax
jne 0x1008ea52
xor eax, eax
ret
mov edx, dword ds:[eax + 4]
mov ecx, dword [edx]
inc dword [eax + 8]
mov dword [eax + 4], ecx
mov eax, edx
ret
Function at 0x1008fb60
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
imul esi, dword [ebp + 8], 0x2c
push edi
add esi, dword [0x10248a58]
mov eax, dword [esi]
mov cl, byte [esi + 0x14]
and cl, 1
lea edi, [eax - 5]
cmove edi, eax
movzx eax, cl
lea ecx, [ebp + 8]
push ecx
push 0x40
lea eax, [eax*2 + 5]
push eax
push edi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1008fba8
pop edi
mov eax, 0xa
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x1008fbcd
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x1008fbee
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x1008fbee
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x1008fbe8
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x1008fbee
mov al, byte [esi + 0x10]
mov byte [edi + 4], al
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
push dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov cl, bl
shl bl, 2
add cl, cl
xor cl, byte [esi + 0x14]
and cl, 2
xor cl, byte [esi + 0x14]
xor bl, cl
and bl, 4
xor bl, cl
xor eax, eax
mov byte [esi + 0x14], bl
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1008fce0
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x1008fdd4
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x1008fdcd
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x1c], 0x10
jb 0x1008fdb4
call ebx
nop dword [eax + eax]
cmp dword [ebp - 0x10], eax
jne 0x1008fdb4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x14], eax
je 0x1008fdb4
mov edx, dword [esi]
test edx, edx
jne 0x1008fd79
push 0x200
push edx
mov dword [esi + 4], 0x80
push dword [0x10248a54]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x1008fdcd
jmp 0x1008fda8
mov eax, dword ds:[esi + 4]
cmp dword [esi + 8], eax
jb 0x1008fda8
shl eax, 3
push eax
push edx
push 0
push dword [0x10248a54]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x1008fdcd
mov eax, dword [esi + 4]
add eax, eax
mov dword [esi], edx
mov dword [esi + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x14]
mov dword [edx + ecx*4], eax
inc dword [esi + 8]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x1008fd33
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi], 0
je 0x1008fe16
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x1008fe16
mov eax, dword [esi]
push dword [eax + edi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x1008fe10
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1008fe20
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x1008fde5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1008ff80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
call fcn.1008fc40
cmp dword [0x10248a54], 0
je 0x10090026
mov edx, dword [ebp + 8]
push esi
push edi
test edx, edx
jne 0x1008ffe1
xor esi, esi
cmp dword [0x10248a60], esi
jbe 0x1008ffd1
push ebx
mov bl, byte [ebp + 0xc]
shl bl, 2
xor edi, edi
mov edx, dword [0x10248a58]
lea edi, [edi + 0x2c]
inc esi
mov cl, byte [edx + edi - 0x18]
xor cl, bl
and cl, 4
xor byte [edx + edi - 0x18], cl
cmp esi, dword [0x10248a60]
jb 0x1008ffb1
pop ebx
xor eax, eax
pop edi
pop esi
xor ecx, ecx
mov edx, 0x10248a50
xchg dword [edx], ecx
pop ebp
ret
mov esi, dword [0x10248a60]
xor eax, eax
test esi, esi
je 0x10090004
mov edi, dword [0x10248a58]
mov ecx, edi
cmp edx, dword [ecx]
je 0x1009000b
inc eax
add ecx, 0x2c
cmp eax, esi
jb 0x1008fff5
mov eax, 4
jmp 0x1008ffd3
cmp eax, 0xffffffff
je 0x10090004
mov cl, byte [ebp + 0xc]
imul edx, eax, 0x2c
shl cl, 2
xor cl, byte [edx + edi + 0x14]
and cl, 4
xor byte [edx + edi + 0x14], cl
jmp 0x1008ffd1
mov eax, 2
jmp 0x1008ffd5
Function at 0x10090040
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
cmp dword [edi], 0
je 0x10090097
push esi
xor esi, esi
cmp dword [edi + 8], esi
jbe 0x10090086
push ebx
mov eax, dword ds:[edi]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x1009007a
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [edi + 8]
jb 0x10090055
pop ebx
push dword [edi]
push 0
push dword [0x10248a54]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop edi
pop ebp
ret
Function at 0x100908c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x1009090d
stmxcsr dword ds:[ebp + 0xc]
mov eax, dword [ebp + 0xc]
or eax, 0x8000
mov dword [ebp + 0xc], eax
push 1
push 0
push 0
ldmxcsr dword [ebp + 0xc]
push dword [ebp + 8]
stmxcsr dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
push 0x10090840
or eax, 0x40
mov dword [ebp + 0xc], eax
push 0
push 0
ldmxcsr dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, 1
pop ebp
ret 0xc

Function at 0x10096920
Capabilities:
Create thread

Disassembly:
push 0
push 0
push dword [ecx + 0x3c]
mov byte [ecx + 0x38], 1
push 0x100969a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret

Function at 0x10097040
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push edi
mov edi, ecx
mov ecx, dword [0x1024918c]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov eax, dword [edi + 0x18]
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10248b40]
cmp eax, dword [ecx + 4]
jg 0x100970d4
mov ecx, edi
call dword [0x10248b3c]
mov eax, edi
pop edi
ret
push 0x10248b40
call fcn.100d393d
add esp, 4
cmp dword [0x10248b40], 0xffffffff
jne 0x100970c8
push esi
mov esi, dword [0x101f6010]
mov ecx, esi
push str.E8_________83_BE___________74_3A
push str.client.dll
call fcn.100b25e0
push eax
mov ecx, esi
call fcn.100b26e0
push 0x10248b40
mov dword [0x10248b3c], eax
call fcn.100d38ec
add esp, 4
pop esi
jmp 0x100970c8
Function at 0x10097460
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
mov byte [ebp - 1], 0
mov cl, 0x1d
mov byte [ebp - 1], 0
mov dl, 0x78
mov byte [ebp - 7], cl
mov dh, 0x7a
xor dl, cl
xor dh, cl
mov byte [ebp - 5], dl
push edi
mov al, 0x33
mov byte [ebp - 2], dh
mov bl, 0x7e
mov ah, 0x7b
xor al, cl
xor bl, cl
xor ah, cl
mov byte [ebp - 6], al
sub esp, 0x18
mov byte [ebp - 4], bl
mov edx, esp
mov byte [ebp - 3], ah
xorps xmm0, xmm0
lea ecx, [ebp - 6]
lea edi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100974c0
sub ecx, edi
lea eax, [ebp - 6]
push ecx
push eax
mov ecx, edx
call fcn.100046c0
movaps xmm0, xmmword [0x10162b60]
xor eax, eax
movups xmmword [ebp - 0x1e], xmm0
mov dword [ebp - 0xe], 0x50b040c
mov word [ebp - 0xa], 0x3e11
mov byte [ebp - 8], 0
mov cl, byte ds:[ebp - 0x1e]
xor byte [ebp + eax - 0x1d], cl
inc eax
cmp eax, 0x15
jb 0x100974f3
sub esp, 0x18
mov byte [ebp - 8], 0
mov edx, esp
lea ecx, [ebp - 0x1d]
xorps xmm0, xmm0
lea edi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10097528
sub ecx, edi
lea eax, [ebp - 0x1d]
push ecx
push eax
mov ecx, edx
call fcn.100046c0
mov ecx, esi
call fcn.100b0c40
mov dword [esi], 0x10162ab0
mov eax, esi
pop edi
mov dword [esi + 0x200], 0
mov dword [esi + 0x204], 0
mov dword [esi + 0x208], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100b25e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edx, eax
test edx, edx
je 0x100b26bb
mov eax, 0x5a4d
cmp word [edx], ax
jne 0x100b26bb
mov eax, dword [edx + 0x3c]
cmp dword [eax + edx], 0x4550
jne 0x100b26bb
mov eax, dword [eax + edx + 0x50]
xor ebx, ebx
mov esi, dword [ebp + 0xc]
add eax, edx
mov dword [ebp - 4], eax
cmp edx, eax
jae 0x100b26bb
mov ecx, 0x3f3f
mov al, byte [esi]
mov byte [ebp + 0xb], al
cmp al, 0x3f
je 0x100b2686
movzx ecx, al
sub al, 0x30
cmp al, 9
ja 0x100b264b
add ecx, 0xffffffd0
jmp 0x100b2651
and ecx, 0xffffffdf
sub ecx, 0x37
mov al, byte [esi + 1]
movzx edi, al
sub al, 0x30
cmp al, 9
ja 0x100b2662
add edi, 0xffffffd0
jmp 0x100b2668
and edi, 0xffffffdf
sub edi, 0x37
movzx eax, byte [edx]
shl ecx, 4
or ecx, edi
cmp eax, ecx
mov ecx, 0x3f3f
je 0x100b2686
test ebx, ebx
je 0x100b26b1
mov esi, dword [ebp + 0xc]
mov edx, ebx
xor ebx, ebx
jmp 0x100b26b1
test ebx, ebx
mov eax, edx
cmovne eax, ebx
cmp byte [esi + 2], 0
mov ebx, eax
je 0x100b26c6
cmp word [esi], cx
je 0x100b26a5
cmp byte [ebp + 0xb], 0x3f
mov eax, 2
je 0x100b26aa
mov eax, 3
add esi, eax
cmp byte [esi], 0
je 0x100b26c6
inc edx
cmp edx, dword [ebp - 4]
jb 0x100b2634
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x100b9197
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
call fcn.10129173
push 2
lea ecx, [ebp - 4]
push ecx
mov eax, dword [eax + 0x14]
push 0x22
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x100b91d6
sub eax, 1
je 0x100b91d1
sub eax, 1
je 0x100b91cd
xor eax, eax
leave
ret
push 3
jmp 0x100b91d8
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret

Function at 0x100bac40
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x100bac67
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x100bac6a
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.100bac1c
pop esi
leave
ret 8
Function at 0x100d6d30
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014f2c6
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x1023bc40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov ebx, dword [ebp + 8]
lea edi, [esi + 0x2c]
mov dword [ebp + 8], edi
mov eax, dword [ebx]
mov dword [esi], eax
movzx eax, byte [ebx + 4]
mov byte [esi + 4], al
movzx eax, byte [ebx + 5]
mov byte [esi + 5], al
movzx eax, byte [ebx + 6]
mov byte [esi + 6], al
movzx eax, byte [ebx + 7]
mov byte [esi + 7], al
movzx eax, byte [ebx + 8]
mov byte [esi + 8], al
movzx eax, byte [ebx + 9]
mov byte [esi + 9], al
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x14]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x1c]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x24]
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ecx
movzx eax, byte [ebx + 0x28]
mov byte [esi + 0x28], al
movzx eax, byte [ebx + 0x29]
mov byte [esi + 0x29], al
movzx eax, byte [ebx + 0x2a]
mov byte [esi + 0x2a], al
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov eax, dword [ebx + 0x30]
sub eax, dword [ebx + 0x2c]
je 0x100d6e1b
cmp eax, 0x7fffffff
ja 0x100d6ebe
push eax
mov ecx, edi
call fcn.100d7e80
mov esi, dword [ebx + 0x30]
mov eax, dword [ebx + 0x2c]
sub esi, eax
mov edi, dword [edi]
push esi
push eax
push edi
call fcn.100e88c0
mov ecx, dword [ebp + 8]
lea eax, [esi + edi]
mov esi, dword [ebp - 0x10]
add esp, 0xc
mov dword [ecx + 4], eax
lea edi, [esi + 0x38]
mov dword [ebp - 4], 0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov eax, dword [ebx + 0x3c]
sub eax, dword [ebx + 0x38]
sar eax, 2
mov dword [ebp + 8], edi
test eax, eax
je 0x100d6e7c
cmp eax, 0x3fffffff
ja 0x100d6ec3
push eax
mov ecx, edi
call fcn.100d7f90
mov esi, dword [ebx + 0x3c]
mov eax, dword [ebx + 0x38]
sub esi, eax
mov edi, dword [edi]
push esi
push eax
push edi
call fcn.100e88c0
mov ecx, dword [ebp + 8]
add esp, 0xc
sar esi, 2
lea eax, [edi + esi*4]
mov esi, dword [ebp - 0x10]
mov dword [ecx + 4], eax
lea eax, [ebx + 0x44]
mov byte [ebp - 4], 1
lea ecx, [esi + 0x44]
push eax
call fcn.1001dd20
lea eax, [ebx + 0x5c]
mov byte [ebp - 4], 2
push eax
lea ecx, [esi + 0x5c]
call fcn.1001dd20
mov eax, dword [ebx + 0x74]
mov dword [esi + 0x74], eax
mov eax, dword [ebx + 0x78]
mov dword [esi + 0x78], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.100d82a0
call fcn.100d82c0
int3
Function at 0x100d7590
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov dword [esi], eax
movzx eax, byte [edi + 4]
mov byte [esi + 4], al
movzx eax, byte [edi + 5]
mov byte [esi + 5], al
movzx eax, byte [edi + 6]
mov byte [esi + 6], al
movzx eax, byte [edi + 7]
mov byte [esi + 7], al
movzx eax, byte [edi + 8]
mov byte [esi + 8], al
movzx eax, byte [edi + 9]
mov byte [esi + 9], al
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x1c]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x24]
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ecx
lea ecx, [esi + 0x2c]
movzx eax, byte [edi + 0x28]
mov byte [esi + 0x28], al
movzx eax, byte [edi + 0x29]
mov byte [esi + 0x29], al
movzx eax, byte [edi + 0x2a]
mov byte [esi + 0x2a], al
lea eax, [edi + 0x2c]
push eax
call fcn.100d7430
lea eax, [edi + 0x38]
lea ecx, [esi + 0x38]
cmp ecx, eax
je 0x100d7628
mov edx, dword [eax]
mov eax, dword [eax + 4]
sub eax, edx
sar eax, 2
push eax
push edx
call fcn.100d5990
lea eax, [edi + 0x44]
lea ecx, [esi + 0x44]
cmp ecx, eax
je 0x100d7644
cmp dword [eax + 0x14], 0xf
mov edx, dword [eax + 0x10]
jbe 0x100d763d
mov eax, dword [eax]
push edx
push eax
call fcn.100239a0
lea eax, [edi + 0x5c]
lea ecx, [esi + 0x5c]
cmp ecx, eax
je 0x100d7660
cmp dword [eax + 0x14], 0xf
mov edx, dword [eax + 0x10]
jbe 0x100d7659
mov eax, dword [eax]
push edx
push eax
call fcn.100239a0
mov eax, dword [edi + 0x74]
mov dword [esi + 0x74], eax
mov eax, dword [edi + 0x78]
mov dword [esi + 0x78], eax
mov eax, esi
pop edi
pop esi
pop ebp
ret 4

Function at 0x100d9a90
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 4]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 5]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 6]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 7]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
pop ebp
ret 4
Function at 0x100dca70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
push edi
mov edi, ecx
mov eax, dword [esi]
mov dword [edi], eax
movzx eax, byte [esi + 4]
mov byte [edi + 4], al
movzx eax, byte [esi + 5]
mov byte [edi + 5], al
movzx eax, byte [esi + 6]
mov byte [edi + 6], al
movzx eax, byte [esi + 7]
mov byte [edi + 7], al
movzx eax, byte [esi + 8]
mov byte [edi + 8], al
movzx eax, byte [esi + 9]
mov byte [edi + 9], al
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], ecx
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], ecx
movzx eax, byte [esi + 0x28]
mov byte [edi + 0x28], al
movzx eax, byte [esi + 0x29]
mov byte [edi + 0x29], al
movzx eax, byte [esi + 0x2a]
mov byte [edi + 0x2a], al
mov edx, dword [esi + 0x34]
mov ecx, dword [esi + 0x30]
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x34], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x2c], 0
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], ecx
mov dword [edi + 0x34], edx
mov eax, dword [esi + 0x38]
mov edx, dword [esi + 0x40]
mov ecx, dword [esi + 0x3c]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x38], 0
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], ecx
mov dword [edi + 0x40], edx
movups xmmword [edi + 0x44], xmm0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
movups xmm0, xmmword [esi + 0x44]
movups xmmword [edi + 0x44], xmm0
movq xmm0, qword [esi + 0x54]
movq qword [edi + 0x54], xmm0
xorps xmm0, xmm0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0xf
mov byte [esi + 0x44], 0
movups xmmword [edi + 0x5c], xmm0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
movups xmm0, xmmword [esi + 0x5c]
movups xmmword [edi + 0x5c], xmm0
movq xmm0, qword [esi + 0x6c]
movq qword [edi + 0x6c], xmm0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0xf
mov byte [esi + 0x5c], 0
mov eax, dword [esi + 0x74]
mov dword [edi + 0x74], eax
mov eax, dword [esi + 0x78]
mov dword [edi + 0x78], eax
mov eax, edi
pop edi
pop esi
pop ebp
ret 4
Function at 0x100e1db0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov al, byte [ebx + 0xc]
lea edx, [esi + 0x20]
test al, 0x60
je 0x100e1de5
movzx eax, al
shr eax, 5
and eax, 3
mov ecx, dword [eax*8 + 0x101893d0]
or dword [edx], ecx
mov eax, dword [eax*8 + 0x101893d4]
or dword [edx + 4], eax
mov al, byte [ebx + 0xd]
lea edi, [ebx + 0xd]
test al, 3
je 0x100e1e16
movzx ecx, al
and ecx, 3
mov eax, dword [ecx*8 + 0x101893f0]
or dword [edx], eax
mov eax, dword [ecx*8 + 0x101893f4]
lea ecx, [esi + 0x20]
or dword [edx + 4], eax
add ebx, 0xd
mov dword [ebp + 0xc], ecx
mov dword [ebp - 4], ebx
jmp 0x100e1e1e
mov dword [ebp + 0xc], edx
mov ebx, edi
mov dword [ebp - 4], edi
mov al, byte [edi]
test al, 0xc
je 0x100e1e43
movzx ecx, al
shr ecx, 2
and ecx, 3
mov eax, dword [ecx*8 + 0x10189410]
or dword [edx], eax
mov eax, dword [ecx*8 + 0x10189414]
or dword [edx + 4], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [esi + 0xc]
jmp dword [eax*4 + 0x100e22c0]