joyce8/EMBER2024-capa huggingface dataset:
Function at 0x788930
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2b5000]
push edi
jmp 0x78894a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x788951
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x788940
mov eax, 1
add ebx, ebx
jne 0x788963
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x788974
jne 0x788993
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x788993
dec eax
add ebx, ebx
jne 0x788980
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x788958
add ebx, ebx
jne 0x78898f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x7889e5
xor ecx, ecx
sub eax, 3
jb 0x7889ab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x788a1a
sar eax, 1
mov ebp, eax
jmp 0x7889b6
add ebx, ebx
jne 0x7889b6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x788984
inc ecx
add ebx, ebx
jne 0x7889c4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x788984
add ebx, ebx
jne 0x7889d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x7889c6
jne 0x7889e2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x7889c6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x788a04
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x7889f6
jmp 0x788946
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x788a04
add edi, ecx
jmp 0x788946
pop esi
mov edi, esi
mov ecx, 0x1771b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x788a22
cmp byte [edi], 0x84
jne 0x788a22
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x788a27
lea edi, [esi + 0x385000]
mov eax, dword [edi]
or eax, eax
je 0x788a9f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x38ec3c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x38ed80]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x788a54
mov ecx, edi
jns 0x788a83
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x38ed88]
or eax, eax
je 0x788a99
mov dword [ebx], eax
add ebx, 4
jmp 0x788a71
call dword [esi + 0x38ed84]
mov ebp, dword [esi + 0x38ed8c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x788ad3
sub esp, 0xffffff80
jmp 0x5a42e4
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408e84
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x56d79a6
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x2b1a7b21
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x100023a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x10002401
mov eax, dword [ebp + 0x14]
shl dword [ebp + 0x10], 8
mov ecx, dword [ebp + 8]
push ebx
mov eax, dword [eax]
mov ebx, dword [ebp + 0x1c]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x18]
push esi
mov cl, byte [ecx]
movsx edx, cl
sub cl, 0x61
cmp cl, 0x19
mov ecx, dword [ebp + 0x10]
lea esi, [edx - 0x20]
cmova esi, edx
mov edx, dword [ebp + 0xc]
add ecx, esi
add eax, ebx
xor eax, dword [edx + ecx*4]
mov ecx, ebx
shl ecx, 5
add ecx, 3
add ecx, esi
add ebx, ecx
mov ecx, dword [ebp + 8]
inc ecx
add ebx, eax
mov dword [ebp + 8], ecx
sub edi, 1
jne 0x100023c2
pop esi
pop ebx
pop edi
pop ebp
ret 0x18
mov eax, dword [ebp + 0x18]
pop edi
pop ebp
ret 0x18
Function at 0x4013a4
Capabilities:
Access peb ldr_data

Disassembly:
xor eax, eax
pushal
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov edi, ebx
mov esi, dword [ebx + 0x28]
xor eax, eax
xor edx, edx
mov ecx, dword [esi]
test cx, cx
je 0x4013f1
mov al, cl
cmp al, 0x61
jb 0x4013cc
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
shr ecx, 0x10
test cx, cx
je 0x4013f1
mov al, cl
cmp al, 0x61
jb 0x4013e4
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
lea esi, [esi + 4]
jmp 0x4013bd
cmp edx, dword [esp + 0x18]
je 0x401401
mov ebx, dword [ebx]
cmp edi, dword [ebx]
jne 0x4013b6
xor eax, eax
jmp 0x401404
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x1c], eax
popal
ret

Function at 0x40140c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
xor eax, eax
pushal
mov ebx, ecx
mov eax, dword [ebx + 0x3c]
mov eax, dword [ebx + eax + 0x78]
test eax, eax
je 0x4014f3
lea esi, [ebx + eax]
test edx, 0xffff0000
je 0x4014f9
mov ecx, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
lea edi, [ebx + edi]
mov ebp, dword [edi + ecx*4 - 4]
lea ebp, [ebx + ebp]
xor eax, eax
xor edx, edx
mov al, byte [ebp]
test al, al
je 0x401458
cmp al, 0x61
jb 0x401450
sub al, 0x20
ror edx, 0xd
add edx, eax
inc ebp
jmp 0x401443
cmp edx, dword [esp + 0x14]
je 0x401468
dec ecx
jne 0x401438
xor eax, eax
jmp 0x4014f3
mov edx, dword [esi + 0x24]
lea edx, [ebx + edx]
mov edx, dword [edx + ecx*2 - 2]
and edx, 0xffff
mov eax, dword [esi + 0x1c]
lea eax, [ebx + eax]
mov eax, dword [eax + edx*4]
lea eax, [ebx + eax]
cmp eax, esi
jbe 0x4014f3
mov ecx, dword [ebx + 0x3c]
mov ecx, dword [ebx + ecx + 0x7c]
add esi, ecx
cmp eax, esi
jae 0x4014f3
mov ebp, eax
xor eax, eax
xor edx, edx
mov al, byte [ebp]
cmp al, 0x61
jb 0x4014a4
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
inc ebp
cmp al, 0x2e
je 0x4014b3
jmp 0x40149b
ror edx, 0xd
add edx, 0x44
ror edx, 0x1a
add edx, 0x4c
ror edx, 0x1a
add edx, 0x4c
ror edx, 0xd
mov ecx, edx
call fcn.004013a4
test eax, eax
je 0x4014f3
mov ecx, eax
xor eax, eax
xor edx, edx
mov al, byte [ebp]
test al, al
je 0x4014ee
cmp al, 0x61
jb 0x4014e6
sub al, 0x20
ror edx, 0xd
add edx, eax
inc ebp
jmp 0x4014d9
call fcn.0040140c
mov dword [esp + 0x1c], eax
popal
ret
mov ecx, dword [esi + 0x10]
cmp edx, ecx
jb 0x401511
mov eax, dword [esi + 0x14]
dec eax
cmp edx, eax
ja 0x401511
sub edx, ecx
mov ecx, edx
jmp 0x401468
xor eax, eax
jmp 0x4014f3
Function at 0x4024a4
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 1
mov eax, str.SeDebugPrivilege
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 1
push dword [ebp + 8]
call fcn.004021b3
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4024d8
push ebx
call fcn.00408a16
add esp, 4
mov eax, dword [ebp - 8]
jmp 0x4024e0
mov esp, ebp
pop ebp
ret 8

Function at 0x4038db
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
push 0x80000005
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x403923
mov eax, 0x914136
push eax
push 1
mov ebx, 0x194
call fcn.00409290
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 8
jge 0x403948
jmp 0x403ad0
push dword [ebp + 8]
call fcn.00403618
mov dword [ebp - 8], eax
fild dword [ebp - 4]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fadd qword [0x91414f]
fstp qword [ebp - 0x28]
mov dword [ebp - 0x2c], esp
fld qword [ebp - 0x28]
call fcn.00403078
push eax
push 0x40
xor eax, eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x40399c
push 0x129
push 0x401d4f6
push 6
call fcn.00408a34
add esp, 0xc
mov dword [ebp - 0xc], eax
fild dword [ebp - 4]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fsub qword [0x91414f]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
call fcn.00403078
push eax
lea eax, [ebp - 0x10]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x403aa1
fild dword [ebp - 8]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fild dword [ebp - 0x10]
fstp qword [ebp - 0x28]
fadd qword [ebp - 0x28]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
call fcn.00403078
push eax
call fcn.004037f8
mov word [ebp - 0x14], ax
cmp word [ebp - 0x14], 0
jne 0x403a3f
mov dword [ebp - 0x1c], esp
push 0
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x403a35
push 0x222
push 0x401d4f6
push 6
call fcn.00408a34
add esp, 0xc
jmp 0x403aa1
cmp word [ebp - 0x14], 0x5c
jne 0x403a88
cmp dword [ebp - 0x18], 0
jle 0x403a85
mov dword [ebp - 0x1c], esp
push 0
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x403a85
push 0x2c3
push 0x401d4f6
push 6
call fcn.00408a34
add esp, 0xc
inc dword [ebp - 0x18]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push dword [ebp - 0xc]
call fcn.00403ad6
pop ebx
pop ecx
pop edx
add ecx, 2
jmp 0x4039c5
add esp, 0xc
mov dword [ebp - 0x1c], esp
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x403ad0
push 0x374
push 0x401d4f6
push 6
call fcn.00408a34
add esp, 0xc
mov esp, ebp
pop ebp
ret 4
Function at 0x406786
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [0xa2f5eb]
mov dword [ebp - 8], eax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x4067c1
add dword [esp], 5
retf

Function at 0x4068f3
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [0xa2f5eb]
mov dword [ebp - 8], eax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x40692e
add dword [esp], 5
retf

Function at 0x407515
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [0xa2f5eb]
mov dword [ebp - 8], eax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x407550
add dword [esp], 5
retf

Function at 0x407646
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [0xa2f5eb]
mov dword [ebp - 8], eax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x407681
add dword [esp], 5
retf

Function at 0x4088f7
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x408923
add dword [esp], 5
retf

Function at 0x408ec0
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [esp + 0x10]
sub esp, 0xc
test ecx, ecx
mov eax, 0xfffffff5
je 0x408edc
cmp dword [esp + 0x14], 2
jne 0x408edc
mov eax, 0xfffffff4
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
test ebp, ebp
je 0x408fa6
mov eax, dword [esp + 0x14]
cmp eax, 1
jle 0x408fa6
push ebx
push esi
push edi
lea edi, [esp + 0x30]
dec eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x10], 0
cmp eax, 0x80000004
jne 0x408f21
mov ebx, dword [edi]
jmp 0x408f38
push edi
call fcn.0040a520
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x408f8d
mov dword [esp + 0x10], 1
push ebx
call fcn.0040a440
mov esi, eax
add esp, 4
test esi, esi
jbe 0x408f7c
mov edi, ebx
mov eax, 0x400
mov dword [esp + 0x20], 0
cmp esi, eax
jae 0x408f5c
mov eax, esi
lea ecx, [esp + 0x20]
push 0
push ecx
push eax
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x20]
sub esi, eax
add edi, eax
test esi, esi
ja 0x408f49
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x408f8d
push ebx
call sub.MSVCRT.dll_free
add esp, 4
mov eax, dword [esp + 0x18]
add edi, 0xc
dec eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
jne 0x408f0b
pop edi
pop esi
pop ebx
pop ebp
add esp, 0xc
ret
Function at 0x408fc0
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x409052
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x409044
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x40903c
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x409005
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret

Function at 0x409060
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push esi
lea eax, [esp + 0x14]
push edi
push eax
mov dword [esp + 0x1c], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov eax, dword [esp + 0x84]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x44], 1
je case.0x4090a1.2
mov ecx, dword [esp + 0x7c]
lea eax, [ecx - 1]
cmp eax, 5
ja case.0x4090a1.2
jmp dword [eax*4 + 0x40912c]
mov word [esp + 0x48], di
jmp 0x4090da
mov word [esp + 0x48], 2
jmp 0x4090da
mov word [esp + 0x48], 3
jmp 0x4090da
mov word [esp + 0x48], 4
jmp 0x4090da
mov word [esp + 0x48], 7
jmp 0x4090da
mov word [esp + 0x48], 5
lea edx, [esp + 8]
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0x18]
push edx
push eax
push edi
push edi
push edi
push 1
push edi
push edi
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esi, eax
cmp esi, edi
je 0x409124
cmp dword [esp + 0x70], edi
je 0x409110
mov edx, dword [esp + 8]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [esp + 0xc]
push ecx
call edi
mov eax, esi
pop edi
pop esi
add esp, 0x54
ret
Function at 0x409150
Capabilities:
Read .ini file

Disassembly:
push ebx
push ebp
push esi
push edi
push 0x400
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x30]
push ebx
push 0x400
push esi
push ebp
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp eax, 0x3ff
jl 0x4091ba
push esi
lea edi, [eax + 0x400]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edx, dword [esp + 0x38]
add esp, 8
mov esi, eax
mov eax, dword [esp + 0x24]
push ebx
push edi
push esi
push ebp
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
dec edi
cmp eax, edi
jge 0x40918a
push esi
xor edi, edi
call fcn.0040a440
add esp, 4
test eax, eax
je 0x4091d5
push eax
push esi
call fcn.0040a6c0
add esp, 8
mov edi, eax
push esi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x40ac10
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 8
xor ecx, ecx
xor eax, eax
push ebp
mov ebp, dword [esp + 0x18]
mov byte [eax + ebp], al
inc eax
cmp eax, 0x100
jl 0x40ac1c
mov eax, dword [esp + 0x14]
mov byte [ebp + 0x100], cl
cmp eax, ecx
mov byte [ebp + 0x101], cl
jle 0x40acaf
push ebx
push esi
push edi
mov byte [esp + 0x24], cl
xor esi, esi
mov ebx, ebp
mov dword [esp + 0x10], 0x100
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
and edi, 0xff
xor eax, eax
xor edx, edx
mov al, byte [edi + ecx]
mov dl, byte [ebx]
add esi, eax
add edx, esi
and edx, 0x800000ff
jns 0x40ac79
dec edx
or edx, 0xffffff00
inc edx
mov byte [esp + 0x14], dl
mov esi, dword [esp + 0x14]
and esi, 0xff
lea eax, [esi + ebp]
push eax
push ebx
call fcn.0040acc0
lea eax, [edi + 1]
add esp, 8
cdq
idiv dword [esp + 0x20]
mov eax, dword [esp + 0x10]
inc ebx
dec eax
mov dword [esp + 0x10], eax
mov byte [esp + 0x24], dl
jne 0x40ac4e
pop edi
pop esi
pop ebx
pop ebp
add esp, 8
ret
Function at 0x40ace0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0xc
mov edx, dword [esp + 0x14]
push ebx
push esi
mov esi, dword [esp + 0x20]
xor ebx, ebx
mov al, byte [esi + 0x100]
mov cl, byte [esi + 0x101]
test edx, edx
mov byte [esp + 0x20], al
mov byte [esp + 8], cl
jle 0x40addd
push ebp
mov ebp, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x28]
and edi, 0xff
and ebp, 0xff
lea eax, [edi + 1]
and eax, 0x800000ff
jns 0x40ad32
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x28], al
xor ecx, ecx
mov edi, dword [esp + 0x28]
and edi, 0xff
mov cl, byte [edi + esi]
lea eax, [edi + esi]
add ecx, ebp
mov dword [esp + 0x18], eax
and ecx, 0x800000ff
jns 0x40ad5e
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ebp, dword [esp + 0x10]
and ebp, 0xff
lea ecx, [esi + ebp]
push ecx
push eax
mov dword [esp + 0x1c], ecx
call fcn.0040acc0
mov eax, dword [esp + 0x1c]
xor edx, edx
xor ecx, ecx
add esp, 8
mov dl, byte [eax]
mov eax, dword [esp + 0x18]
mov cl, byte [eax]
add edx, ecx
and edx, 0x800000ff
jns 0x40ad9f
dec edx
or edx, 0xffffff00
inc edx
mov eax, dword [esp + 0x20]
and edx, 0xff
mov cl, byte [edx + esi]
mov dl, byte [ebx + eax]
xor dl, cl
mov byte [ebx + eax], dl
mov eax, dword [esp + 0x24]
inc ebx
cmp ebx, eax
jl 0x40ad21
mov dl, byte [esp + 0x28]
mov al, byte [esp + 0x10]
pop edi
mov byte [esi + 0x100], dl
mov byte [esi + 0x101], al
pop ebp
pop esi
pop ebx
add esp, 0xc
ret
mov byte [esi + 0x100], al
mov byte [esi + 0x101], cl
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x40bda0
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0xa2fc64]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x40bdb3
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x40bdf4
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0xa2fd0c]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x40be26
mov bl, byte [esp + ecx + 0x4c]
jmp 0x40be2a
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x40be1b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x40be48
mov bl, byte [esp + ecx + 0x4c]
jmp 0x40be4c
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x40be3d
xor ecx, ecx
mov eax, 0xa2fc74
xor ebx, ebx
mov bl, byte [ecx + 0xa2fd1c]
cmp byte [esp + ebx + 0x14], 0
je 0x40be77
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0xa2fd34]
cmp byte [esp + ebx + 0x14], 0
je 0x40be8e
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x40be5e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x40bde7
lea edx, [esp + 0x84]
push edx
call fcn.0040bed0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0xe00b98
Capabilities:
Encode data using xor

Disassembly:
jmp 0xe00ba2
pushal
call 0xe00ba8
pop ebp
sub ebp, 0x10
sub ebp, 0xa00b98
jmp 0xe00bbe
mov eax, 0xa00b98
add eax, ebp
add eax, 0x4c
mov ecx, 0x5b4
mov edx, 0xc16235bd
xor byte [eax], dl
inc eax
dec ecx
jne 0xe00bd5
jmp 0xe00be8
jo 0xe00c21
xor al, 0x81
mov ebp, 0x7c3cbdbd
inc ebp
mov ebp, 0x70bebdbd
add eax, 0xbdbdbdb5
pop es
xchg ebp, eax
mov ebp, 0x5f4abdbd
mov esi, 0xb13c3675
mov ebp, 0x78bebdbd
in eax, dx
xor cl, bl
cdq
inc ecx
xor al, 0xb9
cdq
aad 0x39
imul ebx, dword [ebp + edi*4 - 0x3c75512b], 0x9991bcbd
xchg ecx, eax
cdq
aad 0xd0
xor eax, 0xb8553b38
mov ebp, 0x9554bdbd
mov ebp, 0x36e8bdbd
push ecx
cmp byte ss:[ebp + 0x36bdbdbd], dh
sub byte [ecx + 0x36bdbdbd], dh
xor byte [ebp + 0x7cbdbdbd], ch
push esp
mov edi, 0x7f3ebf8c
mov ecx, 0x4938b2f4
inc edx
inc edx
inc edx
loopne 0xe00cd7
mov cl, 0xbd
xor dword ss:[ecx - 0x42424247], ebx
aad 0x39
imul ebx, dword [ebp + edi*4 - 0x3c75512b], 0x9991bcbd
in al, dx
push ebp
mov eax, 0x54bdbdbd
cli
mov edi, 0x30e8bdbd
rcr dword [ecx - 0x4e37bd43], 1
inc edx
enter 0x55b5, 0xffffffffffffffc5
mov ebp, 0x36bdbd
mov ch, 0xbd
mov ebp, 0x3c748ebd
dec edi
adc dword [edi + 0x4f3cf96f], ecx
adc dword [edi + 0x6f8ef96f], ecx
push ebp
mov eax, 0xf339b2f5
mov ebp, 0x35b2bdbd
cmc
mov ebp, 0x36dbbdbd
mov eax, dword [0x55463d84]
mov dl, 0x39
cmpsd dword [esi], dword es:[edi]
mov ebp, 0x463dbdbd
push esp
mov dl, 0x39
lodsb al, byte [esi]
mov ebp, 0x3cdbbdbd
inc esi
inc edx
cwde
mov dl, 0x39
test al, 0xbd
mov ebp, 0x7154fcbd
inc edx
inc edx
inc edx
xchg esp, eax
int1
test byte [esi + edi + 0x553eb87c], bh
mov ecx, 0x42420054
inc edx
xchg esp, eax
jmp 0x7d1ecc6f