joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40cc03
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
push edi
mov byte [ebp - 0x2c], 0x53
mov byte [ebp - 0x2b], 0x59
mov byte [ebp - 0x2a], 0x53
mov byte [ebp - 0x29], 0x54
mov byte [ebp - 0x28], 0x45
mov byte [ebp - 0x27], 0x4d
mov byte [ebp - 0x26], 0x5c
mov byte [ebp - 0x25], 0x43
mov byte [ebp - 0x24], 0x75
mov byte [ebp - 0x23], 0x72
mov byte [ebp - 0x22], 0x72
mov byte [ebp - 0x21], 0x65
mov byte [ebp - 0x20], 0x6e
mov byte [ebp - 0x1f], 0x74
mov byte [ebp - 0x1e], 0x43
mov byte [ebp - 0x1d], 0x6f
mov byte [ebp - 0x1c], 0x6e
mov byte [ebp - 0x1b], 0x74
mov byte [ebp - 0x1a], 0x72
mov byte [ebp - 0x19], 0x6f
mov byte [ebp - 0x18], 0x6c
mov byte [ebp - 0x17], 0x53
mov byte [ebp - 0x16], 0x65
mov byte [ebp - 0x15], 0x74
mov byte [ebp - 0x14], 0x5c
mov byte [ebp - 0x13], 0x53
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0x11], 0x72
mov byte [ebp - 0x10], 0x76
mov byte [ebp - 0xf], 0x69
mov byte [ebp - 0xe], 0x63
mov byte [ebp - 0xd], 0x65
mov byte [ebp - 0xc], 0x73
mov byte [ebp - 0xb], 0x5c
mov byte [ebp - 0xa], 0
mov byte [ebp - 0x130], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x12f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x130]
push ecx
call sub.MSVCRT.dll_strcpy
add esp, 8
push str.Jbrjar_Kbskb
lea edx, [ebp - 0x130]
push edx
call sub.MSVCRT.dll_strcat
add esp, 8
push str.RegOpenKeyExA
push 0x411038
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
lea ecx, [ebp - 0x130]
push ecx
push closesocket
call dword [ebp - 4]
test eax, eax
jne 0x40cd18
mov eax, 1
jmp 0x40cd1a
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
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
push eax
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
mov esi, 0x2a7520fe
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x371c783a
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219

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 0x402030
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x408044
call sym._EnterCriticalSection_4
mov ebx, dword [0x40803c]
sub esp, 4
test ebx, ebx
je 0x40207b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x402074
test esi, esi
je 0x402074
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x402050
mov dword [esp], 0x408044
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x402260
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x4022b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x402388
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x4022ee
cmp eax, 4
jne 0x402310
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x4022fe
cmp edx, 4
je 0x4022fe
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00402260

Function at 0x414de3
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
xor dword [eax], edi
and ebx, esi
mov ebx, esi
mov esi, 0x2d15219a
add eax, 4
sub ebx, edx
cmp eax, ecx
jne fcn.00414de3
ret
Function at 0x63c410fa
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 0xc]
add eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x78]
mov eax, dword [ebp - 0xc]
add eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x1c]
mov eax, dword [ebp - 0xc]
add eax, edx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x20]
mov eax, dword [ebp - 0xc]
add eax, edx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x24]
mov eax, dword [ebp - 0xc]
add eax, edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 8], 0
jmp 0x63c411af
mov eax, dword [ebp - 8]
lea edx, [eax*4]
mov eax, dword [ebp - 0x20]
add eax, edx
mov edx, dword [eax]
mov eax, dword [ebp - 0xc]
add eax, edx
mov dword [esp], eax
call fcn.63c4102b
cmp dword [ebp + 0xc], eax
jne 0x63c411ab
mov eax, dword [ebp - 8]
lea edx, [eax + eax]
mov eax, dword [ebp - 0x24]
add eax, edx
movzx eax, word [eax]
movzx eax, ax
lea edx, [eax*4]
mov eax, dword [ebp - 0x1c]
add eax, edx
mov eax, dword [eax]
mov dword [ebp - 4], eax
jmp 0x63c411ba
add dword [ebp - 8], 1
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x18]
cmp dword [ebp - 8], eax
jb 0x63c41164
cmp dword [ebp - 4], 0
je 0x63c411d6
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
jmp 0x63c411d9
mov eax, dword [ebp - 4]
leave
ret
Function at 0x63c41215
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov dword [ebp - 0x14], 0x10
mov dword [ebp - 0x18], 0x100
mov dword [ebp - 4], 0
jmp 0x63c4124b
mov eax, dword [ebp - 4]
mov ecx, eax
lea edx, [ebp - 0x11e]
mov eax, dword [ebp - 4]
add eax, edx
mov byte [eax], cl
add dword [ebp - 4], 1
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x18]
jl 0x63c41235
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 8], 0
jmp 0x63c412d1
lea edx, [ebp - 0x11e]
mov eax, dword [ebp - 8]
add eax, edx
movzx eax, byte [eax]
movzx edx, al
mov eax, dword [ebp - 0xc]
lea ecx, [edx + eax]
mov eax, dword [ebp - 8]
cdq
idiv dword [ebp - 0x14]
mov eax, edx
mov edx, eax
mov eax, dword [ebp + 0x14]
add eax, edx
movzx eax, byte [eax]
movzx eax, al
add eax, ecx
cdq
idiv dword [ebp - 0x18]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x11e]
mov dword [esp + 8], eax
mov eax, dword [ebp - 8]
mov dword [esp + 4], eax
lea eax, [ebp - 0x11e]
mov dword [esp], eax
call fcn.63c411db
add dword [ebp - 8], 1
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x18]
jl 0x63c41271
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
jmp 0x63c4139e
mov eax, dword [ebp - 8]
add eax, 1
cdq
idiv dword [ebp - 0x18]
mov dword [ebp - 8], edx
lea edx, [ebp - 0x11e]
mov eax, dword [ebp - 8]
add eax, edx
movzx eax, byte [eax]
movzx edx, al
mov eax, dword [ebp - 0xc]
add eax, edx
cdq
idiv dword [ebp - 0x18]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x11e]
mov dword [esp + 8], eax
mov eax, dword [ebp - 8]
mov dword [esp + 4], eax
lea eax, [ebp - 0x11e]
mov dword [esp], eax
call fcn.63c411db
lea edx, [ebp - 0x11e]
mov eax, dword [ebp - 8]
add eax, edx
movzx eax, byte [eax]
movzx edx, al
lea ecx, [ebp - 0x11e]
mov eax, dword [ebp - 0xc]
add eax, ecx
movzx eax, byte [eax]
movzx eax, al
add eax, edx
cdq
idiv dword [ebp - 0x18]
mov eax, edx
mov byte [ebp - 0x1d], al
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
add eax, edx
movzx edx, byte [eax]
movzx eax, byte [ebp - 0x1d]
movzx eax, byte [ebp + eax - 0x11e]
xor eax, edx
mov byte [ebp - 0x1e], al
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0xc]
add edx, eax
movzx eax, byte [ebp - 0x1e]
mov byte [edx], al
add dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0x10]
jl 0x63c412f3
nop
nop
leave
ret
Function at 0xe9888ee
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push 0x449
call fcn.0e9b451f
cmp al, 0x11
jne 0xe988908
or dword [ebp - 4], 0xffffffff
jmp 0xe988918
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov eax, dword [eax*4 + 0xe9e5550]
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x485
call fcn.0e9b451f
mov ebx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
mov edx, dword [0xe9fc440]
movzx eax, al
lea esi, [edx + ecx*4]
mov dword [ebp + 0x10], eax
cmp ebx, 1
jne 0xe988972
test eax, eax
jbe 0xe9889b4
mov ebx, dword [ebp + 0x18]
shl ebx, 2
push edi
call fcn.0e9b451f
movzx eax, al
mov ecx, eax
shl ecx, 8
or eax, ecx
mov ecx, eax
shl ecx, 0x10
or ecx, eax
and ecx, dword [ebp - 4]
inc edi
xor dword [esi], ecx
add esi, ebx
dec dword [ebp + 0x10]
jne 0xe98894c
jmp 0xe9889b4
mov ecx, dword [ebp + 0x18]
sub ecx, ebx
test eax, eax
jbe 0xe9889b4
mov eax, ecx
shl eax, 2
mov dword [ebp + 0x18], eax
push edi
call fcn.0e9b451f
movzx ecx, al
mov eax, ecx
shl eax, 8
or ecx, eax
mov eax, ecx
shl eax, 0x10
or eax, ecx
and eax, dword [ebp - 4]
inc edi
mov ecx, ebx
test ebx, ebx
jbe 0xe9889ac
xor dword [esi], eax
add esi, 4
dec ecx
jne 0xe9889a4
add esi, dword [ebp + 0x18]
dec dword [ebp + 0x10]
jne 0xe988983
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0xe9ba504
Capabilities:
Get process heap flags

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x60
push edi
push 0xa
xor eax, eax
pop ecx
lea edi, [ebp - 0x60]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
sub eax, 3
je 0xe9ba531
dec eax
dec eax
je 0xe9ba52c
dec eax
dec eax
jne 0xe9ba536
lea eax, [ebp - 0x60]
jmp 0xe9ba539
lea eax, [ebp - 0x58]
jmp 0xe9ba539
lea eax, [ebp - 0x50]
jmp 0xe9ba539
mov eax, dword [ebp + 8]
push dword [ebp + 0x10]
push eax
push 1
call fcn.0e9ba35e
xor edi, edi
cmp eax, edi
jl 0xe9ba614
lea eax, [ebp - 0x20]
push eax
push edi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 0xc]
push dword [eax + 4]
call dword [0xe97156c]
test al, al
jne 0xe9ba571
mov eax, 0x80070003
jmp 0xe9ba614
mov eax, dword [ebp - 0x20]
push ebx
mov ebx, dword [ebp - 4]
xor ecx, ecx
push esi
cmp cx, ax
je 0xe9ba58b
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
jmp 0xe9ba58e
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
push 0x4020
lea eax, [ebp - 8]
mov dword [ebp - 0x30], eax
push 7
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x38]
push eax
push 0x100100
lea eax, [ebp + 8]
push eax
mov dword [ebp - 0x38], 0x18
mov dword [ebp - 0x2c], 0x40
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
call dword [0xe9714d0]
mov esi, eax
lea eax, [ebp - 0x20]
push eax
call dword [0xe971568]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push edi
push dword [eax + 0x18]
call dword [fcn.0e971530]
cmp esi, edi
jl 0xe9ba610
push 4
push 0x28
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call dword [0xe971510]
push dword [ebp + 8]
mov esi, eax
call dword [0xe97145c]
mov eax, esi
pop esi
pop ebx
pop edi
leave
ret 0xc
Function at 0xe9bb0ce
Capabilities:
Get process heap flags

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x68
push ebx
lea eax, [ebp - 0x18]
push eax
xor ebx, ebx
push ebx
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 0xc]
push dword [eax + 4]
call dword [0xe97156c]
test al, al
jne 0xe9bb0fc
mov eax, 0x80070003
jmp 0xe9bb1bf
mov eax, dword [ebp - 0x18]
push esi
xor ecx, ecx
push edi
mov edi, dword [ebp - 4]
cmp cx, ax
je 0xe9bb116
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
jmp 0xe9bb119
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x30], 0x18
mov dword [ebp - 0x24], 0x40
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call dword [0xe971578]
mov esi, eax
lea eax, [ebp - 0x18]
push eax
call dword [0xe971568]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push edi
push ebx
push dword [eax + 0x18]
call dword [fcn.0e971530]
cmp esi, ebx
jge 0xe9bb16f
mov eax, esi
jmp 0xe9bb1bd
mov eax, dword [ebp + 8]
sub eax, 4
je 0xe9bb189
dec eax
dec eax
je 0xe9bb184
dec eax
dec eax
jne 0xe9bb18e
lea eax, [ebp - 0x68]
jmp 0xe9bb191
lea eax, [ebp - 0x60]
jmp 0xe9bb191
lea eax, [ebp - 0x58]
jmp 0xe9bb191
mov eax, dword [ebp + 0xc]
push dword [ebp + 0x10]
push eax
push dword [ebp + 0xc]
call fcn.0e9ba667
neg eax
sbb eax, eax
and eax, 0x10
push eax
call fcn.0e9ba35e
cmp eax, ebx
jge 0xe9bb1bd
cmp eax, 0x8007000d
jne 0xe9bb1bd
cmp dword [ebp + 8], 4
jne 0xe9bb1bd
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0xe9c66b0
Capabilities:
Get process heap force flags

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
sub esp, 0x10
push esi
mov esi, dword [ebp + 0xc]
mov ecx, dword [esi]
push edi
add ecx, ecx
push ecx
push 0
push dword [eax + 0x18]
call dword [fcn.0e971548]
mov edi, eax
test edi, edi
jne 0xe9c66ec
push 8
call dword [fcn.0e971090]
xor eax, eax
pop edi
pop esi
leave
ret 8
mov ax, word [esi]
mov word [ebp - 6], ax
xor eax, eax
mov word [ebp - 8], ax
mov eax, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 4], eax
call dword [fcn.0e971354]
test eax, eax
jne 0xe9c6726
xor esi, esi
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push edi
push 0
push dword [eax + 0x18]
call dword [fcn.0e971530]
mov eax, esi
jmp 0xe9c66e6
push edi
lea eax, [ebp - 0x10]
push eax
call dword [fcn.0e971460]
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
call dword [fcn.0e97149c]
movzx eax, word [ebp - 8]
mov dword [esi], eax
xor esi, esi
inc esi
jmp 0xe9c670d

Function at 0xe9c76e3
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov ax, word [0xe9f99f4]
mov word [ebp - 4], ax
jmp 0xe9c7768
movzx edx, word [ebp - 4]
mov eax, dword [0xea1e83c]
shr edx, 3
shl edx, 3
add eax, edx
cmp byte [eax + 5], 0
jne 0xe9c7713
cmp byte [eax + 7], 0x80
je 0xe9c7760
xor eax, eax
xor ecx, ecx
mov ax, word [ebp - 4]
or eax, 7
lsl ecx, eax
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0xffff
jne 0xe9c7760
mov eax, dword [0xea1e83c]
add eax, edx
movzx ecx, byte [eax + 7]
movzx edx, byte [eax + 4]
shl ecx, 8
or ecx, edx
movzx edx, word [eax + 2]
shl ecx, 0x10
or ecx, edx
cmp dword [ebp + 8], ecx
jne 0xe9c7760
movzx eax, byte [eax + 5]
movzx ecx, byte [ebp + 0xc]
xor eax, ecx
test eax, 0xfffffffe
je 0xe9c7777
add dword [ebp - 4], 8
mov ax, word [ebp - 4]
cmp ax, word [0xe9f99f0]
jb 0xe9c76f6
xor eax, eax
leave
ret 8
mov eax, dword [ebp - 4]
or eax, 7
jmp 0xe9c7773
Function at 0x40a23c
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov ebx, eax
xor ebp, ebp
xor edi, edi
lea eax, [ebx + 0x10]
call fcn.00403dcc
cmp ebp, 1
sbb eax, eax
inc eax
cmp al, 1
jne 0x40a2a5
mov eax, dword [ebx + 0x10]
mov edx, 0x40a3d8
call fcn.00404190
jne 0x40a274
lea eax, [ebx + 0x10]
call fcn.00403dcc
jmp 0x40a2ad
mov eax, dword [ebx + 0x10]
mov edx, 0x40a3e4
call fcn.00404190
jne 0x40a290
lea eax, [ebx + 0x10]
mov edx, 0x40a3d8
call fcn.00403e20
cmp dword [ebx + 0x10], 0
jne 0x40a2ad
lea eax, [ebx + 0x10]
mov edx, 0x40a3e4
call fcn.00403e20
jmp 0x40a2ad
lea eax, [ebx + 0x10]
call fcn.00403dcc
mov eax, ebx
call fcn.0040a08c
mov eax, dword [0x40b158]
inc dword [eax]
push 6
push 1
push 2
call sub.wsock32.dll_socket
mov esi, eax
mov word [esp], 2
push 0x8b
call sub.wsock32.dll_htons
mov word [esp + 2], ax
mov eax, dword [ebx + 0x10]
call fcn.00404244
push eax
call sub.wsock32.dll_inet_addr
mov dword [esp + 4], eax
push 0x10
lea eax, [esp + 4]
push eax
push esi
call sub.wsock32.dll_connect
inc eax
je 0x40a307
or edi, 0xffffffff
jmp 0x40a394
mov eax, dword [0x40b170]
inc dword [eax]
mov word [esp], 2
push 0x1bd
call sub.wsock32.dll_htons
mov word [esp + 2], ax
mov eax, dword [ebx + 0x10]
call fcn.00404244
push eax
call sub.wsock32.dll_inet_addr
mov dword [esp + 4], eax
push 0x10
lea eax, [esp + 4]
push eax
push esi
call sub.wsock32.dll_connect
inc eax
je 0x40a34a
or edi, 0xffffffff
jmp 0x40a394
mov eax, dword [0x40b170]
inc dword [eax]
mov word [esp], 2
push 0x75d7
call sub.wsock32.dll_htons
mov word [esp + 2], ax
mov eax, dword [ebx + 0x10]
call fcn.00404244
push eax
call sub.wsock32.dll_inet_addr
mov dword [esp + 4], eax
push 0x10
lea eax, [esp + 4]
push eax
push esi
call sub.wsock32.dll_connect
inc eax
je 0x40a38d
or edi, 0xffffffff
jmp 0x40a394
mov eax, dword [0x40b170]
inc dword [eax]
test edi, edi
je 0x40a3b7
push esi
call sub.wsock32.dll_closesocket
lea eax, [ebx + 0x14]
mov ecx, dword [ebx + 0x10]
mov edx, 0x40a3f0
call fcn.00404090
mov eax, ebx
call fcn.00409f64
mov ebp, eax
push 0x200
call sub.kernel32.dll_Sleep
jmp 0x40a251

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 0x415d40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf000]
push edi
or ebp, 0xffffffff
jmp 0x415d62
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x415d69
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x415d58
mov eax, 1
add ebx, ebx
jne 0x415d7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x415d70
jne 0x415d8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x415d70
xor ecx, ecx
sub eax, 3
jb 0x415da0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x415e12
mov ebp, eax
add ebx, ebx
jne 0x415dab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x415db8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x415ddc
inc ecx
add ebx, ebx
jne 0x415dc8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x415dbd
jne 0x415dd9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x415dbd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x415dfc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x415ded
jmp 0x415d5e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x415dfc
add edi, ecx
jmp 0x415d5e
pop esi
mov edi, esi
mov ecx, 0x458
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x415e1a
cmp byte [edi], 0
jne 0x415e1a
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 0x415e1f
lea edi, [esi + 0x13000]
mov eax, dword [edi]
or eax, eax
je 0x415e8e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x16fe8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x17070]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x415e4c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x17078]
or eax, eax
je 0x415e88
mov dword [ebx], eax
add ebx, 4
jmp 0x415e69
call dword [esi + 0x17074]
mov ebp, dword [esi + 0x1707c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x415ec2
sub esp, 0xffffff80
jmp 0x409c40