joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10008bf4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x428
mov eax, 0x1000deef
call fcn.1000c808
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x424], eax
mov dword [ebp - 0x428], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x418], ebx
mov byte [ebp - 4], 1
test edi, edi
je 0x10008dc8
push edi
call dword [sym.imp.kernel32.dll_lstrlenW]
inc eax
push 2
push eax
mov dword [ebp - 0x41c], eax
lea eax, [ebp - 0x41c]
push eax
call fcn.100062f5
add esp, 0xc
test eax, eax
js 0x10008dc2
mov esi, dword [ebp - 0x41c]
cmp esi, 0x400
jg 0x10008c90
push esi
call fcn.100055f7
pop ecx
test al, al
je 0x10008c90
mov eax, esi
call fcn.1000c873
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x10008c9c
push esi
lea ecx, [ebp - 0x428]
call fcn.100062f5
push 3
push esi
push edi
push eax
call fcn.100062f5
test eax, eax
je 0x10008dc2
push 2
push ebx
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryExA]
mov edi, eax
mov dword [ebp - 0x41c], edi
test edi, edi
jne 0x10008cd0
call fcn.10005825
mov esi, eax
jmp 0x10008da7
push dword [ebp - 0x424]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.kernel32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x10008cf3
call fcn.10005825
jmp 0x10008d9e
push esi
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x424], eax
test eax, eax
je 0x10008ce9
push esi
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
mov dword [ebp - 0x420], esi
cmp eax, esi
jae 0x10008d23
mov esi, 0x8007000e
jmp 0x10008da0
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.100062f5
mov dword [ebp - 4], 1
jmp 0x10008d62
cmp dword [ebp - 0x418], 0
je 0x10008d1c
push esi
push dword [ebp - 0x424]
push esi
push dword [ebp - 0x418]
call fcn.100062f5
mov eax, dword [ebp - 0x418]
add esp, 0x10
push dword [ebp + 0x14]
mov byte [eax + esi], bl
push dword [ebp - 0x418]
lea ecx, [ebp - 0x430]
call fcn.100062f5
mov esi, eax
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x10008de2
lea ecx, [ebp - 0x418]
call fcn.10008e4b
jmp 0x10008de2
mov ebx, dword [ebp - 0x418]
lea eax, [ebp - 0x414]
cmp ebx, eax
je 0x10008ddd
lea ecx, [ebp - 0x418]
call fcn.10008e4b
mov esi, 0x8007000e
lea ecx, [ebp - 0x428]
call fcn.1000575f
mov eax, esi
lea esp, [ebp - 0x444]
call fcn.1000c861
ret 0x10
Function at 0x1000ba05
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10001f94]
jne 0x1000c940
ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x10011bc8], eax
mov dword [0x10011bc4], ecx
mov dword [0x10011bc0], edx
mov dword [0x10011bbc], ebx
mov dword [0x10011bb8], esi
mov dword [0x10011bb4], edi
mov word [0x10011be0], ss
mov word [0x10011bd4], cs
mov word [0x10011bb0], ds
mov word [0x10011bac], es
mov word [0x10011ba8], fs
mov word [0x10011ba4], gs
pushfd
pop dword [0x10011bd8]
mov eax, dword [ebp]
mov dword [0x10011bcc], eax
mov eax, dword [ebp + 4]
mov dword [0x10011bd0], eax
lea eax, [ebp + 8]
mov dword [0x10011bdc], eax
mov eax, dword [ebp - 0x320]
mov dword [0x10011b18], 0x10001
mov eax, dword [0x10011bd0]
mov dword [0x10011acc], eax
mov dword [0x10011ac0], 0xc0000409
mov dword [0x10011ac4], 1
mov eax, dword [0x10001f94]
mov dword [ebp - 0x328], eax
mov eax, dword [0x100117c4]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x10011b10], eax
push 1
call sub.MSVCR100.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x10002190
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x10011b10], 0
jne 0x1000ca2c
push 1
call sub.MSVCR100.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
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 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x7a8008], 0x8088405
inc edx
mov dword [ebx + 0x7a8008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41cb84
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 0x41cbb5
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cb9d
add dl, dl
jne 0x41cbc0
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cc11
xor eax, eax
add dl, dl
jne 0x41cbcd
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41ccae
add dl, dl
jne 0x41cbdc
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cbe7
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cbf2
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cbfd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41cc07
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41cbac
mov eax, 1
add dl, dl
jne 0x41cc1f
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cc2a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cc16
sub eax, ebx
mov ebx, 1
jne 0x41cc5d
mov ecx, 1
add dl, dl
jne 0x41cc43
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cc4e
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cc3a
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cbac
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41cc74
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cc7f
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cc6b
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 0x41cbac
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41cccf
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 0x41cbac
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 0x41dffc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x7934bb
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], 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 edx, dword [eax + 0x78]
test edx, edx
je 0x41e0ad
add edx, ebx
mov eax, edx
mov esi, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
add edx, ebx
mov dword [ebp - 0x10], edx
mov edi, dword [eax + 0x20]
add edi, ebx
mov edx, dword [eax + 0x24]
add edx, ebx
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 4]
cmp edx, 0xffff
jbe 0x41e096
test esi, esi
jbe 0x41e0ad
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088a4
test eax, eax
jne 0x41e088
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41e0ad
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41e065
jmp 0x41e0ad
mov ecx, edx
sub ecx, dword [eax + 0x10]
cmp ecx, dword [eax + 0x14]
jae 0x41e0ad
mov eax, ecx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7934c2
ret

Function at 0x41e0cc
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
mov byte [ebp - 5], cl
mov dword [ebp - 4], edx
mov eax, dword [0x7aa314]
mov eax, dword [eax]
mov eax, dword [eax + 0x1c]
call fcn.00403268
mov dword [ebp - 0x10], eax
mov eax, dword [0x7aa314]
mov eax, dword [eax]
cmp dword [eax + 0x20], 0
jbe 0x41e1d5
push 0
push 0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [0x7aa314]
mov eax, dword [eax]
mov eax, dword [eax + 4]
call fcn.00404f04
push eax
call fcn.0041a6b4
push 0
push 0
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x58]
mov ecx, 0x40
call fcn.0040d9e8
lea eax, [ebp - 0x24]
push eax
push 0
push 0x80
push 1
push 1
push 0x60
push 0
add byte [edx], ch
Function at 0x41e8f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov word [ebp - 2], dx
xor eax, eax
push ebp
push 0x793e9f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x41e92b
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x41e944
lea eax, [ebp - 0x10]
mov edx, dword [0x7aa23c]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x41e957
lea eax, [ebp - 0x10]
mov edx, dword [0x7aa23c]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x41e963
adc edx, 0
mov edx, dword [edx*4 + 0x7a90d0]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406af4
mov esi, eax
cmp esi, 0xffffffff
je 0x41ea71
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x40
push edi
push esi
call fcn.00406d3c
test eax, eax
je 0x41ea64
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x41ea64
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406d94
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x18
push edi
push esi
call fcn.00406d3c
test eax, eax
je 0x41ea64
mov eax, edi
cmp dword [eax], 0x4550
jne 0x41ea64
add eax, 4
mov dx, word [eax]
cmp dx, 0x14c
jb 0x41ea64
cmp dx, 0x150
ja 0x41ea64
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0xe0
push edi
push esi
call fcn.00406d3c
test eax, eax
je 0x41ea64
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 2]
jne 0x41ea64
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406aac
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x41ea89
inc ebx
cmp ebx, 0x19
jne 0x41e91d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x793ea6
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x401ee0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
xor eax, eax
test ecx, ecx
je 0x401fe2
test edx, edx
je 0x401fe2
cmp dword [esp + 0x2c], 0
mov dword [esp], ecx
je 0x401f2c
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
nop
nop
movzx ebx, byte [edx + edi]
test ebx, ebx
je 0x401f33
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, ebx
inc edi
mov ecx, esi
cmp dword [esp + 0x2c], edi
jne 0x401f10
jmp 0x401f35
mov esi, 0x1505
jmp 0x401f35
mov esi, ecx
mov ecx, dword [esp]
mov edi, dword [ecx + 0x20]
lea ebp, [edi - 1]
mov ebx, edi
sub ebx, 1
jb 0x401fe2
mov dword [esp + 0x14], ebx
mov dword [esp + 8], edx
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 0x10], eax
xor ebx, ebx
mov edx, edi
mov dword [esp + 4], edi
mov dword [esp + 0xc], ebp
jmp 0x401f83
mov eax, ebx
and eax, 1
xor ebx, 1
lea ebx, [ebx + eax*2]
cmp ebx, edx
mov ebp, dword [esp + 0xc]
jae 0x401fe0
lea eax, [ebx + ebp]
and eax, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov edi, dword [edi + eax*4]
cmp edi, 0xffffffff
je 0x401fe0
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x401f70
mov eax, dword [ecx + 0xc]
mov ebp, dword [eax + edi*4]
push ebp
call fcn.00408770
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
add esp, 4
cmp eax, dword [esp + 0x2c]
jne 0x401f70
push dword [esp + 0x2c]
push ebp
push dword [esp + 0x10]
call fcn.00408790
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
add esp, 0xc
test eax, eax
jne 0x401f70
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
jmp 0x401fe2
xor eax, eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x402db0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0x402f46
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
movzx edi, cx
shr ecx, 0x10
test esi, esi
je 0x402f3f
mov edx, 0x5e6ea9af
mov eax, esi
mul edx
shr edx, 0xb
imul eax, edx, 0x15b0
mov edx, esi
sub edx, eax
jmp 0x402e40
add ebp, dword [esp]
mov esi, dword [esp + 4]
mov eax, edi
mov edx, 0x80078071
mul edx
mov ebx, edx
shr ebx, 0xf
mov eax, ecx
mov edx, 0x80078071
mul edx
imul eax, ebx, 0xfff1
sub edi, eax
shr edx, 0xf
imul eax, edx, 0xfff1
sub ecx, eax
sub esi, dword [esp + 8]
mov edx, 0x15b0
je 0x402f3f
xor eax, eax
cmp edx, 8
mov dword [esp + 4], esi
jb 0x402ec1
mov eax, edx
and eax, 0x1ff8
mov dword [esp], eax
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, edx
mov edx, esi
movzx ebx, byte [ebp + esi]
add ebx, edi
movzx esi, byte [ebp + esi + 1]
add ecx, ebx
add esi, ebx
movzx edi, byte [ebp + edx + 2]
add ecx, esi
add esi, edi
movzx edi, byte [ebp + edx + 3]
add ecx, esi
add esi, edi
movzx edi, byte [ebp + edx + 4]
add ecx, esi
add esi, edi
movzx edi, byte [ebp + edx + 5]
add ecx, esi
add esi, edi
movzx edi, byte [ebp + edx + 6]
add ecx, esi
add esi, edi
add ecx, esi
movzx edi, byte [ebp + edx + 7]
add edi, esi
add ecx, edi
lea esi, [edx + 8]
add edx, 0xf
cmp edx, eax
mov edx, eax
jb 0x402e60
add ebp, esi
mov esi, dword [esp + 4]
mov eax, dword [esp]
mov ebx, edx
sub ebx, eax
mov dword [esp + 8], edx
jbe 0x402e07
mov esi, eax
not esi
add esi, edx
mov dword [esp + 0xc], esi
mov esi, edx
and esi, 3
mov dword [esp], ebx
mov ebx, ebp
je 0x402efc
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx]
add edi, edx
add ecx, edi
inc ebx
inc eax
dec esi
jne 0x402ef0
cmp dword [esp + 0xc], 3
jb 0x402e00
mov edx, dword [esp + 8]
sub edx, eax
xor eax, eax
nop
movzx esi, byte [ebx + eax]
add esi, edi
add ecx, esi
movzx edi, byte [ebx + eax + 1]
add edi, esi
add ecx, edi
movzx esi, byte [ebx + eax + 2]
add esi, edi
add ecx, esi
movzx edi, byte [ebx + eax + 3]
add edi, esi
add ecx, edi
add eax, 4
cmp edx, eax
jne 0x402f10
jmp 0x402e00
shl ecx, 0x10
or ecx, edi
jmp 0x402f4b
mov ecx, 1
mov eax, ecx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x402f60
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x402fcd
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
test edx, edx
je 0x402fcf
not eax
xor esi, esi
nop
nop
nop
nop
movzx edi, byte [ecx + esi]
mov ebx, eax
shr ebx, 4
and eax, 0xf
mov ebp, edi
and ebp, 0xf
add ebp, eax
and eax, edi
add eax, eax
sub ebp, eax
mov eax, dword [ebp*4 + 0x43d928]
mov ebp, eax
and ebp, ebx
add ebx, eax
add ebp, ebp
sub ebx, ebp
mov eax, ebx
shr eax, 4
mov ebp, ebx
and ebp, 0xf
shr edi, 4
and ebx, edi
or edi, ebp
xor edi, ebx
xor eax, dword [edi*4 + 0x43d928]
inc esi
cmp edx, esi
jne 0x402f80
not eax
jmp 0x402fcf
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x408bd0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
call fcn.00408c70
push eax
mov esi, esp
sub esp, 0x100
mov edi, esp
call fcn.004379b0
test al, 1
jne 0x408bf0
jmp 0x408c3a
call fcn.00432bf0
test al, 1
jne 0x408bfb
jmp 0x408c31
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov dword [esi], eax
lea eax, str.of_system_that_leetspeak__reflection_primarily_the_of_other_modified_on_glyphs_resemblance_is_replacements_similarity_or_eleet_the_ways_used_character_a_often_spellings_on_play_uses_their_via_internet._or_it_in
sub esp, 8
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.00408c50
add esp, 8
call fcn.00409ff0
test al, 1
jne 0x408c26
jmp 0x408c2f
call fcn.0040f4a0
jmp 0x408c2d
jmp 0x408c2f
jmp 0x408c31
call fcn.004382c0
jmp 0x408c38
jmp 0x408c3a
xor eax, eax
sub esp, 4
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x408cd0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20c
mov dword [esp], ecx
mov edi, dword [esp + 0x220]
movzx ecx, word [edi]
test cx, cx
je 0x408dfa
lea eax, [edi + 2]
xor ebx, ebx
jmp 0x408d0d
add ebx, esi
movzx ecx, word [eax]
add eax, 2
test cx, cx
je 0x408d31
movzx ebp, cx
xor ecx, ecx
cmp ebp, 0x800
setb dl
mov esi, 1
cmp ebp, 0x80
jb 0x408d00
mov cl, dl
xor ecx, 3
mov esi, ecx
jmp 0x408d00
lea esi, [ebx + 1]
push esi
call fcn.00436470
add esp, 4
mov ebp, eax
test ebx, ebx
jle 0x408e08
add ebx, ebp
add esi, ebp
mov eax, ebp
mov dword [esp + 8], esi
jmp 0x408d78
mov byte [eax], dl
mov esi, 1
add edi, 2
add eax, esi
cmp eax, ebx
mov esi, dword [esp + 8]
jae 0x408e0a
movzx edx, word [edi]
test dx, dx
je 0x408e0a
cmp dx, 0x7f
jbe 0x408d60
mov ecx, eax
not ecx
add ecx, esi
movzx esi, dx
cmp ecx, 2
jb 0x408dc0
cmp esi, 0x7ff
ja 0x408dc0
mov ecx, edx
shr ecx, 6
add cl, 0xc0
mov byte [eax], cl
and dl, 0x3f
or dl, 0x80
mov byte [eax + 1], dl
mov esi, 2
jmp 0x408d67
mov dword [esp + 4], esi
xor esi, esi
cmp ecx, 3
jb 0x408d67
mov esi, dword [esp + 4]
mov ecx, esi
shr ecx, 0xc
or cl, 0xe0
mov byte [eax], cl
mov ecx, esi
shr ecx, 6
and cl, 0x3f
or cl, 0x80
mov byte [eax + 1], cl
and dl, 0x3f
or dl, 0x80
mov byte [eax + 2], dl
mov esi, 3
jmp 0x408d67
push 1
call fcn.00436470
add esp, 4
mov ebp, eax
jmp 0x408e0a
mov eax, ebp
mov edi, dword [esp + 0x228]
mov edx, dword [esp + 0x224]
mov byte [eax], 0
xor ecx, ecx
jmp 0x408e27
mov ebx, eax
mov byte [esp + ecx + 0xc], bl
inc ecx
movzx eax, byte [ebp + ecx]
mov bl, 0x2f
cmp eax, 0x5c
je 0x408e22
test eax, eax
jne 0x408e20
mov byte [esp + ecx + 0xc], 0
lea eax, [esp + 0xc]
push 0
push 0
push 0
mov ecx, dword [esp + 0xc]
push dword [ecx + 8]
add ecx, 0x10
push 0
push 0
push edi
push edx
push eax
push ecx
call fcn.00405250
add esp, 0x28
test eax, eax
setne al
add esp, 0x20c
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
Function at 0x409db0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x2c
mov edx, dword [esp + 0x40]
mov esi, 0xffffffff
mov ecx, 0xfffffffd
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebp, esi
add ecx, 3
cmp byte [edx + esi + 1], 0
lea esi, [esi + 1]
jne 0x409dd0
shr ecx, 2
movzx eax, byte [edx + esi - 1]
cmp eax, 0x3d
je 0x409df1
cmp eax, 0x2e
jne 0x409df2
dec ecx
movzx eax, byte [edx + esi - 2]
cmp eax, 0x3d
je 0x409e01
cmp eax, 0x2e
jne 0x409e02
dec ecx
mov dword [esp + 8], ecx
mov edx, 0
test esi, esi
je 0x409ef4
xor ecx, ecx
mov edi, 2
jmp 0x409e32
lea eax, [edi + 4]
add edi, 2
mov ecx, edx
cmp edi, esi
mov edi, eax
jae 0x409ef4
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x40]
mov ebp, esi
mov esi, eax
movzx eax, byte [eax + edi - 2]
push eax
call fcn.0040f1e0
add esp, 4
mov ebx, eax
movzx eax, byte [esi + edi - 1]
mov esi, ebp
mov ebp, dword [esp + 4]
push eax
call fcn.0040f1e0
add esp, 4
mov bh, al
shl bl, 2
shr al, 4
and al, 3
or al, bl
lea edx, [ebp + 1]
mov ecx, dword [esp + 0x44]
mov byte [ecx + ebp], al
cmp edi, esi
jae 0x409e20
mov eax, dword [esp + 0x40]
movzx eax, byte [eax + edi]
push eax
mov dword [esp + 4], edx
call fcn.0040f1e0
mov edx, dword [esp + 4]
add esp, 4
cmp al, 0x40
je 0x409e20
mov bl, al
shl bh, 4
shr al, 2
and al, 0xf
or al, bh
lea edx, [ebp + 2]
mov ecx, dword [esp + 0x44]
mov byte [ecx + ebp + 1], al
lea eax, [edi + 1]
cmp eax, esi
jae 0x409e20
mov eax, dword [esp + 0x40]
movzx eax, byte [eax + edi + 1]
push eax
mov dword [esp + 4], edx
call fcn.0040f1e0
mov edx, dword [esp + 4]
add esp, 4
cmp al, 0x40
je 0x409e20
shl bl, 6
add al, bl
mov ecx, dword [esp + 0x44]
mov byte [ecx + ebp + 2], al
add ebp, 3
mov edx, ebp
jmp 0x409e20
mov ecx, dword [esp + 8]
cmp edx, ecx
mov eax, 0
jne 0x409fa7
mov ebp, dword [esp + 0x44]
lea ebx, [ebp + 0x20]
mov esi, ecx
xor esi, 0xffffffdf
lea eax, [esi + 1]
mov dword [esp + 4], eax
add ecx, ecx
and ecx, 0xffffffbe
lea edi, [esp + 0xc]
mov edx, ebp
mov eax, ecx
mov ecx, 8
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0x2c]
xor edx, edx
xor ecx, ecx
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
mov edi, dword [esp + 4]
mov ecx, eax
mov eax, edi
add eax, ecx
je 0x409fa2
and edi, 1
add esi, ecx
je 0x409f8c
mov ecx, eax
sub ecx, edi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, edx
and esi, 0x1e
movzx ebx, byte [esp + esi + 0xc]
xor bl, byte [ebp + edx + 0x20]
mov byte [ebp + edx], bl
lea esi, [edx + 1]
and esi, 0x1f
movzx ebx, byte [esp + esi + 0xc]
xor bl, byte [ebp + edx + 0x21]
mov byte [ebp + edx + 1], bl
add edx, 2
cmp ecx, edx
jne 0x409f60
test edi, edi
je 0x409fa2
mov ecx, edx
and ecx, 0x1f
movzx ecx, byte [esp + ecx + 0xc]
xor cl, byte [ebp + edx + 0x20]
mov byte [ebp + edx], cl
mov byte [ebp + eax], 0
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret