joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100762b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ecee5
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x101d7380]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov eax, dword [ebp + 0xc]
sub eax, 0
je 0x10076375
sub eax, 1
je 0x10076302
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc
push 4
call fcn.100bc8f3
add esp, 4
test eax, eax
je 0x10076318
mov dword [eax], 0x10075fd0
jmp 0x1007631a
xor eax, eax
mov dword [ebp + 8], eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x10075f50
push 0
push 0
call fcn.100c7f70
add esp, 0x18
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10076383
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 1
test ecx, ecx
je 0x1007637c
push ecx
push eax
call fcn.100bab99
add esp, 8
test eax, eax
jne 0x1007637c
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc
push 0
call fcn.100c5432
push 1
call fcn.100bad5f
push 6
mov dword [ebp - 0x10], 0
call fcn.100bad5f
int3
Function at 0x1008a090
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ecx + 0xbc]
mov eax, dword [ecx + 0xc4]
push esi
push edi
lea esi, [ebp + 8]
mov edi, 4
mov eax, dword [eax + edx*4 - 4]
not eax
nop
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10104400]
sub edi, 1
jne 0x1008a0b0
mov ecx, dword [0x102b31c8]
not eax
pop edi
pop esi
cmp dword [ecx + 0x1a34], eax
jne 0x1008a0e2
mov dword [ecx + 0x1a38], eax
cmp dword [ecx + 0x1a6c], eax
jne 0x1008a0f1
mov byte [ecx + 0x1a70], 1
pop ebp
ret 4

Function at 0x1008a160
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x101d7380]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
movss xmm0, dword [edx]
mov edi, 0x10
subss xmm0, dword [esi + 0xc]
mov ecx, dword [esi + 0xbc]
cvttss2si eax, xmm0
movss xmm0, dword [edx + 4]
subss xmm0, dword [esi + 0x10]
mov dword [ebp - 0x14], eax
cvttss2si eax, xmm0
movss xmm0, dword [edx + 8]
subss xmm0, dword [esi + 0xc]
mov dword [ebp - 0x10], eax
cvttss2si eax, xmm0
movss xmm0, dword [edx + 0xc]
subss xmm0, dword [esi + 0x10]
mov dword [ebp - 0xc], eax
cvttss2si eax, xmm0
mov dword [ebp - 8], eax
mov eax, dword [esi + 0xc4]
lea esi, [ebp - 0x14]
mov edx, dword [eax + ecx*4 - 4]
not edx
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10104400]
sub edi, 1
jne 0x1008a1d4
mov eax, dword [0x102b31c8]
not edx
pop edi
pop esi
cmp dword [eax + 0x1a34], edx
jne 0x1008a205
mov dword [eax + 0x1a38], edx
cmp dword [eax + 0x1a6c], edx
jne 0x1008a214
mov byte [eax + 0x1a70], 1
mov ecx, dword [ebp - 4]
mov eax, edx
xor ecx, ebp
call fcn.100bcc4b
mov esp, ebp
pop ebp
ret 4

Function at 0x1008ac00
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
not ebx
push edi
mov edi, dword [ebp + 0xc]
mov eax, ebx
test edi, edi
je 0x1008ac63
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x1008ac46
cmp edi, 2
jb 0x1008ac46
cmp byte [esi], cl
jne 0x1008ac46
cmp byte [esi + 1], cl
jne 0x1008ac46
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10104400]
jmp 0x1008ac17
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10104400]
test edi, edi
jne 0x1008ac17
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x1008ac98
nop word [eax + eax]
cmp cl, 0x23
jne 0x1008ac7f
cmp byte [esi], cl
jne 0x1008ac7f
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 + 0x10104400]
test cl, cl
jne 0x1008ac70
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
Function at 0x1008bad0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
or eax, 0xffffffff
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], str.Window
mov esi, 0x101049b5
mov cl, 0x57
or edi, 0xffffffff
cmp cl, 0x23
jne 0x1008bb02
cmp byte [esi], cl
jne 0x1008bb02
cmp byte [esi + 1], cl
cmove eax, edi
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x10104400]
test cl, cl
jne 0x1008baf3
mov esi, dword [ebp + 8]
not eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0x100961e0
mov dword [ebp - 0xc], 0x10096130
mov edi, dword [esi + 0x2db0]
mov ecx, dword [esi + 0x2db4]
mov dword [ebp - 8], 0x10096210
cmp edi, ecx
jne 0x1008bbe9
inc edi
test ecx, ecx
je 0x1008bb5c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1008bb61
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x1008bbe9
mov eax, dword [0x102b31c8]
test eax, eax
je 0x1008bb79
inc dword [eax + 0x374]
push ebx
push dword [0x102b31d0]
lea eax, [edi + edi*2]
shl eax, 3
push eax
call dword [0x101d6f90]
mov ebx, eax
add esp, 8
mov eax, dword [esi + 0x2db8]
test eax, eax
je 0x1008bbdc
mov ecx, dword [esi + 0x2db0]
lea ecx, [ecx + ecx*2]
shl ecx, 3
push ecx
push eax
push ebx
call fcn.100be2c0
mov ecx, dword [esi + 0x2db8]
add esp, 0xc
test ecx, ecx
je 0x1008bbcc
mov eax, dword [0x102b31c8]
test eax, eax
je 0x1008bbcc
dec dword [eax + 0x374]
push dword [0x102b31d0]
push ecx
call dword [0x101d6f94]
add esp, 8
mov dword [esi + 0x2db8], ebx
mov dword [esi + 0x2db4], edi
pop ebx
mov eax, dword [esi + 0x2db0]
movups xmm0, xmmword [ebp - 0x18]
pop edi
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0x2db8]
movups xmmword [eax + ecx*8], xmm0
movq xmm0, qword [ebp - 8]
movq qword [eax + ecx*8 + 0x10], xmm0
inc dword [esi + 0x2db0]
mov byte [esi], 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100911a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x102b31c8]
lea edx, [ebp + 8]
push ebx
push esi
push edi
mov eax, dword [eax + 0x1a00]
mov esi, 4
mov ebx, dword [eax + 0xc4]
lea edi, [eax + 0xbc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
mov eax, dword [edi]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x10104400]
sub esi, 1
jne 0x100911d7
mov eax, dword [ebp - 4]
not ebx
mov esi, dword [edi]
mov ecx, dword [eax + 0xc0]
cmp esi, ecx
jne 0x10091227
inc esi
test ecx, ecx
je 0x10091212
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10091217
mov eax, 8
cmp eax, esi
mov ecx, edi
cmovg esi, eax
push esi
call fcn.100969f0
mov eax, dword [ebp - 4]
mov ecx, dword [edi]
mov eax, dword [eax + 0xc4]
mov dword [eax + ecx*4], ebx
inc dword [edi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10095710
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
mov edi, dword [0x102b31c8]
cmp byte [edi + 0x2d9c], 0
lea eax, [edi + 0x20]
jne 0x1009582f
mov ecx, dword [eax]
push ebx
test ecx, ecx
je 0x10095827
push esi
push 0x10103b1c
push ecx
call fcn.1008a9f0
mov esi, eax
add esp, 8
test esi, esi
je 0x10095823
push esi
call fcn.100cd18e
add esp, 4
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x1009581a
push 2
push 0
push esi
call fcn.100c75db
add esp, 0xc
test eax, eax
jne 0x1009581a
push esi
call fcn.100cd18e
mov ebx, eax
add esp, 4
mov dword [ebp - 4], ebx
cmp ebx, 0xffffffff
je 0x1009581a
push 0
push dword [ebp - 8]
push esi
call fcn.100c75db
add esp, 0xc
test eax, eax
jne 0x1009581a
mov eax, dword [0x102b31c8]
test eax, eax
je 0x100957b3
inc dword [eax + 0x374]
push dword [0x102b31d0]
push ebx
call dword [0x101d6f90]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x1009581a
push esi
push dword [ebp - 4]
push 1
push ebx
call fcn.100c7142
add esp, 0x10
push esi
cmp eax, dword [ebp - 4]
je 0x10095807
call fcn.100c6891
add esp, 4
mov eax, dword [0x102b31c8]
test eax, eax
je 0x100957f5
dec dword [eax + 0x374]
push dword [0x102b31d0]
push ebx
call dword [0x101d6f94]
add esp, 8
jmp 0x10095823
call fcn.100c6891
push dword [ebp - 4]
push ebx
call fcn.1008c7d0
add esp, 0xc
jmp 0x100957e6
push esi
call fcn.100c6891
add esp, 4
lea eax, [edi + 0x20]
pop esi
mov byte [edi + 0x2d9c], 1
pop ebx
movss xmm0, dword [edi + 0x2da0]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x10095880
subss xmm0, dword [edi + 0x18]
comiss xmm1, xmm0
movss dword [edi + 0x2da0], xmm0
jb 0x10095880
mov eax, dword [eax]
test eax, eax
je 0x1009586f
push eax
call fcn.100933a0
add esp, 4
mov dword [edi + 0x2da0], 0
pop edi
mov esp, ebp
pop ebp
ret
mov byte [edi + 0x35c], 1
mov dword [edi + 0x2da0], 0
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10099c80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ed630
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x101d7380]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
lea ecx, [esi + 0x54]
mov dword [ebp - 0x10], ecx
cmp dword [esi + 0x4c], ebx
jle 0x10099cf6
xor edi, edi
nop dword [eax]
mov eax, dword [ecx]
mov ecx, dword [edi + eax]
test ecx, ecx
je 0x10099ce8
cmp byte [edi + eax + 8], 0
je 0x10099ce8
push ecx
call fcn.1008ce30
mov eax, dword [esi + 0x54]
lea ecx, [esi + 0x54]
add esp, 4
mov dword [edi + eax], 0
jmp 0x10099ceb
lea ecx, [esi + 0x54]
inc ebx
add edi, 0x78
cmp ebx, dword [esi + 0x4c]
jl 0x10099cc0
jmp 0x10099cf9
mov dword [ebp - 0x10], ecx
xor edx, edx
cmp dword [esi + 0x34], edx
jle 0x10099d3e
mov eax, dword [esi + 0x3c]
mov edi, dword [eax + edx*4]
mov eax, dword [ecx]
mov dword [ebp - 0x14], eax
mov ebx, dword [edi + 0x3c]
cmp ebx, eax
jb 0x10099d38
mov ecx, dword [esi + 0x4c]
shl ecx, 4
sub ecx, dword [esi + 0x4c]
lea eax, [eax + ecx*8]
cmp ebx, eax
jae 0x10099d35
mov dword [edi + 0x3c], 0
xor ecx, ecx
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + edx*4]
mov word [eax + 0x40], cx
mov ecx, dword [ebp - 0x10]
inc edx
cmp edx, dword [esi + 0x34]
jl 0x10099d00
mov eax, dword [esi + 0x54]
test eax, eax
je 0x10099d63
push eax
mov dword [esi + 0x50], 0
mov dword [esi + 0x4c], 0
call fcn.1008ce30
add esp, 4
mov dword [esi + 0x54], 0
mov eax, dword [esi + 0x48]
test eax, eax
je 0x10099d90
push eax
mov dword [esi + 0x44], 0
mov dword [esi + 0x40], 0
call fcn.1008ce30
add esp, 4
mov dword [esi + 0x48], 0
nop dword [eax + eax]
mov dword [esi + 0x58], 0xffffffff
mov eax, dword [esi + 0x14]
test eax, eax
je 0x10099da7
push eax
call fcn.1008ce30
add esp, 4
mov eax, dword [esi + 0x18]
test eax, eax
je 0x10099db7
push eax
call fcn.1008ce30
add esp, 4
xor ebx, ebx
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
cmp dword [esi + 0x34], ebx
jle 0x10099e3a
nop dword [eax]
mov eax, dword [esi + 0x3c]
mov edi, dword [eax + ebx*4]
test edi, edi
je 0x10099e34
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.1009a060
mov eax, dword [edi + 0x28]
mov byte [ebp - 4], 1
test eax, eax
je 0x10099dfc
push eax
call fcn.1008ce30
add esp, 4
mov eax, dword [edi + 0x1c]
mov byte [ebp - 4], 2
test eax, eax
je 0x10099e10
push eax
call fcn.1008ce30
add esp, 4
mov eax, dword [edi + 8]
mov byte [ebp - 4], 3
test eax, eax
je 0x10099e24
push eax
call fcn.1008ce30
add esp, 4
push edi
mov dword [ebp - 4], 0xffffffff
call fcn.1008ce30
add esp, 4
inc ebx
cmp ebx, dword [esi + 0x34]
jl 0x10099dd0
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x10099e5f
push eax
mov dword [esi + 0x38], 0
mov dword [esi + 0x34], 0
call fcn.1008ce30
add esp, 4
mov dword [esi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100b6aa0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x101d7380]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
call fcn.1008a270
mov edi, eax
lea eax, [ebp - 0x14]
push eax
push dword [0x102b31f0]
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x1c], xmm0
movd xmm0, eax
mov eax, dword [ebp - 0x1c]
cvtdq2ps xmm0, xmm0
mov dword [edi + 8], eax
lea eax, [ebp - 0x24]
push eax
movss dword [ebp - 0x18], xmm0
mov ecx, dword [ebp - 0x18]
mov dword [edi + 0xc], ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x24]
sub ecx, dword [0x102b31f8]
mov edx, dword [ebp - 0x20]
sbb edx, dword [0x102b31fc]
call fcn.100bd1f0
mov edx, dword [0x102b3204]
mov ecx, dword [0x102b3200]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x18], xmm0
call fcn.100bd1f0
movss xmm1, dword [ebp - 0x18]
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 - 0x24]
mov ecx, dword [ebp - 0x20]
mov dword [0x102b31f8], eax
mov dword [0x102b31fc], ecx
call esi
shr eax, 0xf
and al, 1
push 0x10
mov byte [edi + 0xf8], al
call esi
shr eax, 0xf
and al, 1
push 0x12
mov byte [edi + 0xf9], al
call esi
shr eax, 0xf
and al, 1
mov byte [edi + 0xfb], 0
mov byte [edi + 0xfa], al
call fcn.1008a270
cmp byte [eax + 0x353], 0
lea esi, [eax + 0xe0]
je 0x100b6bd3
cvttss2si eax, dword [eax + 0xe4]
cvttss2si ecx, dword [esi]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
push dword [0x102b31f0]
mov dword [ebp - 0x1c], ecx
call dword [sym.imp.USER32.dll_ClientToScreen]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_SetCursorPos]
mov dword [ebp - 0x1c], 0xff7fffff
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], 0xff7fffff
mov ecx, dword [ebp - 0x18]
mov dword [esi], eax
mov dword [esi + 4], ecx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x100b6c53
mov ecx, dword [0x102b31f0]
cmp eax, ecx
je 0x100b6c0c
push ecx
push eax
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x100b6c53
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x100b6c53
lea eax, [ebp - 0x2c]
push eax
push dword [0x102b31f0]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x100b6c53
movd xmm0, dword [ebp - 0x2c]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x1c], xmm0
movd xmm0, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
cvtdq2ps xmm0, xmm0
mov dword [esi], eax
movss dword [ebp - 0x18], xmm0
mov ecx, dword [ebp - 0x18]
mov dword [esi + 4], ecx
cmp byte [edi + 0xa8], 0
pop edi
pop esi
je 0x100b6c63
or eax, 0xffffffff
jmp 0x100b6c68
call fcn.1008a310
cmp dword [0x101d71b4], eax
je 0x100b6c7a
mov dword [0x101d71b4], eax
call fcn.100b6f40
call fcn.100b6ca0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100bcc4b
mov esp, ebp
pop ebp
ret
Function at 0x100b7510
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.100b76c0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x100b75dd
mov edx, dword [ebp - 4]
cmp edx, dword [0x101d71bc]
jb 0x100b755a
mov eax, dword [ebp - 4]
cmp eax, dword [0x101d71c0]
ja 0x100b755a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x100b752a
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.100be840
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x100b7580
jmp 0x100b75dd
cmp dword [ebp - 0x14], 0x10000
jne 0x100b75c3
cmp dword [ebp - 0x18], 0x10000
jb 0x100b75c3
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100b75b6
mov eax, dword [ebp - 8]
jmp 0x100b75df
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x100b75d8
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.100b76c0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x100b752a
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x100b75f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.100b76f0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x100b76b5
mov edx, dword [ebp - 4]
cmp edx, dword [0x101d71bc]
jb 0x100b7635
mov eax, dword [ebp - 4]
cmp eax, dword [0x101d71c0]
ja 0x100b7635
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x100b7605
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.100be840
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x100b765b
jmp 0x100b76b5
cmp dword [ebp - 0x14], 0x10000
jne 0x100b769e
cmp dword [ebp - 0x18], 0x10000
jb 0x100b769e
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100b7691
mov eax, dword [ebp - 8]
jmp 0x100b76b7
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x100b76b0
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.100b76f0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x100b7605
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100b7720
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.100b7b10
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x102b320c], 0
jne 0x100b775d
cmp dword [0x102b3208], 0
je 0x100b775d
mov eax, dword [0x102b3208]
mov dword [0x102b320c], eax
cmp dword [0x102b320c], 0
je 0x100b77da
mov ecx, dword [0x102b320c]
cmp dword [ecx + 8], 0
je 0x100b77da
mov edx, dword [0x102b320c]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x10]
jb 0x100b77da
mov ecx, dword [0x102b320c]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x100b77da
mov eax, dword [0x102b320c]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jb 0x100b77a9
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x100b77b0
xor eax, eax
jmp 0x100b78f9
mov ecx, dword [0x102b320c]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x40]
mov dword [ecx + 8], eax
push 0x48
push 0xcc
mov ecx, dword [ebp - 4]
push ecx
call fcn.100be840
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x100b78f9
mov edx, dword [0x102b3208]
mov dword [0x102b320c], edx
jmp 0x100b77f6
mov eax, dword [0x102b320c]
mov ecx, dword [eax + 4]
mov dword [0x102b320c], ecx
cmp dword [0x102b320c], 0
je 0x100b7836
cmp dword [0x102b320c], 0
je 0x100b7834
mov edx, dword [0x102b320c]
cmp dword [edx + 8], 0
je 0x100b7834
mov eax, dword [0x102b320c]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x10]
jb 0x100b7834
mov edx, dword [0x102b320c]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x100b7834
jmp 0x100b778e
jmp 0x100b77e8
mov ecx, dword [ebp + 8]
and ecx, 0xffff
mov edx, dword [ebp + 8]
sub edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.100b7900
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x100b78f7
mov eax, dword [ebp - 0x18]
mov dword [0x102b320c], eax
mov ecx, dword [0x102b320c]
mov dword [ecx], 0x52727464
mov edx, dword [0x102b320c]
mov dword [edx + 8], 0
mov eax, dword [0x102b320c]
mov ecx, dword [0x102b3208]
mov dword [eax + 4], ecx
mov edx, dword [0x102b320c]
mov dword [0x102b3208], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x102b320c]
add eax, 0x48
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x38c
jmp 0x100b78c7
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jle 0x100b78e7
imul edx, dword [ebp - 8], 0x48
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx + 0x40], ecx
imul edx, dword [ebp - 8], 0x48
add edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
jmp 0x100b78be
mov eax, dword [0x102b320c]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x100b778e
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100c531a
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x100c5359
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100c5359
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100c5359
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x100c5359
cmp dword [ecx + 0x74], 0xe
jbe 0x100c5359
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x100ccf51
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.100bcc70
mov eax, dword [0x101d7380]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.100d5686
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x100ccf93
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x100cd0ef
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.100bd240
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x102b3d18]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.100d861c
mov ecx, dword [esi*4 + 0x102b3d18]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x100cd0e8
cmp eax, dword [ecx + edi + 0x24]
jne 0x100cd0e8
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100cd0e8
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100d861c
add esp, 0x14
test edx, edx
jl 0x100cd0e8
jg 0x100cd05e
test eax, eax
jb 0x100cd0e8
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x100cd0e8
jl 0x100cd078
cmp dword [ebp - 0x1008], eax
ja 0x100cd0e8
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x100cd096
test ebx, ebx
je 0x100cd0cf
cmp ecx, edi
jae 0x100cd0cf
mov al, byte [ecx]
cmp al, 0xd
jne 0x100cd0b0
lea eax, [edi - 1]
cmp ecx, eax
jae 0x100cd0bc
cmp byte [ecx + 1], 0xa
jne 0x100cd0bc
inc ecx
jmp 0x100cd0bc
movzx eax, al
movsx eax, byte [eax + 0x101d7640]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x100cd096
cmp edx, ebx
jne 0x100cd096
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x100cd0ed
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.100bcc4b
leave
ret