joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444760
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4846a8
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.0047cd96
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.004440c0
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.0047ccc4
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.00479588
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.00479588
push 1
push 0
push 0
mov ecx, esi
call fcn.00479530
push 1
push 0
push 1
mov ecx, esi
call fcn.00479530
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0047ce08
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x4448e0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4846c8
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.0047cd96
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.004440c0
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.0047ccc4
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 0x4449a4
cmp dword [esp + 0x40], 1
jne 0x4449a2
cmp ecx, eax
jge 0x4449a4
mov eax, ecx
cmp eax, 0xc8
jge 0x4449b0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00444760
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.0047ce08
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x4451b0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x484773
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.004779a5
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_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.0047d03e
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0047e55a
test eax, eax
je 0x4452cc
mov ecx, dword [esp + 0x3c]
call fcn.0047d06b
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 0x445290
push edi
mov ecx, esi
call fcn.0047a6d3
mov ecx, esi
call fcn.00445470
cmp dword [esp + 0x38], 1
jne 0x4452c5
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.0047a80e
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 0x4474b0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4474e3
push esi
call fcn.00455860
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4474dc
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 0x447569
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x447552
mov eax, dword [esi + 8]
test eax, eax
je 0x447507
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 0x44754e
cmp eax, 2
je 0x447552
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4474fa
cmp eax, 3
je 0x44752d
cmp eax, 1
jne 0x4474fa
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 0x4474fa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4474fa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00447590
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x447578
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00447590
add esp, 4
pop esi
ret

Function at 0x447e00
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x447e21
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x447e21
mov eax, dword [eax + 0x44]
test eax, eax
je 0x447e21
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x462b70
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 0x462c13
test eax, eax
jbe 0x462c13
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x462c13
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 0x462bbe
xor esi, esi
jmp 0x462bc4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x462bef
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00464c20
add esi, eax
push esi
mov ebx, esi
call fcn.00464c20
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x462bd0
pop ebp
test edi, edi
pop edi
jne 0x462c13
test ebx, ebx
je 0x462c13
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00467230
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x462d35
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 0x462e4d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x462e4d
mov eax, dword [esi + 0x3c]
push eax
call fcn.00477df7
mov esi, eax
test esi, esi
je 0x462e4d
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 0x462e4d
mov ecx, esi
call fcn.00462cc0
cmp edi, eax
jge 0x462e4d
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 0x462dd3
mov dword [esp + 0x34], 1
jmp 0x462e2e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x462e4d
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.004622a0
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 0x47879b
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4787d3
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.00476852
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0047682a
jmp 0x4787df
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x479e90
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 0x479ed2
call fcn.0047f94a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x479ed2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x479ec9
xor eax, eax
jmp 0x479eda
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00479ee0
pop edi
pop esi
pop ebx
ret 4
Function at 0x47fe7a
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 0x47fea8
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47fec6
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047fde0
jmp 0x47fec6
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47fec6
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047fde0
test edi, edi
mov eax, edi
jne 0x47feb0
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4024a0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
push 2
push eax
mov eax, dword [ecx + 0x14]
push edx
push eax
call dword [0x450c28]
ret 8
Function at 0x41bf50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44ca82
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push esi
push edi
mov esi, ecx
push eax
lea ecx, [esp + 0xc]
call dword [0x450460]
mov ecx, dword [esp + 0x20]
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0
call dword [0x450460]
mov edx, dword [esp + 8]
mov eax, dword [esi + 0x400]
push 0
push 0
push 0
push 0
push edx
push eax
lea edi, [esi + 0x134]
push 1
mov ecx, edi
mov byte [esp + 0x30], 1
call fcn.0043fcba
inc dword [esi + 0x400]
mov ecx, dword [esp + 0x1c]
push ecx
push 1
push eax
mov ecx, edi
call fcn.0043fd38
lea ecx, [esp + 0x1c]
call dword [0x450304]
lea ecx, [esp + 8]
call dword [0x450304]
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc
Function at 0x429610
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [ecx + 0x24c]
test ecx, ecx
je 0x429627
mov dword [esp + 4], 0
jmp fcn.00439190
ret 4
Function at 0x42ef50
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
mov ebx, ecx
call sub.nrapiTools.dll_public:_int___thiscall_CStr::Length_void_const
mov esi, eax
test esi, esi
jne 0x42ef66
pop esi
xor al, al
pop ebx
ret 4
mov eax, dword [esp + 0xc]
push edi
push 0x455518
push eax
call dword [0x450a88]
mov edi, eax
add esp, 8
test edi, edi
je 0x42efa7
mov ecx, dword [ebx + 4]
push edi
push esi
push 1
push ecx
call dword [0x450a70]
push edi
mov ebx, eax
call dword [0x450a90]
add esp, 0x14
xor eax, eax
cmp ebx, esi
pop edi
pop esi
sete al
pop ebx
ret 4
pop edi
pop esi
xor al, al
pop ebx
ret 4

Function at 0x42f7a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44dc19
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, dword [esp + 0x24]
mov ecx, esi
mov dword [esp + 8], 0
call dword [0x4504e8]
push eax
lea ecx, [esp + 0x28]
call dword [0x4504e4]
mov edx, dword [esp + 0x20]
test edx, edx
mov esi, dword [esi]
mov ebp, dword [esi - 0xc]
mov dword [esp + 0x14], 0
jne 0x42f7f0
xor eax, eax
jmp 0x42f800
mov eax, edx
push edi
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42f7f6
sub eax, edi
pop edi
push ebp
push esi
push eax
push edx
lea eax, [esp + 0x34]
push eax
call dword [0x4504e0]
mov esi, dword [esp + 0x30]
add esp, 0x14
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call dword [0x4503f8]
lea ecx, [esp + 0x24]
call dword [0x450304]
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x431260
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44dc99
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [esp + 0x2c]
fld qword [0x454798]
mov cx, word [eax]
fstp qword [esp]
mov dx, word [eax + 4]
mov word [esp + 0xc], cx
mov cx, word [eax + 8]
mov word [esp + 0xe], dx
mov dx, word [eax + 0xc]
mov word [esp + 0x10], cx
mov cx, word [eax + 0x10]
mov word [esp + 0x12], dx
mov dx, word [eax + 0x14]
mov word [esp + 0x14], cx
mov cx, word [eax + 0x18]
push esi
mov word [esp + 0x1a], dx
mov dx, word [eax + 0x1c]
lea eax, [esp + 4]
mov word [esp + 0x1c], cx
push eax
lea ecx, [esp + 0x14]
xor esi, esi
push ecx
mov word [esp + 0x26], dx
mov dword [esp + 0x14], esi
call dword [sym.imp.OLEAUT32.dll_VariantTimeToSystemTime]
neg eax
push 0x400
sbb eax, eax
push esi
lea edx, [esp + 0x38]
inc eax
push edx
lea ecx, [esp + 0x10]
mov dword [esp + 0x18], eax
call fcn.0041e680
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x34]
push eax
mov ecx, esi
call dword [0x450444]
lea ecx, [esp + 0x30]
call dword [0x450304]
mov eax, dword [esi]
mov ecx, dword [esp + 0x20]
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x431330
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44dcb9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [esp + 0x2c]
fld qword [0x454798]
mov cx, word [eax]
fstp qword [esp]
mov dx, word [eax + 4]
mov word [esp + 0xc], cx
mov cx, word [eax + 8]
mov word [esp + 0xe], dx
mov dx, word [eax + 0xc]
mov word [esp + 0x10], cx
mov cx, word [eax + 0x10]
mov word [esp + 0x12], dx
mov dx, word [eax + 0x14]
mov word [esp + 0x14], cx
mov cx, word [eax + 0x18]
push esi
mov word [esp + 0x1a], dx
mov dx, word [eax + 0x1c]
lea eax, [esp + 4]
mov word [esp + 0x1c], cx
push eax
lea ecx, [esp + 0x14]
xor esi, esi
push ecx
mov word [esp + 0x26], dx
mov dword [esp + 0x14], esi
call dword [sym.imp.OLEAUT32.dll_VariantTimeToSystemTime]
neg eax
push 0x400
sbb eax, eax
push 2
lea edx, [esp + 0x38]
inc eax
push edx
lea ecx, [esp + 0x10]
mov dword [esp + 0x18], eax
call fcn.0041e680
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x34]
push eax
mov ecx, esi
call dword [0x450444]
lea ecx, [esp + 0x30]
call dword [0x450304]
mov eax, dword [esi]
mov ecx, dword [esp + 0x20]
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x43ded0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44ecb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x20]
call fcn.00440368
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0xc]
push eax
push ecx
mov dword [esp + 0x40], 0
call dword [sym.imp.USER32.dll_GetClientRect]
mov al, byte [esp + 0x48]
test al, al
mov eax, dword [esp + 0xc]
je 0x43df22
mov esi, dword [esp + 0x14]
sub esi, eax
jmp 0x43df24
xor esi, esi
mov edx, dword [esp + 0x10]
push edx
lea eax, [esi + eax - 1]
push eax
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x28]
call fcn.00440374
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
sub eax, ecx
cdq
idiv dword [esp + 0x44]
mov edx, dword [esp + 0xc]
sub ecx, eax
push ecx
lea eax, [esi + edx - 1]
push eax
lea ecx, [esp + 0x24]
call fcn.0044036e
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0044035c
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 0xc
Function at 0xe40058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xe401a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xe4007e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xe4006a
add dl, dl
jne 0xe40089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xe400dc
xor eax, eax
add dl, dl
jne 0xe40096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xe4017d
add dl, dl
jne 0xe400a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xe400b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xe400bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xe400c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xe400d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xe40075
mov eax, 1
add dl, dl
jne 0xe400ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xe400f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xe400e1
sub eax, ebx
mov ebx, 1
jne 0xe40128
mov ecx, 1
add dl, dl
jne 0xe4010e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xe40119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xe40105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xe40075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xe4013f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xe4014a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xe40136
cmp eax, 0x7d00
jae 0xe4016d
cmp eax, 0x500
jb 0xe40168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xe40075
cmp eax, 0x7f
ja 0xe40170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xe40075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xe4019e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xe40075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x42e003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
mov ecx, 0x16ed6e12
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e04e
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42cd70
nop
mov ecx, 0x4dd81749
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x981058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.009811a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x98107e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x98106a
add dl, dl
jne 0x981089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9810dc
xor eax, eax
add dl, dl
jne 0x981096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x98117d
add dl, dl
jne 0x9810a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9810b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9810bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9810c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x9810d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x981075
mov eax, 1
add dl, dl
jne 0x9810ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9810f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9810e1
sub eax, ebx
mov ebx, 1
jne 0x981128
mov ecx, 1
add dl, dl
jne 0x98110e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x981119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x981105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x981075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x98113f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x98114a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x981136
cmp eax, 0x7d00
jae 0x98116d
cmp eax, 0x500
jb 0x981168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x981075
cmp eax, 0x7f
ja 0x981170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x981075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x98119e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x981075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10