joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44221c
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
lea esi, [ebp - 0x110]
mov eax, ebx
xor edx, edx
div ecx
mov al, byte [edi + edx]
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 0x100
jne 0x44223f
xor ebx, ebx
xor esi, esi
cmp dword [ebp - 0xc], 0
jle 0x4422c5
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jb 0x4422c5
inc eax
mov dword [ebp - 0x10], eax
xor edx, edx
inc ebx
and ebx, 0xff
xor eax, eax
mov al, byte [ebp + ebx - 0x110]
lea ecx, [eax + esi]
and ecx, 0xff
mov esi, ecx
mov cl, byte [ebp + esi - 0x110]
mov byte [ebp + ebx - 0x110], cl
mov byte [ebp + esi - 0x110], al
xor ecx, ecx
mov cl, byte [ebp + ebx - 0x110]
add eax, ecx
and eax, 0xff
mov ecx, dword [ebp - 4]
mov cl, byte [ecx + edx]
xor cl, byte [ebp + eax - 0x110]
mov eax, dword [ebp - 8]
mov byte [eax + edx], cl
inc edx
dec dword [ebp - 0x10]
jne 0x44226c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4422d0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0xc]
xor ebx, ebx
lea esi, [ebp - 0x110]
mov eax, dword [ebp + 8]
cdq
push edx
push eax
mov eax, ebx
xor edx, edx
call fcn.0040579c
mov al, byte [edi + eax]
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 0x100
jne 0x4422f0
xor ebx, ebx
xor edx, edx
cmp dword [ebp - 0xc], 0
jle 0x44237d
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jb 0x44237d
inc eax
mov dword [ebp - 0x10], eax
xor esi, esi
inc ebx
and ebx, 0xff
xor eax, eax
mov al, byte [ebp + ebx - 0x110]
lea edx, [eax + edx]
and edx, 0xff
mov cl, byte [ebp + edx - 0x110]
mov byte [ebp + ebx - 0x110], cl
mov byte [ebp + edx - 0x110], al
xor ecx, ecx
mov cl, byte [ebp + ebx - 0x110]
add eax, ecx
and eax, 0xff
mov ecx, dword [ebp - 4]
mov cl, byte [ecx + esi]
xor cl, byte [ebp + eax - 0x110]
mov eax, dword [ebp - 8]
mov byte [eax + esi], cl
inc esi
dec dword [ebp - 0x10]
jne 0x442326
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x442388
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff00
mov edi, ecx
mov ecx, edx
mov ebp, eax
test cl, cl
jbe 0x4423ef
xor ebx, ebx
mov esi, esp
mov byte [edi + ebx], bl
xor eax, eax
mov al, cl
push eax
mov eax, ebx
pop edx
push ecx
mov ecx, edx
cdq
idiv ecx
pop ecx
mov al, byte [ebp + edx]
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 0x100
jne 0x4423a0
xor eax, eax
xor ebx, ebx
mov esi, esp
mov dl, byte [edi + ebx]
xor ecx, ecx
mov cl, dl
add eax, ecx
xor ecx, ecx
mov cl, byte [esi]
add eax, ecx
and eax, 0xff
mov cl, byte [edi + eax]
mov byte [edi + ebx], cl
mov byte [edi + eax], dl
inc ebx
inc esi
cmp ebx, 0x100
jne 0x4423c8
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x455ee0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x455ee6
ret

Function at 0x460480
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x7c4631
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404b6c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x7c4648
call fcn.004047c8
mov eax, ebx
call fcn.00423af0
mov edi, eax
dec edi
test edi, edi
jl 0x460538
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00423ac4
mov edx, dword [0x7d87c4]
call fcn.00403730
test al, al
je 0x460534
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00423ac4
lea edx, [ebp - 0x14]
call fcn.0049488c
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404b6c
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040483c
inc esi
dec edi
jne 0x4604e6
mov al, byte [0x7c464c]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x7c4658
mov eax, dword [ebp - 0xc]
call fcn.0040ec54
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404544
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0049488c
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x7c4648
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.0049488c
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x7c4648
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x7c4648
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x7c4664
call fcn.0040a7b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7c4638
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004044d0
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004044d0
lea eax, [ebp - 0x14]
call fcn.004044ac
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004044d0
ret
Function at 0x49c6ec
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, ecx
mov dword [ebp - 4], eax
mov esi, dword [0x862540]
mov eax, dword [ebp - 4]
mov byte [eax + 0x210], 1
xor eax, eax
push ebp
push 0x8008c5
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004948bc
add dword [ebp - 0xc], 4
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00495ae4
mov eax, dword [esi]
call fcn.00483210
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
add edx, dword [ebp - 0x14]
cmp eax, edx
jge 0x49c75e
mov eax, dword [esi]
call fcn.00483210
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x4c]
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
call fcn.0048321c
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x48]
add edx, dword [ebp - 0x18]
cmp eax, edx
jge 0x49c782
mov eax, dword [esi]
call fcn.0048321c
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x48]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
call fcn.00483204
cmp eax, dword [ebp - 0x18]
jle 0x49c798
mov eax, dword [esi]
call fcn.00483204
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
call fcn.004831f8
cmp eax, dword [ebp - 0xc]
jle 0x49c7ae
mov eax, dword [esi]
call fcn.004831f8
mov dword [ebp - 0xc], eax
push 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
call fcn.0049b074
push eax
call fcn.00407bf0
call fcn.00407150
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x214]
cmp eax, 0xfa
jbe 0x49c875
mov eax, ebx
call fcn.0040477c
cmp eax, 0x64
jge 0x49c875
cmp dword [0x85c450], 0
je 0x49c875
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1016
call fcn.00407c40
cmp dword [ebp - 8], 0
je 0x49c875
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1018
call fcn.00407c40
cmp dword [ebp - 8], 0
je 0x49c838
mov bl, 2
jmp 0x49c853
lea edx, [ebp - 0x20]
mov eax, dword [0x86a840]
call fcn.0049f984
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x14]
jle 0x49c851
xor ebx, ebx
jmp 0x49c853
mov bl, 1
xor eax, eax
mov al, bl
mov eax, dword [eax*4 + 0x85c558]
or eax, 0x40000
push eax
push 0x64
mov eax, dword [ebp - 4]
call fcn.0049b074
push eax
call dword [0x85c450]
mov eax, dword [0x862370]
mov eax, dword [eax]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 4]
call fcn.004987a8
push 4
mov eax, dword [ebp - 4]
call fcn.0049b074
push eax
call fcn.00407c38
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x7c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8008cc
call fcn.00407150
mov edx, dword [ebp - 4]
mov dword [edx + 0x214], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x210], 0
ret
Function at 0x4ae25c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
test esi, esi
jbe 0x4ae280
mov eax, 1
mov ebx, ecx
add ebx, eax
dec ebx
mov bl, byte [ebx]
mov edi, edx
add edi, eax
dec edi
xor byte [edi], bl
inc eax
dec esi
jne 0x4ae26e
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x4ae610
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp], ecx
mov esi, eax
lea edi, [esp + 4]
mov eax, dword [edx]
mov dword [edi], eax
add edx, 4
mov eax, dword [edx]
lea edx, [edi + 4]
mov dword [edx], eax
mov ebx, 4
mov eax, edi
mov dx, word [eax]
mov ecx, edx
shl ecx, 8
movzx edx, dx
shr edx, 8
or cx, dx
mov word [eax], cx
add eax, 2
dec ebx
jne 0x4ae635
xor ebx, ebx
mov ebp, ebx
add ebp, ebp
lea ebp, [ebp + ebp*2]
mov dx, word [esi + ebp*2 + 0x14]
mov eax, edi
call fcn.004ae5d0
mov ax, word [esi + ebp*2 + 0x16]
add word [edi + 2], ax
mov ax, word [esi + ebp*2 + 0x18]
add word [edi + 4], ax
mov dx, word [esi + ebp*2 + 0x1a]
lea eax, [edi + 6]
call fcn.004ae5d0
mov ax, word [edi + 4]
mov word [esp + 0xc], ax
mov ax, word [edi]
xor word [edi + 4], ax
mov dx, word [esi + ebp*2 + 0x1c]
lea eax, [edi + 4]
call fcn.004ae5d0
mov ax, word [edi + 2]
mov word [esp + 0xe], ax
mov ax, word [edi + 6]
xor word [edi + 2], ax
mov ax, word [edi + 4]
add word [edi + 2], ax
mov dx, word [esi + ebp*2 + 0x1e]
lea eax, [edi + 2]
call fcn.004ae5d0
mov ax, word [edi + 2]
add word [edi + 4], ax
mov ax, word [edi + 2]
xor word [edi], ax
mov ax, word [edi + 4]
xor word [edi + 6], ax
mov ax, word [esp + 0xc]
xor word [edi + 2], ax
mov ax, word [esp + 0xe]
xor word [edi + 4], ax
inc ebx
cmp ebx, 8
jne 0x4ae651
mov dx, word [esi + 0x74]
mov eax, edi
call fcn.004ae5d0
mov ax, word [esi + 0x76]
add word [edi + 4], ax
mov ax, word [esi + 0x78]
add word [edi + 2], ax
mov dx, word [esi + 0x7a]
lea eax, [edi + 6]
call fcn.004ae5d0
mov ax, word [edi]
mov edx, eax
shl edx, 8
movzx eax, ax
shr eax, 8
or dx, ax
mov word [edi], dx
mov ax, word [edi + 4]
mov edx, eax
shl edx, 8
movzx eax, ax
shr eax, 8
or dx, ax
mov word [esp + 0xe], dx
mov ax, word [edi + 2]
mov edx, eax
shl edx, 8
movzx eax, ax
shr eax, 8
or dx, ax
mov word [edi + 4], dx
mov ax, word [edi + 6]
mov edx, eax
shl edx, 8
movzx eax, ax
shr eax, 8
or dx, ax
mov word [edi + 6], dx
mov ax, word [esp + 0xe]
mov word [edi + 2], ax
mov eax, dword [edi]
mov edx, dword [esp]
mov dword [edx], eax
lea eax, [edi + 4]
mov eax, dword [eax]
mov edx, dword [esp]
add edx, 4
mov dword [edx], eax
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4ae7a0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp], ecx
mov esi, eax
lea edi, [esp + 4]
mov eax, dword [edx]
mov dword [edi], eax
add edx, 4
mov eax, dword [edx]
lea edx, [edi + 4]
mov dword [edx], eax
mov ebx, 4
mov eax, edi
mov dx, word [eax]
mov ecx, edx
shl ecx, 8
movzx edx, dx
shr edx, 8
or cx, dx
mov word [eax], cx
add eax, 2
dec ebx
jne 0x4ae7c5
xor ebx, ebx
mov ebp, ebx
add ebp, ebp
lea ebp, [ebp + ebp*2]
mov dx, word [esi + ebp*2 + 0x7c]
mov eax, edi
call fcn.004ae5d0
mov ax, word [esi + ebp*2 + 0x7e]
add word [edi + 2], ax
mov ax, word [esi + ebp*2 + 0x80]
add word [edi + 4], ax
mov dx, word [esi + ebp*2 + 0x82]
lea eax, [edi + 6]
call fcn.004ae5d0
mov ax, word [edi + 4]
mov word [esp + 0xc], ax
mov ax, word [edi]
xor word [edi + 4], ax
mov dx, word [esi + ebp*2 + 0x84]
lea eax, [edi + 4]
call fcn.004ae5d0
mov ax, word [edi + 2]
mov word [esp + 0xe], ax
mov ax, word [edi + 6]
xor word [edi + 2], ax
mov ax, word [edi + 4]
add word [edi + 2], ax
mov dx, word [esi + ebp*2 + 0x86]
lea eax, [edi + 2]
call fcn.004ae5d0
mov ax, word [edi + 2]
add word [edi + 4], ax
mov ax, word [edi + 2]
xor word [edi], ax
mov ax, word [edi + 4]
xor word [edi + 6], ax
mov ax, word [esp + 0xc]
xor word [edi + 2], ax
mov ax, word [esp + 0xe]
xor word [edi + 4], ax
inc ebx
cmp ebx, 8
jne 0x4ae7e1
mov dx, word [esi + 0xdc]
mov eax, edi
call fcn.004ae5d0
mov ax, word [esi + 0xde]
add word [edi + 4], ax
mov ax, word [esi + 0xe0]
add word [edi + 2], ax
mov dx, word [esi + 0xe2]
lea eax, [edi + 6]
call fcn.004ae5d0
mov ax, word [edi]
mov edx, eax
shl edx, 8
movzx eax, ax
shr eax, 8
or dx, ax
mov word [edi], dx
mov ax, word [edi + 4]
mov edx, eax
shl edx, 8
movzx eax, ax
shr eax, 8
or dx, ax
mov word [esp + 0xe], dx
mov ax, word [edi + 2]
mov edx, eax
shl edx, 8
movzx eax, ax
shr eax, 8
or dx, ax
mov word [edi + 4], dx
mov ax, word [edi + 6]
mov edx, eax
shl edx, 8
movzx eax, ax
shr eax, 8
or dx, ax
mov word [edi + 6], dx
mov ax, word [esp + 0xe]
mov word [edi + 2], ax
mov eax, dword [edi]
mov edx, dword [esp]
mov dword [edx], eax
lea eax, [edi + 4]
mov eax, dword [eax]
mov edx, dword [esp]
add edx, 4
mov dword [edx], eax
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4bd7e8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 4], eax
mov ecx, ebx
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [ecx + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov eax, dword [eax + 0x78]
add eax, ebx
mov esi, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
add edx, ebx
mov dword [ebp - 0xc], edx
mov edi, dword [eax + 0x20]
add edi, ebx
mov edx, dword [eax + 0x24]
add edx, ebx
mov dword [ebp - 8], edx
mov edx, dword [ebp + 0xc]
cmp edx, 0xffff
jbe 0x4bd878
test esi, esi
jbe 0x4bd89b
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp + 0xc]
call fcn.0040a158
test eax, eax
jne 0x4bd86a
mov eax, dword [ebp - 8]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4bd89b
add ebx, dword [ebp - 4]
mov dword [ebp - 4], ebx
jmp 0x4bd89b
add dword [ebp - 8], 2
add edi, 4
dec esi
test esi, esi
ja 0x4bd83b
jmp 0x4bd89b
mov esi, edx
sub esi, dword [eax + 0x10]
cmp esi, dword [eax + 0x14]
jae 0x4bd89b
mov eax, esi
shl eax, 2
add eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4bd89b
add ebx, dword [ebp - 4]
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4c84ec
Capabilities:
Packed with generic packer

Disassembly:
jmp 0x587721
jmp 0x4c82ac

Function at 0x4c850c
Capabilities:
Packed with generic packer

Disassembly:
jmp 0x587821
jmp 0x4c2364

Function at 0x4c85b4
Capabilities:
Packed with generic packer

Disassembly:
jmp 0x57aebe
jmp 0x4c7590

Function at 0x4c85bc
Capabilities:
Packed with generic packer

Disassembly:
jmp 0x57851d
jmp 0x4c7598

Function at 0x4c85c4
Capabilities:
Packed with generic packer

Disassembly:
jmp 0x579a01
jmp 0x4c780c

Function at 0x4c85cc
Capabilities:
Packed with generic packer

Disassembly:
jmp 0x58168c
jmp 0x4c7e5c
Function at 0x4cc6cc
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x4cc6fd
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x4cc6e5
add dl, dl
jne 0x4cc708
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x4cc759
xor eax, eax
add dl, dl
jne 0x4cc715
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x4cc7f6
add dl, dl
jne 0x4cc724
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x4cc72f
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x4cc73a
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x4cc745
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x4cc74f
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x4cc6f4
mov eax, 1
add dl, dl
jne 0x4cc767
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x4cc772
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x4cc75e
sub eax, ebx
mov ebx, 1
jne 0x4cc7a5
mov ecx, 1
add dl, dl
jne 0x4cc78b
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x4cc796
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x4cc782
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x4cc6f4
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x4cc7bc
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x4cc7c7
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x4cc7b3
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x4cc6f4
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x4cc817
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 0x4cc6f4
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x4ce284
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x4ce2b5
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x4ce29d
add dl, dl
jne 0x4ce2c0
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x4ce311
xor eax, eax
add dl, dl
jne 0x4ce2cd
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x4ce3ae
add dl, dl
jne 0x4ce2dc
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x4ce2e7
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x4ce2f2
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x4ce2fd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x4ce307
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x4ce2ac
mov eax, 1
add dl, dl
jne 0x4ce31f
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x4ce32a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x4ce316
sub eax, ebx
mov ebx, 1
jne 0x4ce35d
mov ecx, 1
add dl, dl
jne 0x4ce343
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x4ce34e
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x4ce33a
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x4ce2ac
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x4ce374
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x4ce37f
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x4ce36b
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x4ce2ac
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x4ce3cf
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 0x4ce2ac
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x4cfda4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0x833fb5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404bc8
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x4cfddf
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x4cfdf8
lea eax, [ebp - 0xc]
mov edx, dword [0x862514]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404c28
jmp 0x4cfe0b
lea eax, [ebp - 0xc]
mov edx, dword [0x862514]
mov edx, dword [edx]
mov edx, dword [edx + 0x14]
call fcn.00404c28
lea eax, [ebp - 0xc]
mov edx, ebx
sar edx, 1
jns 0x4cfe17
adc edx, 0
mov edx, dword [edx*4 + 0x860d54]
call fcn.00404e34
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0xc]
call fcn.00404e18
push eax
call fcn.00406e88
mov esi, eax
cmp esi, 0xffffffff
je 0x4cff87
mov eax, 0x40
call fcn.00402a80
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00407280
test eax, eax
je 0x4cff7a
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x4cff7a
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.004072e0
mov eax, edi
call fcn.00402ab0
mov eax, 0x18
call fcn.00402a80
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00407280
test eax, eax
je 0x4cff7a
mov eax, edi
cmp dword [eax], 0x4550
jne 0x4cff7a
add eax, 4
cmp byte [ebp - 1], 0
je 0x4cff1e
cmp word [eax], 0x8664
jne 0x4cff1e
mov eax, edi
call fcn.00402ab0
mov eax, 0xf0
call fcn.00402a80
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00407280
test eax, eax
je 0x4cff7a
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x4cff7a
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
call fcn.00404c04
jmp 0x4cff7a
cmp byte [ebp - 1], 0
jne 0x4cff7a
cmp word [eax], 0x14c
jb 0x4cff7a
cmp word [eax], 0x150
ja 0x4cff7a
mov eax, edi
call fcn.00402ab0
mov eax, 0xe0
call fcn.00402a80
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00407280
test eax, eax
je 0x4cff7a
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x4cff7a
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
call fcn.00404c04
mov eax, edi
call fcn.00402ab0
push esi
call fcn.00406e40
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.00404f44
jne 0x4cff9f
inc ebx
cmp ebx, 0x19
jne 0x4cfdd1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x833fbc
lea eax, [ebp - 0xc]
call fcn.00404bc8
ret