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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4eca78
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 0x4980d9
inc eax
mov dword [esi + 0x10], eax
jmp 0x4981ec
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x4980ed
mov eax, 0xffffffc7
jmp 0x4981ee
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x4980fe
cmp dword [esi + 8], eax
jne 0x4980ed
cmp dword [esi + 8], eax
jne 0x498117
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x498117
mov eax, 0xffffffc7
jmp 0x4981ee
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x49812b
push eax
mov ecx, ebx
call fcn.004978d0
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.00462070
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x49815c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00462090
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00497040
test eax, eax
mov dword [esp + 0x38], eax
je 0x49818f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0xb749d8
call fcn.00462270
mov eax, dword [esp + 0x38]
jmp 0x4981ee
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00497f00
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x4981d3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00497f20
mov esi, eax
test esi, esi
jne 0x498203
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00497f00
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x4981a5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0xb749d8
call fcn.00462270
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], 0xb749d8
call fcn.00462270
mov eax, esi
jmp 0x4981ee

Function at 0x49cc00
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x49cc60
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x49cc60
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x49cc60
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x49cc60
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 0x49cca0
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 0x4a8800
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4ed368
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.004e5312
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.004a8150
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.004e5240
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.004e1b04
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.004e1b04
push 1
push 0
push 0
mov ecx, esi
call fcn.004e1aac
push 1
push 0
push 1
mov ecx, esi
call fcn.004e1aac
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004e5384
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x4a8980
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4ed388
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.004e5312
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.004a8150
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.004e5240
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 0x4a8a44
cmp dword [esp + 0x40], 1
jne 0x4a8a42
cmp ecx, eax
jge 0x4a8a44
mov eax, ecx
cmp eax, 0xc8
jge 0x4a8a50
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.004a8800
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.004e5384
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x4a9240
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4ed433
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.004dff24
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.004e55ba
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004e6b19
test eax, eax
je 0x4a935c
mov ecx, dword [esp + 0x3c]
call fcn.004e55e7
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 0x4a9320
push edi
mov ecx, esi
call fcn.004e2c4e
mov ecx, esi
call fcn.004a9500
cmp dword [esp + 0x38], 1
jne 0x4a9355
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.004e2d89
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 0x4ab540
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4ab573
push esi
call fcn.004b97f0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4ab56c
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 0x4ab5f9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4ab5e2
mov eax, dword [esi + 8]
test eax, eax
je 0x4ab597
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 0x4ab5de
cmp eax, 2
je 0x4ab5e2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4ab58a
cmp eax, 3
je 0x4ab5bd
cmp eax, 1
jne 0x4ab58a
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 0x4ab58a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4ab58a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004ab620
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4ab608
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004ab620
add esp, 4
pop esi
ret

Function at 0x4abea0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x4abec1
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x4abec1
mov eax, dword [eax + 0x44]
test eax, eax
je 0x4abec1
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 0x4c7170
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 0x4c7213
test eax, eax
jbe 0x4c7213
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x4c7213
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 0x4c71be
xor esi, esi
jmp 0x4c71c4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x4c71ef
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00462a60
add esi, eax
push esi
mov ebx, esi
call fcn.00462a60
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x4c71d0
pop ebp
test edi, edi
pop edi
jne 0x4c7213
test ebx, ebx
je 0x4c7213
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.004cf2e0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x4c7335
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 0x4c744d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4c744d
mov eax, dword [esi + 0x3c]
push eax
call fcn.004e0376
mov esi, eax
test esi, esi
je 0x4c744d
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 0x4c744d
mov ecx, esi
call fcn.004c72c0
cmp edi, eax
jge 0x4c744d
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 0x4c73d3
mov dword [esp + 0x34], 1
jmp 0x4c742e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x4c744d
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.004c6870
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 0x4e0d1a
Capabilities:
Get graphical window text

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

Function at 0x4e2408
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 0x4e244a
call fcn.004e7f09
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4e244a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4e2441
xor eax, eax
jmp 0x4e2452
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004e2458
pop edi
pop esi
pop ebx
ret 4
Function at 0x4e8439
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 0x4e8467
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4e8485
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004e839f
jmp 0x4e8485
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4e8485
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004e839f
test edi, edi
mov eax, edi
jne 0x4e846f
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x416900
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.0041698f
jae 0x41690e
xor ecx, ecx
call fcn.0041698f
jae 0x41693d
xor eax, eax
call fcn.0041698f
jae 0x41694d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.0041698f
adc al, al
jae 0x41692f
jne 0x416979
stosb byte es:[edi], al
jmp 0x416911
call fcn.0041699b
sub ecx, ebx
jne 0x416956
call fcn.00416999
jmp 0x416975
lodsb al, byte [esi]
shr eax, 1
je 0x416983
adc ecx, ecx
jmp 0x416972
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.00416999
cmp eax, 0x7d00
jae 0x416972
cmp ah, 5
jae 0x416973
cmp eax, 0x7f
ja 0x416974
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x416911
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x40130d
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1f0
push ebx
push esi
push edi
mov ebx, 0x3bc617b3
mov eax, ebx
add eax, ebx
mov ebx, eax
and dword [ebp - 0x1a0], 0
mov eax, dword [ebp + 8]
mov byte [eax], 0
mov byte [ebp - 0x197], 0
jmp 0x40148f
mov eax, ebx
mul ebx
mov dword [ebp - 0x1e8], eax
mov ebx, eax
movzx eax, byte [ebp - 0x197]
push eax
push 0x43042b
lea eax, [ebp - 0x196]
push eax
call fcn.0040ddf0
push 0x100
lea eax, [ebp - 0x100]
push eax
push 0x43041c
lea eax, [ebp - 0x196]
push eax
push 0x80000001
call fcn.0040758a
add esp, 0x20
mov dword [ebp - 0x19c], eax
or eax, eax
je 0x4013ad
push 0x100
push dword [ebp + 8]
dec eax
push eax
lea eax, [ebp - 0x100]
add eax, 2
push eax
call fcn.0040129c
add esp, 0x10
xor ebx, 0x12ed
lea edi, [ebp - 0x1c4]
lea esi, [0x42d0b8]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0x1e4]
lea esi, [0x42d0d8]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov byte [ebp - 0x1a1], 0
jmp 0x40144d
mov eax, ebx
add eax, ebx
mov ebx, eax
push 0x100
lea eax, [ebp - 0x100]
push eax
movzx edi, byte [ebp - 0x1a1]
shl edi, 2
push dword [ebp + edi - 0x1c4]
lea edi, [ebp - 0x196]
push edi
push 0x80000001
call fcn.0040758a
lea eax, [ebp - 0x100]
push eax
movzx edi, byte [ebp - 0x1a1]
shl edi, 2
push dword [ebp + edi - 0x1e4]
mov edi, dword [ebp + 8]
push edi
push 0x430397
push edi
call fcn.0040ddf0
add esp, 0x28
mov eax, ebx
sub eax, ebx
mov ebx, eax
add byte [ebp - 0x1a1], 1
mov al, byte [ebp - 0x1a1]
cmp al, 8
jb 0x4013e2
inc dword [ebp - 0x1a0]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1ec], eax
push eax
call fcn.0040db8c
mov edi, dword [ebp - 0x1ec]
lea edi, [edi + eax + 1]
mov dword [ebp + 8], edi
mov eax, 0x1f78
mul ebx
mov dword [ebp - 0x1f0], eax
mov ebx, eax
add byte [ebp - 0x197], 1
mov al, byte [ebp - 0x197]
cmp al, 0x1e
jb 0x40133d
mov eax, dword [ebp - 0x1a0]
and eax, 0xff
jmp 0x4014b0
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403b44
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov ebx, dword [ebp + 8]
mov ecx, 0xae60305
add ecx, 0xce4
mov esi, ebx
and dword [0x418600], 0
mov eax, ecx
add eax, ecx
mov ecx, eax
and dword [0x419f94], 0
and dword [0x41afa4], 0
and dword [0x418de0], 0
add ecx, 0x35ab
mov dword [0x419b78], 4
mov dword [0x4196d8], 4
mov eax, esi
inc esi
mov al, byte [eax]
mov byte [0x419600], al
movzx eax, byte [0x419600]
or eax, eax
jl 0x403e12
cmp eax, 0xff
jg 0x403e12
jmp dword [eax*4 + 0x42d1c8]
test byte [0x419f94], 0x40
je 0x403ee9
mov eax, esi
inc esi
mov al, byte [eax]
mov byte [0x42b0c4], al
mov eax, 0x7c27
mul ecx
mov dword [ebp - 0xc], eax
mov ecx, eax
movzx eax, byte [0x42b0c4]
and eax, 0xc0
mov byte [ebp - 5], al
movzx eax, byte [0x42b0c4]
and eax, 7
mov byte [ebp - 6], al
movzx eax, byte [ebp - 5]
cmp eax, 0xc0
je 0x403ee9
cmp byte [ebp - 5], 0x40
jne 0x403e6c
inc dword [0x418de0]
mov eax, ecx
sub eax, ecx
mov ecx, eax
movzx eax, byte [ebp - 5]
cmp eax, 0x80
jne 0x403e88
mov eax, dword [0x4196d8]
add dword [0x418de0], eax
cmp dword [0x4196d8], 2
jne 0x403ea6
cmp byte [ebp - 5], 0
jne 0x403ee9
cmp byte [ebp - 6], 6
jne 0x403ee9
add dword [0x418de0], 2
jmp 0x403ee9
cmp byte [ebp - 6], 4
jne 0x403ed0
or byte [0x419f94], 0x80
mov eax, ecx
sub eax, ecx
mov ecx, eax
mov eax, esi
inc esi
mov al, byte [eax]
mov byte [0x419b74], al
movzx eax, byte [0x419b74]
and eax, 7
mov byte [ebp - 6], al
cmp byte [ebp - 6], 5
jne 0x403ee3
cmp byte [ebp - 5], 0
jne 0x403ee3
add dword [0x418de0], 4
mov eax, ecx
sub eax, ecx
mov ecx, eax
and dword [0x418de8], 0
jmp 0x403f0a
mov eax, esi
inc esi
mov edx, dword [0x418de8]
mov al, byte [eax]
mov byte [edx + 0x4195f8], al
inc dword [0x418de8]
mov eax, dword [0x418de0]
cmp dword [0x418de8], eax
jb 0x403ef2
mov eax, ecx
xor eax, ecx
mov ecx, eax
and dword [0x418de8], 0
jmp 0x403f3e
mov eax, esi
inc esi
mov edx, dword [0x418de8]
mov al, byte [eax]
mov byte [edx + 0x42c810], al
inc dword [0x418de8]
mov eax, dword [0x41afa4]
cmp dword [0x418de8], eax
jb 0x403f26
mov eax, esi
sub eax, ebx
mov dword [0x418600], eax
xor eax, eax
inc eax
pop esi
pop ebx
leave
ret
Function at 0x457d0f
Capabilities:
Packed with generic packer

Disassembly:
pushal
popal
push ebp
push esp
pop ebp
sub esp, 0x18
push ebx
push esi
push edi
xor ebx, ebx
push 1
push ebx
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
call fcn.00455697
mov dword [ebp - 0x18], eax
and eax, edx
add esp, 0x10
mov dword [ebp - 0x14], edx
cmp eax, 0xffffffff
je 0x457d97
push 2
push ebx
push ebx
push dword [ebp + 8]
call fcn.00455697
push eax
pop ecx
and ecx, edx
add esp, 0x10
cmp ecx, 0xffffffff
je 0x457d97
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
sub esi, eax
sbb edi, edx
js 0x457e2c
jg 0x457d70
cmp esi, ebx
jbe 0x457e2c
mov ebx, 0x1000
push ebx
push 8
call dword [0x4b6160]
push eax
call dword [0x4b60a8]
mov dword [ebp - 4], eax
or eax, eax
jne 0x457da3
call fcn.0044f1e2
mov dword [eax], 0xc
call fcn.0044f1e2
mov eax, dword [eax]
pop edi
pop esi
pop ebx
leave
ret
push 0x8000
push dword [ebp + 8]
call fcn.0045847c
pop ecx
pop ecx
mov dword [ebp - 8], eax
test edi, edi
jl 0x457dc3
jg 0x457dbf
cmp esi, ebx
jb 0x457dc3
push ebx
pop eax
jmp 0x457dc5
push esi
pop eax
push eax
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.00454353
add esp, 0xc
cmp eax, 0xffffffff
je 0x457e0f
cdq
sub esi, eax
sbb edi, edx
js 0x457de6
jg 0x457db5
test esi, esi
jne 0x457db5
mov esi, dword [ebp - 0x10]
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.0045847c
pop ecx
pop ecx
push dword [ebp - 4]
push 0
call dword [0x4b6160]
push eax
call dword [0x4b60ac]
sub ebx, ebx
jmp 0x457e95
call fcn.0044f1f5
cmp dword [eax], 5
jne 0x457e24
call fcn.0044f1e2
mov dword [eax], 0xd
or esi, 0xffffffff
mov dword [ebp - 0xc], esi
jmp 0x457de9
cmp edi, ebx
jg 0x457ea1
jl 0x457e36
cmp esi, ebx
jae 0x457ea1
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00455697
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
je 0x457d97
push dword [ebp + 8]
call fcn.00456bb7
pop ecx
push eax
call dword [0x4b615c]
neg eax
sbb eax, eax
neg eax
dec eax
cdq
mov dword [ebp - 0x10], eax
and eax, edx
mov dword [ebp - 0xc], edx
cmp eax, 0xffffffff
jne 0x457ea1
call fcn.0044f1e2
mov dword [eax], 0xd
call fcn.0044f1f5
mov esi, eax
call dword [0x4b6168]
mov dword [esi], eax
mov esi, dword [ebp - 0x10]
and esi, dword [ebp - 0xc]
cmp esi, 0xffffffff
je 0x457d97
push ebx
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp + 8]
call fcn.00455697
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
je 0x457d97
sub eax, eax
jmp 0x457d9e

Function at 0x414ac0
Capabilities:
Encode data using xor

Disassembly:
fdiv dword [ecx + 0x71]
imul ecx, dword [eax - 0x72113ad8], 0x4f7ffcf9
mov edx, 0x107bc594
out dx, al
push 0x73
pop es
les eax, [edi + 0x29]
push 0x50
xor al, 0xf8
je 0x414acd
lea eax, [edx - 0x70]
dec edi
iretd