joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10025390
Capabilities:
Create thread
Set file attributes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10029d3b
mov eax, dword fs:[0]
push eax
sub esp, 0x168
push esi
mov eax, dword [0x10041bd0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x1004206c], 1
jne 0x1002543f
push 1
push 0x40
push 8
push 0x100397ac
lea ecx, [ebp - 0x174]
call fcn.10004a20
lea eax, [ebp - 0x174]
mov dword [ebp - 4], 0
push str._nI_Scan:
push eax
call fcn.100045b0
lea eax, [ebp - 0x174]
push 0x100397d0
push eax
call fcn.100045b0
add esp, 0x10
lea ecx, [ebp - 0x170]
call fcn.10005500
test eax, eax
jne 0x1002542d
push eax
mov eax, dword [ebp - 0x174]
lea ecx, [ebp - 0x174]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
lea ecx, [ebp - 0x174]
mov dword [ebp - 4], 0xffffffff
call fcn.10005010
cmp dword [0x1004207c], 1
jne 0x1002551e
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ucrtbased.dll__time64]
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ucrtbased.dll__localtime64]
add esp, 8
lea ecx, [ebp - 0xc4]
mov esi, eax
push 1
push 0x40
push 8
push 0x100397e0
call fcn.10004a20
lea eax, [ebp - 0xc4]
mov dword [ebp - 4], 1
push 0x100397e4
push eax
call fcn.100045b0
push esi
call dword [sym.imp.ucrtbased.dll_asctime]
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.100045b0
lea eax, [ebp - 0xc4]
push str.I_Scan:
push eax
call fcn.100045b0
lea eax, [ebp - 0xc4]
push 0x10039804
push eax
call fcn.100045b0
lea eax, [ebp - 0xc4]
push 0x10039814
push eax
call fcn.100045b0
add esp, 0x2c
lea ecx, [ebp - 0xc0]
call fcn.10005500
test eax, eax
jne 0x10025506
push eax
mov eax, dword [ebp - 0xc4]
lea ecx, [ebp - 0xc4]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
push 2
push 0x1003983c
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0xc4]
call fcn.10005010
mov eax, dword [0x10042070]
push 0
cmp eax, 1
jne 0x10025550
push 0
push 0
push 0x10025630
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, 2
jne 0x10025560
push 0
push 0
push 0x100255b0
jmp 0x10025533
cmp eax, 3
jne 0x10025570
push 0
push 0
push 0x100256b0
jmp 0x10025533
cmp eax, 4
jne 0x1002554a
push 0
push 0
push 0x10027880
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x200010
push str.I_Scan
push str.Dll_injection_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x10025548
Function at 0x10026290
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x10026980
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret
Function at 0x100269c0
Capabilities:
Create thread
Set file attributes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10029d3b
mov eax, dword fs:[0]
push eax
sub esp, 0x168
push esi
mov eax, dword [0x10041bd0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x1004206c], 1
jne 0x10026a6f
push 1
push 0x40
push 8
push 0x1003a514
lea ecx, [ebp - 0x174]
call fcn.10004a20
lea eax, [ebp - 0x174]
mov dword [ebp - 4], 0
push str._nHT_Scan:
push eax
call fcn.100045b0
lea eax, [ebp - 0x174]
push 0x1003a538
push eax
call fcn.100045b0
add esp, 0x10
lea ecx, [ebp - 0x170]
call fcn.10005500
test eax, eax
jne 0x10026a5d
push eax
mov eax, dword [ebp - 0x174]
lea ecx, [ebp - 0x174]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
lea ecx, [ebp - 0x174]
mov dword [ebp - 4], 0xffffffff
call fcn.10005010
cmp dword [0x1004207c], 1
jne 0x10026b4e
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ucrtbased.dll__time64]
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ucrtbased.dll__localtime64]
add esp, 8
lea ecx, [ebp - 0xc4]
mov esi, eax
push 1
push 0x40
push 8
push 0x1003a550
call fcn.10004a20
lea eax, [ebp - 0xc4]
mov dword [ebp - 4], 1
push 0x1003a554
push eax
call fcn.100045b0
push esi
call dword [sym.imp.ucrtbased.dll_asctime]
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.100045b0
lea eax, [ebp - 0xc4]
push str.HT_Scan:
push eax
call fcn.100045b0
lea eax, [ebp - 0xc4]
push str.Hide_windows_detected_
push eax
call fcn.100045b0
lea eax, [ebp - 0xc4]
push 0x1003a58c
push eax
call fcn.100045b0
add esp, 0x2c
lea ecx, [ebp - 0xc0]
call fcn.10005500
test eax, eax
jne 0x10026b36
push eax
mov eax, dword [ebp - 0xc4]
lea ecx, [ebp - 0xc4]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
push 2
push 0x1003a5b4
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0xc4]
call fcn.10005010
mov eax, dword [0x10042070]
push 0
cmp eax, 1
jne 0x10026b80
push 0
push 0
push 0x10026dd0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, 2
jne 0x10026b90
push 0
push 0
push 0x10026d50
jmp 0x10026b63
cmp eax, 3
jne 0x10026ba0
push 0
push 0
push 0x10026e50
jmp 0x10026b63
cmp eax, 4
jne 0x10026b7a
push 0
push 0
push 0x10027880
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x200010
push str.H_Scan
push str.Generic_Hide_Window
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x10026b78

Function at 0x10026be0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x10026d10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret
Function at 0x10026c00
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x209fc
call fcn.10028ba0
mov eax, dword [0x10041bd0]
xor eax, esp
mov dword [esp + 0x209f8], eax
push ebp
push esi
push edi
xor esi, esi
xor ebp, ebp
push esi
push esi
call dword [sym.imp.USER32.dll_FindWindowA]
mov edi, eax
test edi, edi
je 0x10026ce1
push ebx
lea ebx, [esp + 0x414]
nop dword [eax]
push edi
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
jne 0x10026cc4
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [esp + 0x10]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
jne 0x10026cc4
mov eax, dword [esp + 0x10]
mov dword [ebx], eax
lea eax, [ebx + 4]
push 0xff
push eax
push edi
mov dword [ebx - 4], edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xff
lea eax, [ebx + 0x103]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClassNameA]
mov ecx, dword [esp + 0x10]
inc ebp
add ebx, 0x208
xor eax, eax
test esi, esi
jle 0x10026cbb
nop dword [eax]
cmp ecx, dword [esp + eax*4 + 0x14]
je 0x10026cbb
inc eax
cmp eax, esi
jl 0x10026cb0
cmp eax, esi
jne 0x10026cc4
mov dword [esp + esi*4 + 0x14], ecx
inc esi
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
jne 0x10026c40
pop ebx
test ebp, ebp
je 0x10026ce1
cmp esi, 1
jg 0x10026d01
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esp + 0x20a04]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.100282d0
add esp, 0x209fc
ret
call fcn.100269c0
int3

Function at 0x10026e80
Capabilities:
Create thread
Terminate process

Disassembly:
mov eax, dword [0x10042070]
cmp eax, 1
je 0x10026ecc
cmp eax, 4
je 0x10026ecc
push 0
cmp eax, 2
jne 0x10026ebc
push 0
push 0
push 0x10027290
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, 3
jne 0x10026eb6
push 0
push 0
push 0x100272f0
jmp 0x10026e9f
push 0
push 0
push 0
push 0x100272c0
jmp 0x10026e9f
Function at 0x10027270
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x10026ee0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret

Function at 0x10027600
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x10027320
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret

Function at 0x10027620
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x10027590
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret

Function at 0x10027670
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002a9f0
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x10041bd0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x1004206c], 1
jne 0x10027717
push 1
push 0x40
push 8
push 0x1003abd8
lea ecx, [ebp - 0xbc]
call fcn.10004a20
lea eax, [ebp - 0xbc]
mov dword [ebp - 4], 0
push str._nAKS_Scan:
push eax
call fcn.100045b0
lea eax, [ebp - 0xbc]
push str.Thread_attack_
push eax
call fcn.100045b0
add esp, 0x10
lea ecx, [ebp - 0xb8]
call fcn.10005500
test eax, eax
jne 0x1002770c
push eax
mov eax, dword [ebp - 0xbc]
lea ecx, [ebp - 0xbc]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
lea ecx, [ebp - 0xbc]
call fcn.10005010
mov eax, dword [0x10042070]
cmp eax, 1
je 0x10027763
cmp eax, 4
je 0x10027763
push 0
cmp eax, 2
jne 0x10027753
push 0
push 0
push 0x10027900
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, 3
jne 0x1002774d
push 0
push 0
push 0x100279a0
jmp 0x10027736
push 0
push 0
push 0
push 0x10027950
jmp 0x10027736
Function at 0x10027d40
Capabilities:
Encode data using xor
Terminate process

Disassembly:
sub esp, 0x14
mov eax, dword [0x10041bd0]
xor eax, esp
mov dword [esp + 0x10], eax
cmp dword [0x10042080], 1
jne 0x10027de8
movzx eax, word [0x449081]
push ebx
push esi
push eax
lea eax, [esp + 0x10]
push 0x1003af3c
push eax
call fcn.10018590
mov dword [esp + 0x14], 0x1003af40
add esp, 0xc
mov ebx, dword [esp + 8]
mov esi, dword [esp + 8]
add esi, 0x14
cmp byte [ebx + 0x13], 0
je 0x10027dce
mov eax, dword [ebx + 0xf]
push ebp
inc eax
push edi
push eax
call dword [sym.imp.ucrtbased.dll_malloc]
mov ebp, dword [ebx + 0xf]
add esp, 4
xor edx, edx
mov edi, eax
test ebp, ebp
je 0x10027dc6
sub esi, edi
nop dword [eax]
mov eax, edx
lea ecx, [edx + edi]
and eax, 7
inc edx
mov al, byte [eax + ebx + 7]
xor al, byte [esi + ecx]
mov byte [ecx], al
cmp edx, ebp
jb 0x10027db0
mov byte [edi + ebp], 0
mov esi, edi
pop edi
pop ebp
push 0x30
push esi
lea eax, [esp + 0x14]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, 0x7361
cmp word [0x449081], ax
jne 0x10027e07
mov ecx, dword [esp + 0x10]
xor al, al
xor ecx, esp
call fcn.100282d0
add esp, 0x14
ret
call fcn.100279e0
int3

Function at 0x10027f20
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x10027e10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret

Function at 0x10027f40
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x10027f60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret
Function at 0x10008340
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.100252c0

Function at 0x10044817
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x10044826
pop dword [ebp - 0x34]
mov eax, 0x10044826
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x82c8e0d7
sub dword [ebp - 0x44], 0x34769b8c
mov dword [ebp - 0x40], 0x234e73a3
add dword [ebp - 0x40], 0xee4d8a2
mov dword [ebp - 0x3c], 0x6f6384f7
sub dword [ebp - 0x3c], 0x231740c9
mov dword [ebp - 0x38], 0xcc21958
add dword [ebp - 0x38], 0xf33de6a8
lea eax, [ebp - 0x44]
push eax
mov eax, 0x29bdcf91
sub eax, 0x19b6ce85
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x96b095de
sub dword [ebp - 0x44], 0x223e2c88
mov dword [ebp - 0x40], 0x3675bbb0
add dword [ebp - 0x40], 0xaf6a5c5
mov dword [ebp - 0x3c], 0x2c2e70ab
add dword [ebp - 0x3c], 0x3740fbc1
mov dword [ebp - 0x38], 0xa60fbbe6
add dword [ebp - 0x38], 0x59f0441a
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x6853e
push 0
call eax
mov ecx, 0xf28e0a99
add ecx, 0xd724122
mov edx, eax
mov ebx, 0x1273f64e
add ebx, 0xfd9455b2
add ebx, dword [ebp - 0x34]
mov edi, 0xb3e0b42
mov esi, dword [ebx]
add dword [ebp - 0x28], 0x3b576d93
sub esi, edi
add dword [ebp - 8], edx
mov dword [edx], esi
xor dword [ebp - 0xc], 0x4aed0a1a
add edx, 0x7b55d017
sub edx, 0x7b55d013
add ebx, 0x13daf7aa
sub ebx, 0x13daf7a6
loop 0x10044938
add eax, 0x8eb21340
add eax, 0x714f0e7f
mov ebx, eax
add eax, 0xe3eee508
add eax, 0x1c111afd
mov ecx, 0x9a1038c5
add ecx, 0x75efc73b
add ecx, dword [ebp - 0x34]
call ebx
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 0x1006746
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x28
push 0x1001bb0
call fcn.010068c0
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x1006781
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1006781
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x1006799
cmp eax, 0x20b
je 0x1006786
mov dword [ebp - 0x1c], edi
jmp 0x10067ad
cmp dword [ecx + 0x84], 0xe
jbe 0x1006781
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x10067a7
cmp dword [ecx + 0x74], 0xe
jbe 0x1006781
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1008320], 0xffffffff
or dword [0x1008324], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1008314]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x1008310]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x1008328], eax
call fcn.01006a04
cmp dword [0x1008300], edi
jne 0x1006808
push fcn.01006a04
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.010069f2
push 0x100118c
push 0x1001188
call sub.msvcrt.dll__initterm
mov eax, dword [0x100830c]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x1008308]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___wgetmainargs]
mov dword [ebp - 0x30], eax
push 0x1001184
push 0x1001180
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x24]
mov ecx, dword [sym.imp.msvcrt.dll___winitenv]
mov dword [ecx], eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.01003734
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x34], esi
cmp dword [ebp - 0x1c], edi
jne 0x100687f
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x10068b4
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.010068f9
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 0x4016e6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push ebx
push esi
mov esi, ecx
and dword [esi + 0x30], 0
push edi
call fcn.004015ad
mov eax, dword [eax + 0x30]
mov edi, dword [eax + 0xc]
add edi, 0xc
mov ebx, dword [edi]
jmp 0x40172c
push 0xa
push 0xa
push 0x10aa204
push 0x3114b604
call fcn.00401dd2
add esp, 0xc
push eax
push dword [ebx + 0x30]
call fcn.0040161c
add esp, 0xc
test eax, eax
je 0x401735
mov ebx, dword [ebx]
cmp ebx, edi
jne 0x401704
jmp 0x4017c7
mov ebx, dword [ebx + 0x18]
test ebx, ebx
je 0x4017c7
mov eax, dword [ebx + 0x3c]
mov edi, dword [eax + ebx + 0x78]
and dword [esp + 0xc], 0
add edi, ebx
mov eax, dword [edi + 0x1c]
add eax, ebx
push ebp
mov ebp, dword [edi + 0x20]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x24]
add eax, ebx
add ebp, ebx
cmp dword [edi + 0x18], 0
mov dword [esp + 0x18], eax
jbe 0x4017c3
mov eax, dword [esp + 0x10]
mov eax, dword [ebp + eax*4]
push 0x16
add eax, ebx
push 0x10aa1ec
push 0x40704011
mov dword [esp + 0x20], eax
call fcn.00401d84
push eax
push dword [esp + 0x24]
call fcn.00401648
add esp, 0x14
test eax, eax
je 0x4017ab
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, dword [edi + 0x18]
jb 0x40176c
jmp 0x4017c3
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
movzx eax, word [eax + ecx*2]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + eax*4]
add eax, ebx
mov dword [esi + 4], eax
mov dword [esi + 0x30], ebx
pop ebp
cmp dword [esi + 0x30], 0
je 0x40192e
push 0xa
push 0x10aa1e0
push 0x29a1a909
call fcn.00401d84
add esp, 0xc
push eax
push esi
mov ecx, esi
call fcn.004016be
push 0xc
push 0x10aa1d0
push 0x13cbcee9
call fcn.00401d84
add esp, 0xc
push eax
lea eax, [esi + 8]
push eax
mov ecx, esi
call fcn.004016be
push 0x18
push 0x10aa1b4
push 0x17ce53be
call fcn.00401d84
add esp, 0xc
push eax
lea eax, [esi + 0xc]
push eax
mov ecx, esi
call fcn.004016be
push 0xf
push 0x10aa1a4
push 0x26b30b69
call fcn.00401d84
add esp, 0xc
push eax
lea eax, [esi + 0x10]
push eax
mov ecx, esi
call fcn.004016be
push 0x12
push 0x10aa190
push 0x3d924530
call fcn.00401d84
add esp, 0xc
push eax
lea eax, [esi + 0x14]
push eax
mov ecx, esi
call fcn.004016be
push 7
push 0x10aa188
push 0x2236409a
call fcn.00401d84
add esp, 0xc
push eax
lea eax, [esi + 0x18]
push eax
mov ecx, esi
call fcn.004016be
push 0x14
push 0x10aa170
push 0x149ccd04
call fcn.00401d84
add esp, 0xc
push eax
lea eax, [esi + 0x1c]
push eax
mov ecx, esi
call fcn.004016be
push 0x11
push 0x10aa15c
push 0x673ebfe9
call fcn.00401d84
add esp, 0xc
push eax
lea eax, [esi + 0x20]
push eax
mov ecx, esi
call fcn.004016be
push 0x11
push 0x10aa148
push 0x68d29b96
call fcn.00401d84
add esp, 0xc
push eax
lea eax, [esi + 0x24]
push eax
mov ecx, esi
call fcn.004016be
push 0x16
push 0x10aa130
push 0x7db65c79
call fcn.00401d84
add esp, 0xc
push eax
lea eax, [esi + 0x28]
push eax
mov ecx, esi
call fcn.004016be
push 0x13
push 0x10aa11c
push 0x65fa79df
call fcn.00401d84
add esp, 0xc
push eax
lea eax, [esi + 0x2c]
push eax
mov ecx, esi
call fcn.004016be
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x401937
Capabilities:
Encode data using xor

Disassembly:
push esi
mov eax, section..data
mov ecx, 0xcf4
mov esi, 0x3cc27d
imul ecx, ecx, 0x19660d
add ecx, 0x3c6ef35f
mov edx, ecx
shr edx, 0xc
xor byte [eax], dl
inc eax
dec esi
jne 0x401947
pop esi
ret

Function at 0x401aa3
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
and dword [ebp - 4], 0
push ebx
mov ebx, eax
push esi
mov esi, dword [ebx + 0x3c]
add esi, ebx
movzx eax, word [esi + 0x14]
push edi
lea edi, [eax + esi + 0x18]
xor eax, eax
cmp ax, word [esi + 6]
jae 0x401aea
push 7
push str..custom
push edi
call fcn.0040161c
add esp, 0xc
test eax, eax
je 0x401af1
movzx eax, word [esi + 6]
inc dword [ebp - 4]
add edi, 0x28
cmp dword [ebp - 4], eax
jl 0x401ac7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [edi + 0xc]
mov esi, dword [eax + ebx]
lea edi, [eax + ebx + 8]
mov ebx, dword [eax + ebx + 4]
push esi
call fcn.00401e30
and dword [ebp - 8], 0
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 8]
push ecx
push 1
push 5
push edi
lea ecx, [ebp - 0xc]
push ecx
add edi, 5
push edi
lea ecx, [ebp - 0x10]
push ecx
push eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x18], 0x401960
mov dword [ebp - 0x14], 0x40196b
call fcn.0040379c
add esp, 0x28
test eax, eax
je 0x401b51
push dword [ebp - 4]
call fcn.00401e47
pop ecx
jmp 0x401aea
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov eax, dword [ebp - 4]
jmp 0x401aec

Function at 0x401d84
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0x10]
push esi
xor esi, esi
test ebx, ebx
je 0x401dc3
push edi
mov edi, dword [esp + 0x14]
sub edi, str.loader_entry_thread_thunk
imul edx, edx, 0x19660d
add edx, 0x3c6ef35f
mov eax, edx
shr eax, 0xc
xor al, byte [edi + esi + str.loader_entry_thread_thunk]
inc esi
mov byte [esi + 0x1477287], al
cmp esi, ebx
jb 0x401d9f
pop edi
pop esi
mov byte [ebx + str.loader_entry_thread_thunk], 0
mov eax, str.loader_entry_thread_thunk
pop ebx
ret

Function at 0x401dd2
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
push edi
mov edi, dword [esp + 0x14]
xor esi, esi
test edi, edi
je 0x401e10
mov eax, dword [esp + 0x10]
sub eax, str.loader_entry_thread_thunk
push ebx
imul edx, edx, 0x19660d
add edx, 0x3c6ef35f
mov ebx, edx
shr ebx, 0xc
xor bl, byte [eax + esi + str.loader_entry_thread_thunk]
inc esi
mov byte [esi + 0x1477287], bl
cmp esi, edi
jb 0x401dec
pop ebx
mov byte [edi + str.loader_entry_thread_thunk], 0
mov byte [edi + 0x1477289], 0
pop edi
mov eax, str.loader_entry_thread_thunk
pop esi
ret
Function at 0x401eec
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
xor eax, eax
and edx, 7
cmp ecx, 5
jae 0x401f05
leave
ret
add dword [ebp + 0x10], 5
or dword [ebp + 0xc], 0xffffffff
push ebx
push esi
mov esi, dword [ebp + 8]
lea ecx, [esi + ecx - 4]
push edi
mov dword [ebp - 4], ecx
lea edi, [eax + esi]
jmp 0x401f28
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x401f2d
inc edi
cmp edi, dword [ebp - 4]
jb 0x401f1f
mov eax, edi
sub eax, esi
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 4]
jae 0x402025
mov ecx, eax
sub ecx, dword [ebp + 0xc]
cmp ecx, 3
jbe 0x401f84
xor edx, edx
mov cl, byte [edi + 4]
mov dword [ebp + 0xc], eax
test cl, cl
je 0x401f58
cmp cl, 0xff
jne 0x401faf
movzx esi, cl
movzx ecx, byte [edi + 3]
shl esi, 8
or esi, ecx
movzx ecx, byte [edi + 2]
shl esi, 8
or esi, ecx
movzx ecx, byte [edi + 1]
shl esi, 8
or esi, ecx
cmp dword [ebp + 0x18], 0
je 0x401fbd
lea ebx, [esi + eax]
add ebx, dword [ebp + 0x10]
jmp 0x401fc4
dec ecx
shl edx, cl
and edx, 7
je 0x401f49
movzx ecx, byte [edx + 0x10aa294]
mov ebx, edi
sub ebx, ecx
cmp byte [edx + 0x10aa28c], 0
mov cl, byte [ebx + 4]
je 0x401fac
test cl, cl
je 0x401fac
cmp cl, 0xff
jne 0x401f49
mov dword [ebp + 0xc], eax
and edx, 3
add edx, edx
or edx, 1
inc eax
jmp 0x401f1a
sub esi, eax
sub esi, dword [ebp + 0x10]
mov ebx, esi
test edx, edx
je 0x401ff8
movzx esi, byte [edx + 0x10aa294]
push 0x18
shl esi, 3
pop ecx
sub ecx, esi
mov eax, ebx
shr eax, cl
test al, al
je 0x401fe3
cmp al, 0xff
jne 0x401ff5
mov eax, dword [ebp - 8]
push 0x20
pop ecx
sub ecx, esi
xor esi, esi
inc esi
shl esi, cl
dec esi
xor esi, ebx
jmp 0x401f76
mov eax, dword [ebp - 8]
mov esi, dword [ebp + 8]
mov ecx, ebx
shr ecx, 0x18
and cl, 1
dec cl
not cl
mov byte [edi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [edi + 3], cl
mov ecx, ebx
shr ecx, 8
mov byte [edi + 2], cl
mov byte [edi + 1], bl
add eax, 5
jmp 0x401f1a
mov esi, eax
sub esi, dword [ebp + 0xc]
push 3
lea ecx, [esi - 1]
shl edx, cl
pop edi
and edx, 7
cmp edi, esi
sbb ecx, ecx
not ecx
pop edi
and ecx, edx
mov edx, dword [ebp + 0x14]
pop esi
mov dword [edx], ecx
pop ebx
leave
ret