joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4269e0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x5c
push 0
push 0
dec ecx
jne 0x4269e8
push ecx
push ebx
push esi
mov ebx, edx
mov esi, eax
lea eax, [ebp - 0x164]
mov edx, dword [0x407af4]
call fcn.0040576c
xor eax, eax
push ebp
push 0x426c9b
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov eax, esi
call fcn.004090e0
test al, al
jne 0x426a53
call sub.kernel32.dll_GetLastError_1
cmp eax, 0x15
jne 0x426a42
mov eax, ebx
mov edx, 0x426cb0
call fcn.00404e28
jmp 0x426c49
mov eax, ebx
mov edx, 0x426cc8
call fcn.00404e28
jmp 0x426c49
lea eax, [ebp - 0x2c8]
mov ecx, 0x426ce0
mov edx, esi
call fcn.004050e0
mov eax, dword [ebp - 0x2c8]
lea ecx, [ebp - 0x164]
mov edx, 0x3f
call fcn.00409258
test eax, eax
jne 0x426c42
mov eax, dword [ebp - 0x15c]
and eax, 0x10
cmp eax, 0x10
jne 0x426b3c
lea eax, [ebp - 0x2cc]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebp - 0x158]
call fcn.004052f4
mov eax, dword [ebp - 0x2cc]
mov edx, 0x426cec
call fcn.004051e0
je 0x426c15
push dword [ebp - 8]
push 0x426cf8
push dword [ebp - 0x158]
push 0x426d04
mov eax, dword [ebp - 0x164]
call fcn.00409528
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x2d0]
call fcn.0040b888
push dword [ebp - 0x2d0]
push 0x426d10
mov eax, dword [ebp - 0x164]
call fcn.00409528
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x2d4]
call fcn.0040b8a0
push dword [ebp - 0x2d4]
push 0x426d1c
lea eax, [ebp - 8]
mov edx, 8
call fcn.00405154
jmp 0x426c15
push 0x400
push 0x160
lea eax, [ebp - 0x2c4]
push eax
push 0
lea eax, [ebp - 0x2d8]
mov ecx, dword [ebp - 0x158]
mov edx, esi
call fcn.004050e0
mov eax, dword [ebp - 0x2d8]
call fcn.00405294
push eax
call sub.shell32.dll_SHGetFileInfoA
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x1b4]
mov ecx, 0x50
call fcn.00405044
push dword [ebp - 4]
push dword [ebp - 0x158]
push 0x426d1c
lea edx, [ebp - 0x2dc]
mov eax, dword [ebp - 0x160]
call fcn.00408b84
push dword [ebp - 0x2dc]
push 0x426d1c
push dword [ebp - 0xc]
push 0x426d1c
mov eax, dword [ebp - 0x164]
call fcn.00409528
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x2e0]
call fcn.0040b888
push dword [ebp - 0x2e0]
push 0x426d10
mov eax, dword [ebp - 0x164]
call fcn.00409528
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x2e4]
call fcn.0040b8a0
push dword [ebp - 0x2e4]
push 0x426d1c
lea eax, [ebp - 4]
mov edx, 0xb
call fcn.00405154
mov eax, ebx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.004050e0
lea eax, [ebp - 0x164]
call fcn.004092a8
test eax, eax
je 0x426a83
lea eax, [ebp - 0x164]
call fcn.004092cc
jmp 0x426c49
mov eax, ebx
call fcn.00404dd4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x426ca2
lea eax, [ebp - 0x2e4]
mov edx, 6
call fcn.00404df8
lea eax, [ebp - 0x2cc]
call fcn.00404dd4
lea eax, [ebp - 0x2c8]
call fcn.00404dd4
lea eax, [ebp - 0x164]
mov edx, dword [0x407af4]
call fcn.00405830
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404df8
ret
Function at 0x426d20
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405284
xor eax, eax
push ebp
push 0x426e8d
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
mov eax, 0x426ea8
call fcn.004237ec
mov eax, dword [ebp - 8]
call fcn.00405294
push eax
mov eax, dword [0x43f3d8]
mov eax, dword [eax]
call fcn.00405294
push eax
call sub.kernel32.dll_LoadLibraryA
push eax
call fcn.00421924
mov dword [0x440aa0], eax
lea edx, [ebp - 0xc]
mov eax, 0x426f00
call fcn.004237ec
mov eax, dword [ebp - 0xc]
call fcn.00405294
push eax
mov eax, dword [0x43f3d8]
mov eax, dword [eax]
call fcn.00405294
push eax
call sub.kernel32.dll_LoadLibraryA
push eax
call fcn.00421924
mov dword [0x440aa4], eax
mov eax, dword [ebp - 4]
call fcn.004090d0
test al, al
je 0x426e03
xor eax, eax
push ebp
push 0x426df9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405294
mov esi, eax
push esi
call dword [0x440aa0]
mov ebx, eax
and bl, 2
and bl, 1
and bl, 4
xor eax, eax
mov al, bl
push eax
push esi
call dword [0x440aa4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x426e03
mov eax, dword [ebp - 4]
call fcn.004092e8
mov eax, dword [ebp - 4]
call fcn.004090d0
test al, al
je 0x426e60
push 1
lea eax, [ebp - 0x14]
call fcn.00421044
push dword [ebp - 0x14]
push 0x426f58
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00409434
push dword [ebp - 0x18]
push 0x426f74
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00405154
mov eax, dword [ebp - 0x10]
call fcn.00405294
push eax
mov eax, dword [ebp - 4]
call fcn.00405294
push eax
call sub.kernel32.dll_MoveFileExA
mov eax, dword [ebp - 4]
call fcn.004090d0
test al, al
je 0x426e70
xor ebx, ebx
jmp 0x426e72
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x426e94
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.00404df8
ret

Function at 0x426f7c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405284
xor eax, eax
push ebp
push 0x42703d
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x42701b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x22]
xor ecx, ecx
mov edx, 0x1e
call fcn.0040353c
lea eax, [ebp - 0x122]
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.0040353c
lea eax, [ebp - 0x122]
mov edx, dword [ebp - 4]
call fcn.00409620
xor eax, eax
mov dword [ebp - 0x22], eax
lea eax, [ebp - 0x122]
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x1e], 3
mov word [ebp - 0x12], 0x40
or word [ebp - 0x12], 0x10
or word [ebp - 0x12], 4
lea eax, [ebp - 0x22]
push eax
call sub.shell32.dll_SHFileOperationA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x427027
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427044
lea eax, [ebp - 4]
call fcn.00404dd4
ret
Function at 0x428800
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x428889
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x440ab8
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x428873
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040c254
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
mov eax, 0x4288a0
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x43f62c]
mov dl, 1
mov eax, dword [0x428004]
call fcn.0040cb88
call fcn.00404790
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428890
lea eax, [ebp - 0x1c]
call fcn.00404dd4
ret

Function at 0x428f30
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.00428e54
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00404210
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x428f94
call fcn.00428748
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x428f86
cmp dword [ebx + 4], 0xffffffff
setne al
mov byte [ebx + 8], al
mov cl, 2
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00404210
pop esi
pop ebx
ret

Function at 0x428fb8
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00428cf0
xor eax, eax
push ebp
push 0x429037
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404dd4
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
jne 0x428ff1
call fcn.0040483c
jmp 0x42903e
mov dword [ebp - 8], 0x10
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_getsockname
test eax, eax
jne 0x429021
push dword [ebp - 0x14]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
mov eax, ebx
call fcn.00404fcc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42903e
mov eax, dword [ebp - 4]
call fcn.00428cfc
ret
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x429044
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.00405294
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.0040353c
test ebx, ebx
je 0x42908f
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [esp + 4], cl
mov cl, byte [edx + 1]
mov byte [esp + 5], cl
mov cl, byte [edx + 2]
mov byte [esp + 6], cl
mov al, byte [edx + 3]
mov byte [esp + 7], al
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp]
pop ecx
pop edx
pop ebx
ret
Function at 0x42916c
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x42919d
mov ecx, dword [0x43f584]
mov dl, 1
mov eax, dword [0x428004]
call fcn.0040cb4c
call fcn.00404790
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x4291ca
mov ecx, dword [0x43f53c]
mov dl, 1
mov eax, dword [0x428004]
call fcn.0040cb4c
call fcn.00404790
xor eax, eax
push ebp
push 0x429246
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00404210
cmp byte [ebp + 8], 0
je 0x429222
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.004290d4
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
call fcn.00428f30
jmp 0x42923c
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00428a34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x429263
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x429444
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00428cf0
xor eax, eax
push ebp
push 0x4295b5
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x42959f
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x42948f
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x429499
call fcn.0040483c
jmp 0x4295bc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00418bc4
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, eax
test ebx, ebx
jle 0x429594
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x429547
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x429534
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00404210
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.004293fc
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x4295c8]
cmp dl, byte [eax + 0x28]
je 0x42959b
call fcn.0040ca70
jmp 0x42959b
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00418be4
jmp 0x42959b
cmp ecx, ebx
jge 0x429563
mov eax, dword [ebp - 0xc]
add eax, ecx
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00418be4
jmp 0x429499
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00418bc4
cmp edx, dword [esp + 4]
jne 0x429583
cmp eax, dword [esp]
pop edx
pop eax
jne 0x429499
push ebp
call fcn.004293fc
pop ecx
jmp 0x42959b
push ebp
call fcn.004293fc
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4295bc
mov eax, dword [ebp - 4]
call fcn.00428cfc
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4295cc
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4296ee
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00428cf0
xor eax, eax
push ebp
push 0x4296d1
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x42961c
call fcn.0040483c
jmp 0x4296d8
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4296bb
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x4296bb
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00404210
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x4296bb
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040c254
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x429708
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x43f62c]
mov dl, 1
mov eax, dword [0x428004]
call fcn.0040cb88
call fcn.00404790
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4296d8
mov eax, dword [ebp - 4]
call fcn.00428cfc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4296f5
lea eax, [ebp - 0x28]
call fcn.00404dd4
ret
Function at 0x429754
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x42989e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00428cf0
xor eax, eax
push ebp
push 0x429881
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x4297b9
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x4297b9
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x42986b
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4297cc
call fcn.0040483c
jmp 0x429888
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x42986b
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x42986b
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00404210
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x42986b
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040c254
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x4298b8
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x43f62c]
mov dl, 1
mov eax, dword [0x428004]
call fcn.0040cb88
call fcn.00404790
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x429888
mov eax, dword [ebp - 4]
call fcn.00428cfc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4298a5
lea eax, [ebp - 0x28]
call fcn.00404dd4
ret

Function at 0x42a26c
Capabilities:
Hide graphical window

Disassembly:
push 0
push eax
call sub.user32.dll_ShowWindow
ret
Function at 0x42a4f0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405284
xor eax, eax
push ebp
push 0x42a5a8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.0042a5b8
mov eax, dword [ebp - 4]
call fcn.00405294
mov dword [ebx + 4], eax
push 6
push 1
push 2
call sub.wsock32.dll_socket
mov dword [ebx + 0x14], eax
mov word [ebp - 0x18], 2
push esi
call sub.wsock32.dll_htons
mov word [ebp - 0x16], ax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_inet_addr
mov esi, eax
mov dword [ebp - 0x14], esi
inc esi
jne 0x42a575
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_gethostbyname
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x42a592
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
push 0x10
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebx + 0x14]
push eax
call sub.wsock32.dll_connect
test eax, eax
jge 0x42a58e
mov byte [ebx + 0x10], 0
jmp 0x42a592
mov byte [ebx + 0x10], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42a5af
lea eax, [ebp - 4]
call fcn.00404dd4
ret

Function at 0x42ba80
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x42ba86
ret

Function at 0x42d8bc
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x42d90d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x42d8f4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x42d8e4
jmp 0x42d90d
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x42d8f5
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x431ea4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x28]
mov edi, dword [ebx + 0x38]
sub edi, dword [ebx + 0x70]
sub edi, dword [ebx + 0x68]
jmp 0x431ed3
mov eax, dword [ebx + 0x28]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x68]
ja 0x431f52
push esi
mov eax, dword [ebx + 0x34]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.00430c58
add esp, 0xc
sub dword [ebx + 0x6c], esi
sub dword [ebx + 0x68], esi
sub dword [ebx + 0x58], ebp
mov eax, dword [ebx + 0x48]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x40]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x431f20
mov cx, word [esp]
sub cx, si
jmp 0x431f22
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x431f09
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x3c]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x431f48
mov cx, word [esp]
sub cx, si
jmp 0x431f4a
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x431f31
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x431faf
mov edx, dword [ebx + 0x34]
mov ecx, edi
add edx, dword [ebx + 0x68]
mov eax, ebp
add edx, dword [ebx + 0x70]
call fcn.00431b94
add dword [ebx + 0x70], eax
cmp dword [ebx + 0x70], 3
jb 0x431f9a
mov eax, dword [ebx + 0x34]
mov edx, dword [ebx + 0x68]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x44], eax
mov ecx, dword [ebx + 0x54]
shl eax, cl
mov edx, dword [ebx + 0x34]
mov ecx, dword [ebx + 0x68]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x50]
mov dword [ebx + 0x44], eax
cmp dword [ebx + 0x70], 0x106
jae 0x431faf
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x431eae
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x435574
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [0x43f684]
mov byte [eax], 0
mov eax, dword [0x440e8c]
call fcn.00404008
xor eax, eax
mov dword [0x440e8c], eax
cmp dword [0x440e84], 0
je 0x4355a3
push 0
mov eax, dword [0x440e84]
push eax
call sub.kernel32.dll_TerminateThread
xor eax, eax
mov dword [0x440e84], eax
ret

Function at 0x43b3b4
Capabilities:
Create process on windows
Shutdown system

Disassembly:
call fcn.00422000
push 0
push 0xc
call sub.user32.dll_ExitWindowsEx
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x43b3d8
push 1
push 0x43b3e0
call sub.kernel32.dll_WinExec
call fcn.00404c60
ret

Function at 0x43b3f4
Capabilities:
Create process on windows
Shutdown system

Disassembly:
call fcn.00422000
push 0
push 4
call sub.user32.dll_ExitWindowsEx
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x43b418
push 1
push 0x43b420
call sub.kernel32.dll_WinExec
call fcn.00404c60
ret
Function at 0x405e04
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405e6a
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404450
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402ea4
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405e54
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405e71
lea eax, [ebp - 0x10]
call fcn.004041e0
ret

Function at 0x40aee0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40af19
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004042d0
jmp 0x40af22
mov eax, ebx
mov edx, esi
call fcn.00404234
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40af2c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40af4d
mov al, byte [esp]
jmp 0x40af4f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40b5e4
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b44c
mov eax, dword [0x44f014]
cmp byte [eax], 0
je 0x40b660
mov eax, dword [0x44ee3c]
call fcn.00402d10
call fcn.00402bb4
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.004086d0
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40b6a8
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b696
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x44edec]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x450664]
call fcn.00405270
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret