joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10012231
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.100067c0
mov eax, dword [0x10028080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.100108a9
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x10012273
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x100123cf
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.1001c800
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x10029920]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.10011dba
mov ecx, dword [esi*4 + 0x10029920]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x100123c8
cmp eax, dword [ecx + edi + 0x24]
jne 0x100123c8
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100123c8
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10011dba
add esp, 0x14
test edx, edx
jl 0x100123c8
jg 0x1001233e
test eax, eax
jb 0x100123c8
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x100123c8
jl 0x10012358
cmp dword [ebp - 0x1008], eax
ja 0x100123c8
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x10012376
test ebx, ebx
je 0x100123af
cmp ecx, edi
jae 0x100123af
mov al, byte [ecx]
cmp al, 0xd
jne 0x10012390
lea eax, [edi - 1]
cmp ecx, eax
jae 0x1001239c
cmp byte [ecx + 1], 0xa
jne 0x1001239c
inc ecx
jmp 0x1001239c
movzx eax, al
movsx eax, byte [eax + 0x10028338]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x10012376
cmp edx, ebx
jne 0x10012376
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x100123cd
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10005936
leave
ret
Function at 0x10012595
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x10029920]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100125d5
cmp byte [ebx], 0xa
jne 0x100125d5
or byte [edi + eax + 0x28], 4
jmp 0x100125da
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x100126d9
mov dl, byte [eax]
cmp dl, 0x1a
je 0x100126bc
inc eax
cmp dl, 0xd
je 0x10012606
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x1001262c
cmp eax, ecx
jae 0x1001263a
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x100125ee
jmp 0x100126d9
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100126b7
cmp dword [ebp - 0x10], 0
je 0x100126b7
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x10029920]
test byte [eax + edi + 0x28], 0x48
je 0x10012691
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x1001267c
mov byte [esi], dl
jmp 0x1001268d
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x10029920]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x100126d9
cmp byte [ebp - 1], 0xa
jne 0x100126a0
cmp esi, ebx
jne 0x100126a0
mov byte [esi], 0xa
jmp 0x100126d8
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.10011dd8
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x100126d9
mov byte [esi], 0xd
jmp 0x100126d8
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x10029920]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x100126d6
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x100126d9
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x100126e2
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x10029920]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x10012728
cmp word [ebx], dx
jne 0x10012728
or byte [eax + edi + 0x28], 4
jmp 0x1001272d
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x10012890
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x10012870
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x1001276e
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x100127a4
cmp eax, edx
jae 0x100127b2
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x10012749
jmp 0x10012890
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1001286b
cmp dword [ebp - 0x18], 0
je 0x1001286b
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x10029920]
test byte [eax + edi + 0x28], 0x48
je 0x10012841
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x10012805
mov word [esi], cx
jmp 0x1001283c
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x10029920]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x10029920]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x10029920]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x10012890
pop eax
cmp word [ebp - 4], ax
jne 0x10012851
cmp esi, ebx
jne 0x10012851
mov word [esi], ax
jmp 0x1001288d
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.10011dd8
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x10012890
push 0xd
pop eax
jmp 0x1001284c
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x10029920]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x1001288a
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x10012890
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x100167cd
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1001686a
push ebx
push esi
call fcn.10016796
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1001556b
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10016817
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10016869
push edi
push eax
call fcn.1001332a
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10016837
call fcn.1000e422
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10016868
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1001556b
add esp, 0x20
test eax, eax
jne 0x10016856
push edi
call fcn.1000e422
jmp 0x1001685e
push ebx
call fcn.1000e422
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x10018ae7
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.1000e7c6
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10018b56
cmp esi, dword [ebp - 4]
je 0x10018b51
cmp dword [ebp + 0xc], 0
je 0x10018b51
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10018b2e
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.10018639
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x10018b58
xor eax, eax
inc eax
jmp 0x10018b58
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x10018bbd
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10028080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.1000e7c6
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.1000e7c6
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x10018c34
cmp word [ecx], dx
je 0x10018c34
mov eax, dword [0x100219c4]
push edi
dec eax
push eax
push 0x100218b0
call fcn.10018b5c
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x10018ca7
cmp word [eax], dx
je 0x10018ca7
mov eax, dword [edi]
test eax, eax
je 0x10018c58
cmp word [eax], dx
je 0x10018c58
lea eax, [ebp - 0x10]
push eax
call fcn.1001853f
jmp 0x10018c61
lea eax, [ebp - 0x10]
push eax
call fcn.100185da
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x10018cd1
mov eax, dword [0x100218ac]
push dword [ebp - 0x14]
dec eax
push eax
push 0x100215a0
call fcn.10018b5c
add esp, 0xc
test al, al
je 0x10018cd1
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x10018c9c
cmp word [eax], di
je 0x10018c9c
lea eax, [ebp - 0x10]
push eax
call fcn.1001853f
pop ecx
jmp 0x10018cd3
lea eax, [ebp - 0x10]
push eax
call fcn.100185da
jmp 0x10018c99
mov eax, dword [edi]
test eax, eax
je 0x10018cbe
cmp word [eax], dx
je 0x10018cbe
lea eax, [ebp - 0x10]
push eax
call fcn.100184f4
pop ecx
jmp 0x10018cd1
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x10018d9c
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.100189e1
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x10018d9c
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x10018d9c
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x10018d9c
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10018d29
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.10010750
test ebx, ebx
je 0x10018d97
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.10010750
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10018d9c
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10018d9c
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.1001ae04
add esp, 0x10
xor eax, eax
inc eax
jmp 0x10018d9e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10005936
leave
ret
Function at 0x1001b331
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.1001b2ad
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x1001b4a0
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x1001b4a0
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x1001b455
jg 0x1001b38d
test eax, eax
je 0x1001b44b
push 1
push 0x1000
call fcn.10011b35
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x1001b3b0
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1001b442
push 0x8000
push ebx
call fcn.1001b1de
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x1001b3d9
jg 0x1001b3d4
cmp ecx, 0x1000
jb 0x1001b3d9
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.10011919
add esp, 0x10
cmp eax, 0xffffffff
je 0x1001b41e
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x1001b3d4
jl 0x1001b405
test ecx, ecx
jne 0x1001b3c6
push dword [ebp - 0xc]
push ebx
call fcn.1001b1de
push esi
call fcn.1000e422
add esp, 0xc
xor ebx, ebx
jmp 0x1001b4ae
cmp byte [edi + 0x24], 0
je 0x1001b435
cmp dword [edi + 0x20], 5
jne 0x1001b435
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x1001b440
mov ebx, dword [edi + 0x18]
jmp 0x1001b442
xor ebx, ebx
push esi
call fcn.1000e422
pop ecx
jmp 0x1001b4ae
test ecx, ecx
jg 0x1001b417
jl 0x1001b455
test eax, eax
jae 0x1001b417
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10011dd8
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x1001b475
cmp byte [edi + 0x1c], 0
je 0x1001b417
jmp 0x1001b4a6
push ebx
call fcn.10019297
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1001b417
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1001b4ae
cmp byte [edi + 0x1c], 0
je 0x1001b4ab
mov ebx, dword [edi + 0x18]
jmp 0x1001b4ae
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.10011dd8
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1001c7c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001c7ed
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001c7ed
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x5533700
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.0553378f
jae 0x553370e
xor ecx, ecx
call fcn.0553378f
jae 0x553373d
xor eax, eax
call fcn.0553378f
jae 0x553374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.0553378f
adc al, al
jae 0x553372f
jne 0x5533779
stosb byte es:[edi], al
jmp 0x5533711
call fcn.0553379b
sub ecx, ebx
jne 0x5533756
call fcn.05533799
jmp 0x5533775
lodsb al, byte [esi]
shr eax, 1
je 0x5533783
adc ecx, ecx
jmp 0x5533772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.05533799
cmp eax, 0x7d00
jae 0x5533772
cmp ah, 5
jae 0x5533773
cmp eax, 0x7f
ja 0x5533774
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 0x5533711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8

Function at 0x559de2f
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp byte [edi - 4], 0xa
ja 0x559de58
mov eax, 0xc34029fb
xor dword [esp - 4], eax
mov eax, dword [esp + 4]
sub dword [esp - 4], eax
jne 0x559de45
add edx, 0x1b
push dword [edx - 7]
pop edi
add ecx, ecx
add edi, ebx
mov esi, dword [edx + 1]
add ecx, ebx
mov ax, word [ecx + esi]
cwde
push dword [edi + eax*4]
add dword [esp], ebx
pop esi
mov eax, dword [esp]
add esp, 8
jmp eax
ret
push 0xffffffffffffffff
lea edx, [ebx + 8]
push dword [edx + 0x34]
lea esi, [edx - 8]
add dword [esp], ebx
pop ecx
add edx, dword [ecx + 0x78]
add esi, dword [edx + 0x18]
pop ecx
lodsd eax, dword [esi]
add ecx, 1
cmp dword [edx + 0x10], ecx
lea edi, [eax + ebx + 4]
je 0x559de15
mov dl, dl
and al, 0xff
xor eax, eax
imul eax, eax, 0xf
push eax
movzx eax, byte [edi - 4]
neg eax
lea edi, [edi - 0xe]
add dword [esp], eax
sub edi, 0xfffffff1
pop eax
jmp 0x5599200

Function at 0x433001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
mov ecx, 0x511a4134
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x2d6d32f5
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x3473700
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.0347378f
jae 0x347370e
xor ecx, ecx
call fcn.0347378f
jae 0x347373d
xor eax, eax
call fcn.0347378f
jae 0x347374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.0347378f
adc al, al
jae 0x347372f
jne 0x3473779
stosb byte es:[edi], al
jmp 0x3473711
call fcn.0347379b
sub ecx, ebx
jne 0x3473756
call fcn.03473799
jmp 0x3473775
lodsb al, byte [esi]
shr eax, 1
je 0x3473783
adc ecx, ecx
jmp 0x3473772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.03473799
cmp eax, 0x7d00
jae 0x3473772
cmp ah, 5
jae 0x3473773
cmp eax, 0x7f
ja 0x3473774
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 0x3473711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x40a156
Capabilities:
Encode data using xor

Disassembly:
xor al, al
nop
mov al, byte [edi]
xor al, bl
nop
mov byte [edi], al
add edi, 1
cmp edi, ecx
jne fcn.0040a156
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x409b38
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x409b47
pop dword [ebp - 0x38]
mov eax, 0x269a76f3
sub eax, 0x2659dbac
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0xb3d20978
add dword [ebp - 0x48], 0x9a803bd3
mov dword [ebp - 0x44], 0xcdb623cb
add dword [ebp - 0x44], 0x647d287a
mov dword [ebp - 0x40], 0xcd274662
add dword [ebp - 0x40], 0x7f24fdcc
mov dword [ebp - 0x3c], 0x102af6a2
add dword [ebp - 0x3c], 0xefd5095e
lea eax, [ebp - 0x48]
push eax
mov eax, 0xa73d62a7
sub eax, 0xa6fc9253
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0x3f11370b
sub dword [ebp - 0x48], 0xca9ecdb5
mov dword [ebp - 0x44], 0x405ec48c
sub dword [ebp - 0x44], 0xfef26317
mov dword [ebp - 0x40], 0xdd75a1f3
sub dword [ebp - 0x40], 0x7a063587
mov dword [ebp - 0x3c], 0x8e51ac8d
sub dword [ebp - 0x3c], 0x8e51ac8d
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0x52a25def
sub eax, 0x52618da3
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x35bde
push 0
call eax
mov ecx, 0x38cc
xor ebx, ebx
add ebx, eax
mov edx, 0xc0d39e74
sub edx, 0xc091ee74
add edx, dword [ebp - 0x38]
mov edi, 0xcb7dab7a
add edi, 0x9a5bd118
sub dword [ebp - 8], edx
mov esi, dword [edx]
xor dword [ebp - 4], 0x2827b707
sub esi, edi
sub dword [ebp - 0x24], ecx
mov dword [ebx], esi
add dword [ebp - 0x30], esi
add ebx, 0x93250d83
add ebx, 0x6cdaf281
add edx, 4
loop 0x409c65
add eax, 0x1f083536
sub eax, 0x1f075f33
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x991218d2
add ecx, 0x672de72e
add ecx, dword [ebp - 0x38]
call ebx
leave
ret