joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435460
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x474238
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x435499
inc eax
mov dword [esi + 0x10], eax
jmp 0x4355ac
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x4354ad
mov eax, 0xffffffc7
jmp 0x4355ae
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x4354be
cmp dword [esi + 8], eax
jne 0x4354ad
cmp dword [esi + 8], eax
jne 0x4354d7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x4354d7
mov eax, 0xffffffc7
jmp 0x4355ae
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x4354eb
push eax
mov ecx, ebx
call fcn.00434c90
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00404940
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x43551c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00404960
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00434400
test eax, eax
mov dword [esp + 0x38], eax
je 0x43554f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x481570
call fcn.00404b40
mov eax, dword [esp + 0x38]
jmp 0x4355ae
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.004352c0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x435593
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.004352e0
mov esi, eax
test esi, esi
jne 0x4355c3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.004352c0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x435565
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x481570
call fcn.00404b40
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x481570
call fcn.00404b40
mov eax, esi
jmp 0x4355ae

Function at 0x4386e0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x438740
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x438740
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x438740
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x438740
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x438780
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x43e690
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x474868
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.0046d4e2
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043e030
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0046d410
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00469cd4
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00469cd4
push 1
push 0
push 0
mov ecx, esi
call fcn.00469c7c
push 1
push 0
push 1
mov ecx, esi
call fcn.00469c7c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046d554
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43e810
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x474888
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0046d4e2
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043e030
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0046d410
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x43e8d4
cmp dword [esp + 0x40], 1
jne 0x43e8d2
cmp ecx, eax
jge 0x43e8d4
mov eax, ecx
cmp eax, 0xc8
jge 0x43e8e0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043e690
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046d554
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43f060
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4748f3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004680f2
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0046d78a
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0046eca6
test eax, eax
je 0x43f17c
mov ecx, dword [esp + 0x3c]
call fcn.0046d7b7
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43f140
push edi
mov ecx, esi
call fcn.0046ae1f
mov ecx, esi
call fcn.0043f2e0
cmp dword [esp + 0x38], 1
jne 0x43f175
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0046af5a
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x441bb0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x441be3
push esi
call fcn.00444cc0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x441bdc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x441c69
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x441c52
mov eax, dword [esi + 8]
test eax, eax
je 0x441c07
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x441c4e
cmp eax, 2
je 0x441c52
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x441bfa
cmp eax, 3
je 0x441c2d
cmp eax, 1
jne 0x441bfa
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x441bfa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x441bfa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00441c90
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x441c78
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00441c90
add esp, 4
pop esi
ret

Function at 0x4503a0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x450443
test eax, eax
jbe 0x450443
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x450443
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x4503ee
xor esi, esi
jmp 0x4503f4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x45041f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00405330
add esi, eax
push esi
mov ebx, esi
call fcn.00405330
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x450400
pop ebp
test edi, edi
pop edi
jne 0x450443
test ebx, ebx
je 0x450443
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00456e60
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x450565
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x45067d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45067d
mov eax, dword [esi + 0x3c]
push eax
call fcn.00468544
mov esi, eax
test esi, esi
je 0x45067d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x45067d
mov ecx, esi
call fcn.004504f0
cmp edi, eax
jge 0x45067d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x450603
mov dword [esp + 0x34], 1
jmp 0x45065e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x45067d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0044fa90
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x468ee7
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x468f1f
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00466f9e
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00466f76
jmp 0x468f2b
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x46a5dc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x46a61e
call fcn.00470091
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46a61e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46a615
xor eax, eax
jmp 0x46a626
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046a62c
pop edi
pop esi
pop ebx
ret 4
Function at 0x4705c1
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4705ef
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47060d
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00470527
jmp 0x47060d
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47060d
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00470527
test edi, edi
mov eax, edi
jne 0x4705f7
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x102b3c0
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push 0
push ecx
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
pop ebp
ret 8

Function at 0x102b3f0
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push esi
lea eax, [ebp + 0x10]
push eax
push 0
push ecx
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov esi, eax
test esi, esi
je 0x102b420
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c0]
push esi
call ecx
xor eax, eax
test esi, esi
setne al
pop esi
pop ebp
ret 0xc

Function at 0x102b4c0
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
test esi, esi
je 0x102b543
mov eax, dword [ebp + 0x18]
mov ecx, dword [esi]
push edi
mov edi, dword [ebp + 8]
mov edx, dword [edi + 0x250]
push eax
push ecx
call edx
mov ecx, dword [esi]
test ecx, ecx
je 0x102b50b
cmp ecx, 0xffffffff
je 0x102b50b
cmp dword [ebp + 0x1c], ebx
je 0x102b4f7
test eax, eax
jne 0x102b54b
cmp ecx, 0xffffffff
je 0x102b50b
mov eax, dword [edi + 0x1c0]
push ecx
call eax
mov dword [esi], 0xffffffff
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
lea ecx, [ebp + 0xc]
push ecx
push 0
push edx
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [esi], eax
test eax, eax
je 0x102b53a
cmp eax, 0xffffffff
je 0x102b53a
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 0x18
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0x18
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 0x18
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 0x18

Function at 0x102f6a0
Capabilities:
Get disk information via ioctl

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0x260]
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push ebx
push ebx
push eax
call ecx
mov esi, eax
test esi, esi
je 0x102f6fc
cmp esi, 0xffffffff
je 0x102f6fc
mov eax, dword [ebp + 0x10]
mov ecx, dword [edi + 0x25c]
push ebx
lea edx, [ebp + 0xc]
push edx
push 0xc
push eax
push ebx
push ebx
push 0x2d1080
push esi
call ecx
test eax, eax
je 0x102f6f3
mov ebx, 1
mov edx, dword [edi + 0x1c0]
push esi
call edx
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 0xc

Function at 0x102fbf0
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x102fc38
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x102fc37
mov ecx, 1
cmp edi, ecx
jbe 0x102fc34
movzx eax, byte [ebp + 0x10]
cdq
push ebx
mov ebx, 0xff
idiv ebx
lea eax, [esi + 1]
or esi, 0xffffffff
mov bl, dl
add bl, cl
xor bl, byte [esi + eax]
inc ecx
xor byte [eax], bl
inc eax
cmp ecx, edi
jb 0x102fc21
mov esi, dword [ebp + 8]
pop ebx
xor byte [esi], 0xac
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x102fc50
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x102fc93
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x102fc93
xor byte [esi], 0xac
lea ecx, [eax - 1]
test ecx, ecx
jbe 0x102fc93
movzx eax, byte [ebp + 0x10]
push edi
cdq
mov edi, 0xff
idiv edi
pop edi
lea eax, [ecx + esi]
or esi, 0xffffffff
push ebx
mov bl, dl
add bl, cl
xor bl, byte [esi + eax]
dec ecx
xor byte [eax], bl
dec eax
test ecx, ecx
ja 0x102fc83
pop ebx
pop esi
pop ebp
ret 0xc

Function at 0x1030320
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push esi
push edi
push 0x15
push 8
xor edi, edi
call ebx
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov esi, eax
test esi, esi
je 0x1030384
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov dword [esi + 4], ecx
lea ecx, [ebp + 8]
push ecx
push edi
push esi
push 0x10301b0
mov dword [esi], eax
mov eax, dword [ebp + 0x14]
push edi
push edi
mov dword [esi + 8], edx
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov edi, eax
test edi, edi
je 0x1030378
cmp edi, 0xffffffff
jne 0x1030386
push esi
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x1030d00
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x10]
test ecx, ecx
jne 0x1030d12
xor eax, eax
pop ebp
ret 0x10
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x14]
push edi
cmp esi, 8
jb 0x1030dd4
mov edi, esi
shr edi, 3
push ebx
lea esp, [esp]
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, 0xff
shr eax, 8
xor eax, dword [edx + ebx*4]
movzx ebx, byte [ecx + 1]
xor ebx, eax
and ebx, 0xff
inc ecx
shr eax, 8
xor eax, dword [edx + ebx*4]
movzx ebx, byte [ecx + 1]
xor ebx, eax
and ebx, 0xff
inc ecx
shr eax, 8
xor eax, dword [edx + ebx*4]
movzx ebx, byte [ecx + 1]
xor ebx, eax
inc ecx
and ebx, 0xff
shr eax, 8
xor eax, dword [edx + ebx*4]
movzx ebx, byte [ecx + 1]
xor ebx, eax
inc ecx
and ebx, 0xff
shr eax, 8
xor eax, dword [edx + ebx*4]
movzx ebx, byte [ecx + 1]
xor ebx, eax
inc ecx
and ebx, 0xff
shr eax, 8
xor eax, dword [edx + ebx*4]
movzx ebx, byte [ecx + 1]
inc ecx
xor ebx, eax
and ebx, 0xff
shr eax, 8
xor eax, dword [edx + ebx*4]
movzx ebx, byte [ecx + 1]
inc ecx
xor ebx, eax
and ebx, 0xff
shr eax, 8
xor eax, dword [edx + ebx*4]
inc ecx
sub esi, 8
sub edi, 1
jne 0x1030d30
pop ebx
test esi, esi
je 0x1030df7
jmp 0x1030de0
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edx + edi*4]
inc ecx
sub esi, 1
jne 0x1030de0
pop edi
not eax
pop esi
pop ebp
ret 0x10
Function at 0x1031080
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
cmp esi, 8
jge 0x1031096
or eax, 0xffffffff
pop esi
pop ebp
ret 0x10
mov eax, esi
cdq
and edx, 3
add eax, edx
push ebx
sar eax, 2
xor ebx, ebx
xor ecx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jle 0x10310ba
mov dl, byte [edi]
cmp dl, byte [ecx + edi]
jne 0x10310e6
inc ecx
cmp ecx, eax
jl 0x10310b0
xor eax, eax
test esi, esi
jle 0x10310cd
mov cl, byte [edi]
cmp cl, byte [eax + edi]
je 0x10310c8
inc ebx
inc eax
cmp eax, esi
jl 0x10310c2
mov eax, esi
cdq
and edx, 0xf
add eax, edx
sar eax, 4
cmp ebx, eax
jge 0x10310e6
pop edi
pop ebx
or eax, 0xffffffff
pop esi
pop ebp
ret 0x10
test esi, esi
jle 0x1031121
mov dword [ebp + 0x10], esi
mov esi, dword [ebp + 0x14]
mov edx, dword [esi + 4]
movzx ebx, byte [edi]
mov eax, dword [esi]
mov ecx, edx
shr ecx, 0x18
shld edx, eax, 8
movzx ecx, cl
xor ecx, ebx
shl eax, 8
mov ebx, eax
mov eax, dword [ebp + 8]
xor ebx, dword [eax + ecx*8]
xor edx, dword [eax + ecx*8 + 4]
inc edi
sub dword [ebp + 0x10], 1
mov dword [esi], ebx
mov dword [esi + 4], edx
jne 0x10310f0
pop edi
pop ebx
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x1031130
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x10]
xor eax, eax
xor edx, edx
test ecx, ecx
jle 0x1031175
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp + 0x10], ecx
lea esp, [esp]
movzx ebx, byte [esi]
mov ecx, edx
shr ecx, 0x18
shld edx, eax, 8
movzx ecx, cl
xor ecx, ebx
xor edx, dword [edi + ecx*8 + 4]
shl eax, 8
xor eax, dword [edi + ecx*8]
inc esi
sub dword [ebp + 0x10], 1
jne 0x1031150
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x1031570
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
xor ecx, ecx
mov eax, 0xffff
test edx, edx
jbe 0x10315b2
push esi
mov esi, dword [ebp + 8]
push edi
jmp 0x1031590
movzx edi, byte [ecx + esi]
xor edi, eax
shr ax, 8
and edi, 0xff
xor ax, word [edi*2 + 0x119d7f8]
inc ecx
movzx eax, ax
cmp ecx, edx
jb 0x1031590
pop edi
pop esi
pop ebp
ret 8

Function at 0x1034110
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
movzx eax, word [ecx + 0x14]
mov edx, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
lea eax, [eax + ecx + 0x18]
mov edi, eax
sub edi, edx
cmp edi, esi
jae 0x1034168
movzx ecx, word [ecx + 6]
lea edi, [ecx + ecx*4]
add edi, edi
add edi, edi
add edi, edi
sub edi, edx
add edi, eax
cmp edi, esi
jae 0x1034168
xor esi, esi
test ecx, ecx
jbe 0x1034168
mov edi, dword [ebp + 8]
nop
mov edx, dword [eax + 0xc]
cmp edi, edx
jb 0x1034160
mov ebx, dword [eax + 8]
add ebx, edx
cmp edi, ebx
jb 0x103416a
inc esi
add eax, 0x28
cmp esi, ecx
jb 0x1034150
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x1036aa0
Capabilities:
Compute adler32 checksum

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x1036bd9
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x1036bd9
push edi
mov edi, dword [ebp + 8]
movzx ecx, di
shr edi, 0x10
test ebx, ebx
jbe 0x1036bcb
nop
mov eax, ebx
cmp ebx, 0x15b0
jb 0x1036adf
mov eax, 0x15b0
sub ebx, eax
cmp eax, 0x10
mov dword [ebp + 0x10], ebx
jl 0x1036b8e
mov edx, eax
shr edx, 4
mov ebx, edx
neg ebx
shl ebx, 4
add eax, ebx
jmp 0x1036b00
movzx ebx, byte [esi]
add ecx, ebx
movzx ebx, byte [esi + 1]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 2]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 3]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 4]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 5]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 6]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 7]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 8]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 9]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 0xa]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 0xb]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 0xc]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 0xd]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 0xe]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 0xf]
add edi, ecx
add ecx, ebx
add edi, ecx
add esi, 0x10
sub edx, 1
jne 0x1036b00
mov ebx, dword [ebp + 0x10]
test eax, eax
je 0x1036b9f
movzx edx, byte [esi]
add ecx, edx
inc esi
add edi, ecx
sub eax, 1
jne 0x1036b92
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul edx, edx, 0xffff000f
add ecx, edx
mov eax, 0x80078071
mul edi
shr edx, 0xf
imul edx, edx, 0xffff000f
add edi, edx
test ebx, ebx
ja 0x1036ad0
mov eax, edi
pop edi
shl eax, 0x10
pop esi
or eax, ecx
pop ebx
pop ebp
ret 0xc
pop esi
mov eax, 1
pop ebx
pop ebp
ret 0xc