joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5a9cf0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x72c83c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
mov dword [ebp - 0x64], ecx
mov eax, dword [ebp - 0x64]
xor ecx, ecx
cmp dword [eax + 0x18], 0
sete cl
movzx edx, cl
test edx, edx
je 0x5a9d3a
push 0
push 0x128
push str.e:giteepoco_1.9.0_all_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.005a4b60
add esp, 0x10
lea eax, [ebp - 0x31]
mov dword [ebp - 0x30], eax
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.00446c40
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.005aabd0
add esp, 8
cmp dword [ebp - 0x10], 8
jb 0x5a9d71
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x68], eax
jmp 0x5a9d77
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x64]
add edx, 0x20
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 0x18], 8
jb 0x5a9d94
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x6c], edx
jmp 0x5a9d9d
mov eax, dword [ebp - 0x4c]
add eax, 4
mov dword [ebp - 0x6c], eax
push 0
mov ecx, dword [ebp - 0x68]
push ecx
mov edx, dword [ebp - 0x6c]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x5a9dc0
mov eax, dword [ebp - 0x64]
add eax, 4
push eax
call fcn.005aa4c0
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00446c40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x5a9df0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x72c84e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
mov dword [ebp - 0x64], ecx
mov eax, dword [ebp - 0x64]
xor ecx, ecx
cmp dword [eax + 0x18], 0
sete cl
movzx edx, cl
test edx, edx
je 0x5a9e3a
push 0
push 0x133
push str.e:giteepoco_1.9.0_all_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.005a4b60
add esp, 0x10
lea eax, [ebp - 0x31]
mov dword [ebp - 0x30], eax
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.00446c40
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.005aabd0
add esp, 8
cmp dword [ebp - 0x10], 8
jb 0x5a9e71
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x68], eax
jmp 0x5a9e77
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x64]
add edx, 0x20
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 0x18], 8
jb 0x5a9e94
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x6c], edx
jmp 0x5a9e9d
mov eax, dword [ebp - 0x4c]
add eax, 4
mov dword [ebp - 0x6c], eax
push 1
mov ecx, dword [ebp - 0x68]
push ecx
mov edx, dword [ebp - 0x6c]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x5a9ec0
mov eax, dword [ebp - 0x64]
add eax, 4
push eax
call fcn.005aa4c0
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00446c40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x5aa0d0
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
xor ecx, ecx
cmp dword [eax + 0x18], 0
sete cl
movzx edx, cl
test edx, edx
je 0x5aa105
push 0
push 0x15b
push str.e:giteepoco_1.9.0_all_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.005a4b60
add esp, 0x10
mov ecx, dword [ebp - 0xc]
call fcn.005a9410
movzx eax, al
test eax, eax
je 0x5aa159
mov ecx, dword [ebp - 0xc]
add ecx, 0x20
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp dword [edx + 0x18], 8
jb 0x5aa131
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x10], ecx
jmp 0x5aa13a
mov edx, dword [ebp - 4]
add edx, 4
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x5aa157
mov ecx, dword [ebp - 0xc]
add ecx, 4
push ecx
call fcn.005aa4c0
add esp, 4
jmp 0x5aa19c
mov edx, dword [ebp - 0xc]
add edx, 0x20
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x18], 8
jb 0x5aa176
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x14], edx
jmp 0x5aa17f
mov eax, dword [ebp - 8]
add eax, 4
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x5aa19c
mov edx, dword [ebp - 0xc]
add edx, 4
push edx
call fcn.005aa4c0
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x5aa260
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
xor ecx, ecx
cmp dword [eax + 0x18], 0
sete cl
movzx edx, cl
test edx, edx
je 0x5aa295
push 0
push 0x17e
push str.e:giteepoco_1.9.0_all_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.005a4b60
add esp, 0x10
mov ecx, dword [ebp - 8]
call fcn.005a9100
movzx eax, al
test eax, eax
je 0x5aa2b7
mov ecx, dword [ebp - 8]
call fcn.005a9410
movzx ecx, al
test ecx, ecx
je 0x5aa2b7
xor al, al
jmp 0x5aa2fe
mov edx, dword [ebp - 8]
add edx, 0x20
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x18], 8
jb 0x5aa2d4
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 0xc], edx
jmp 0x5aa2dd
mov eax, dword [ebp - 4]
add eax, 4
mov dword [ebp - 0xc], eax
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x5aa2fc
mov edx, dword [ebp - 8]
add edx, 4
push edx
call fcn.005aa4c0
add esp, 4
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x5aa310
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
xor ecx, ecx
cmp dword [eax + 0x18], 0
sete cl
movzx edx, cl
test edx, edx
je 0x5aa345
push 0
push 0x18a
push str.e:giteepoco_1.9.0_all_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.005a4b60
add esp, 0x10
mov eax, dword [ebp - 0x10]
add eax, 0x20
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0x18], 8
jb 0x5aa362
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
mov dword [ebp - 0x14], eax
jmp 0x5aa36b
mov ecx, dword [ebp - 0xc]
add ecx, 4
mov dword [ebp - 0x14], ecx
push 0
lea edx, [ebp - 8]
push edx
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x5aa390
mov ecx, dword [ebp - 0x10]
add ecx, 4
push ecx
call fcn.005aa4c0
add esp, 4
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x5aa3a0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
xor ecx, ecx
cmp dword [eax + 0x18], 0
sete cl
movzx edx, cl
test edx, edx
je 0x5aa3d5
push 0
push 0x195
push str.e:giteepoco_1.9.0_all_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.005a4b60
add esp, 0x10
mov eax, dword [ebp - 0x10]
add eax, 0x20
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0x18], 8
jb 0x5aa3f2
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
mov dword [ebp - 0x14], eax
jmp 0x5aa3fb
mov ecx, dword [ebp - 0xc]
add ecx, 4
mov dword [ebp - 0x14], ecx
push 0
push 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x5aa420
mov ecx, dword [ebp - 0x10]
add ecx, 4
push ecx
call fcn.005aa4c0
add esp, 4
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x5aa430
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
xor ecx, ecx
cmp dword [eax + 0x18], 0
sete cl
movzx edx, cl
test edx, edx
je 0x5aa465
push 0
push 0x1a0
push str.e:giteepoco_1.9.0_all_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.005a4b60
add esp, 0x10
mov eax, dword [ebp - 0x10]
add eax, 0x20
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0x18], 8
jb 0x5aa482
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
mov dword [ebp - 0x14], eax
jmp 0x5aa48b
mov ecx, dword [ebp - 0xc]
add ecx, 4
mov dword [ebp - 0x14], ecx
lea edx, [ebp - 8]
push edx
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x5aa4b0
mov ecx, dword [ebp - 0x10]
add ecx, 4
push ecx
call fcn.005aa4c0
add esp, 4
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x5c49a0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x72d10b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x250
mov eax, 0x202
mov word [ebp - 0x10], ax
lea ecx, [ebp - 0x1a4]
push ecx
movzx edx, word [ebp - 0x10]
push edx
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x5c4a9e
lea eax, [ebp - 0x1f9]
mov dword [ebp - 0x1f8], eax
push 0
push 0
lea ecx, [ebp - 0x1f0]
call fcn.0040b0a0
mov dword [ebp - 0x250], 0x796194
mov ecx, dword [ebp - 0x250]
add ecx, 1
mov dword [ebp - 0x254], ecx
mov edx, dword [ebp - 0x250]
mov al, byte [edx]
mov byte [ebp - 0x255], al
add dword [ebp - 0x250], 1
cmp byte [ebp - 0x255], 0
jne 0x5c4a15
mov ecx, dword [ebp - 0x250]
sub ecx, dword [ebp - 0x254]
mov dword [ebp - 0x25c], ecx
mov edx, dword [ebp - 0x25c]
push edx
push 0x796194
lea ecx, [ebp - 0x1f0]
call fcn.0040a9d0
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x1f0]
push eax
lea ecx, [ebp - 0x1d4]
call fcn.005d0950
push 0x7dd6e8
lea ecx, [ebp - 0x1d4]
push ecx
call fcn.00563aac
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x1f0]
call fcn.0040b0a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x5ddcf0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x72ea8a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0
mov dword [ebp - 0xb8], 0
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x18], 0x10
jb 0x5ddd4f
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xbc], ecx
jmp 0x5ddd5b
mov edx, dword [ebp + 0xc]
add edx, 4
mov dword [ebp - 0xbc], edx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x34]
push ecx
push 0
mov edx, dword [ebp - 0xbc]
push edx
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x5dddcf
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x84]
call fcn.005dc070
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
lea edx, [ebp - 0x84]
push edx
mov ecx, dword [ebp + 8]
call fcn.005dc280
mov eax, dword [ebp - 0xb8]
or eax, 1
mov dword [ebp - 0xb8], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x84]
call fcn.005dc3d0
mov eax, dword [ebp + 8]
jmp 0x5dde0f
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.005df670
add esp, 8
mov eax, dword [ebp + 0xc]
push eax
call fcn.005df220
push eax
call fcn.005df230
add esp, 8
push 0
lea ecx, [ebp - 0xb4]
call fcn.005d0920
push 0x7dd6e8
lea ecx, [ebp - 0xb4]
push ecx
call fcn.00563aac
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x5dde20
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x72eae7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x15c
mov dword [ebp - 0x114], 0
push 0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x14]
call fcn.005c6270
mov dword [ebp - 4], 1
push 4
push 0
push 0
push 0x400
push 0x812438
lea ecx, [ebp - 0x14]
call fcn.005c6b60
push eax
lea ecx, [ebp - 0x14]
call fcn.005c6c10
push eax
call dword [sym.imp.WS2_32.dll_getnameinfo]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x5ddf7d
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x3c], edx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x3c]
push ecx
push 0
push 0x812438
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x5ddf30
mov edx, dword [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x8c]
call fcn.005dc070
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
lea ecx, [ebp - 0x8c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.005dc280
mov edx, dword [ebp - 0x114]
or edx, 1
mov dword [ebp - 0x114], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c]
call fcn.005dc3d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.005c6800
mov eax, dword [ebp + 8]
jmp 0x5de045
lea eax, [ebp - 0xa8]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.005d8830
mov dword [ebp - 0x154], eax
mov ecx, dword [ebp - 0x154]
mov dword [ebp - 0x158], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x158]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.005df670
add esp, 8
mov byte [ebp - 4], 1
push 0
push 1
lea ecx, [ebp - 0xa8]
call fcn.0040b0a0
jmp 0x5ddfc8
lea ecx, [ebp - 0xc4]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.005d8830
mov dword [ebp - 0x15c], eax
mov edx, dword [ebp - 0x15c]
mov dword [ebp - 0x160], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x160]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.005df670
add esp, 8
mov byte [ebp - 4], 1
push 0
push 1
lea ecx, [ebp - 0xc4]
call fcn.0040b0a0
call fcn.005df220
mov dword [ebp - 0x18], eax
lea edx, [ebp - 0xe0]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.005d8830
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x168], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x168]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.005df230
add esp, 8
mov byte [ebp - 4], 1
push 0
push 1
lea ecx, [ebp - 0xe0]
call fcn.0040b0a0
push 0
lea ecx, [ebp - 0x110]
call fcn.005d0920
push 0x7dd6e8
lea eax, [ebp - 0x110]
push eax
call fcn.00563aac
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.005c6800
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x5de350
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x72eb8b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1e8
mov dword [ebp - 0x164], 0
push 0x100
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x5de3be
lea ecx, [ebp - 0x114]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0040aae0
mov edx, dword [ebp - 0x164]
or edx, 1
mov dword [ebp - 0x164], edx
mov eax, dword [ebp + 8]
jmp 0x5de47b
lea eax, [ebp - 0x195]
mov dword [ebp - 0x194], eax
push 0
push 0
lea ecx, [ebp - 0x160]
call fcn.0040b0a0
mov dword [ebp - 0x1e8], str.Cannot_get_host_name
mov ecx, dword [ebp - 0x1e8]
add ecx, 1
mov dword [ebp - 0x1ec], ecx
mov edx, dword [ebp - 0x1e8]
mov al, byte [edx]
mov byte [ebp - 0x1ed], al
add dword [ebp - 0x1e8], 1
cmp byte [ebp - 0x1ed], 0
jne 0x5de3f2
mov ecx, dword [ebp - 0x1e8]
sub ecx, dword [ebp - 0x1ec]
mov dword [ebp - 0x1f4], ecx
mov edx, dword [ebp - 0x1f4]
push edx
push str.Cannot_get_host_name
lea ecx, [ebp - 0x160]
call fcn.0040a9d0
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x160]
push eax
lea ecx, [ebp - 0x144]
call fcn.005d0950
push 0x7dd6e8
lea ecx, [ebp - 0x144]
push ecx
call fcn.00563aac
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x160]
call fcn.0040b0a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x5ec000
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov dword [ebp - 0x98], 0x94
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x5ec028
mov al, 1
jmp 0x5ec063
cmp dword [ebp - 0x94], 6
jb 0x5ec04f
cmp dword [ebp - 0x94], 6
jne 0x5ec043
cmp dword [ebp - 0x90], 2
jb 0x5ec04f
mov dword [ebp - 0x9c], 0
jmp 0x5ec059
mov dword [ebp - 0x9c], 1
mov al, byte [ebp - 0x9c]
jmp 0x5ec063
mov esp, ebp
pop ebp
ret
Function at 0x5ec310
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x72fbdd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov dword [ebp - 0x48], ecx
mov eax, dword [ebp - 0x48]
cmp dword [eax + 8], 0xffffffff
jne 0x5ec350
mov ecx, dword [ebp + 8]
call fcn.005c6cc0
push eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x48]
mov eax, dword [edx + 0x90]
call eax
mov ecx, dword [ebp + 8]
call fcn.005c6b60
push eax
mov ecx, dword [ebp + 8]
call fcn.005c6c10
push eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.WS2_32.dll_connect]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x5ec385
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
je 0x5ec350
cmp dword [ebp - 0x10], 0
je 0x5ec3d3
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp + 8]
call fcn.005c6e20
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.005ee290
add esp, 8
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.0040b0a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x5ec6c0
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x72fc14
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov dword [ebp - 0x48], ecx
mov eax, dword [ebp - 0x48]
cmp dword [eax + 8], 0xffffffff
jne 0x5ec700
mov ecx, dword [ebp + 8]
call fcn.005c6cc0
push eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x48]
mov eax, dword [edx + 0x90]
call eax
push 0
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x48]
mov eax, dword [edx + 0x84]
call eax
mov ecx, dword [ebp + 8]
call fcn.005c6b60
push eax
mov ecx, dword [ebp + 8]
call fcn.005c6c10
push eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.WS2_32.dll_connect]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x5ec794
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x2734
je 0x5ec794
cmp dword [ebp - 0x14], 0x2733
je 0x5ec794
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp + 8]
call fcn.005c6e20
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.005ee290
add esp, 8
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.0040b0a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov dword [ebp - 0x70], ecx
mov eax, dword [ebp - 0x70]
movzx ecx, byte [eax + 0x21]
test ecx, ecx
je 0x5ecc90
mov edx, dword [ebp - 0x70]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x6c], eax
mov ecx, dword [edx + 0x1c]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x6c]
or edx, dword [ebp - 0x68]
je 0x5ecc90
push 2
mov eax, dword [ebp - 0x70]
add eax, 0x18
push eax
mov ecx, dword [ebp - 0x70]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x70]
mov eax, dword [edx + 0x50]
call eax
movzx ecx, al
test ecx, ecx
jne 0x5ecc90
push 0
lea ecx, [ebp - 0x34]
call fcn.005937d0
push 0x7daafc
lea edx, [ebp - 0x34]
push edx
call fcn.00563aac
mov eax, dword [ebp - 0x70]
cmp dword [eax + 8], 0xffffffff
jne 0x5eccb1
push 0
lea ecx, [ebp - 0x64]
call fcn.005d0d40
push 0x7df6b8
lea ecx, [ebp - 0x64]
push ecx
call fcn.00563aac
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x70]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x70]
movzx edx, byte [ecx + 0x20]
test edx, edx
je 0x5ecceb
cmp dword [ebp - 4], 0
jge 0x5ecceb
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
je 0x5ecc90
cmp dword [ebp - 4], 0
jge 0x5eccf6
call fcn.005ee190
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x5ecd00
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov dword [ebp - 0xa4], ecx
mov eax, dword [ebp - 0xa4]
movzx ecx, byte [eax + 0x21]
test ecx, ecx
je 0x5ecd81
mov edx, dword [ebp - 0xa4]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0xa0], eax
mov ecx, dword [edx + 0x14]
mov dword [ebp - 0x9c], ecx
mov edx, dword [ebp - 0xa0]
or edx, dword [ebp - 0x9c]
je 0x5ecd81
push 1
mov eax, dword [ebp - 0xa4]
add eax, 0x10
push eax
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xa4]
mov eax, dword [edx + 0x50]
call eax
movzx ecx, al
test ecx, ecx
jne 0x5ecd81
push 0
lea ecx, [ebp - 0x38]
call fcn.005937d0
push 0x7daafc
lea edx, [ebp - 0x38]
push edx
call fcn.00563aac
mov eax, dword [ebp - 0xa4]
cmp dword [eax + 8], 0xffffffff
jne 0x5ecda5
push 0
lea ecx, [ebp - 0x68]
call fcn.005d0d40
push 0x7df6b8
lea ecx, [ebp - 0x68]
push ecx
call fcn.00563aac
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xa4]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xa4]
movzx edx, byte [ecx + 0x20]
test edx, edx
je 0x5ecde5
cmp dword [ebp - 4], 0
jge 0x5ecde5
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
je 0x5ecd81
cmp dword [ebp - 4], 0
jge 0x5ece4d
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x2733
jne 0x5ece0d
mov eax, dword [ebp - 0xa4]
movzx ecx, byte [eax + 0x20]
test ecx, ecx
jne 0x5ece0d
jmp 0x5ece4d
cmp dword [ebp - 8], 0x2733
je 0x5ece1f
cmp dword [ebp - 8], 0x274c
jne 0x5ece41
mov edx, dword [ebp - 8]
push edx
lea ecx, [ebp - 0x98]
call fcn.005937d0
push 0x7daafc
lea eax, [ebp - 0x98]
push eax
call fcn.00563aac
jmp 0x5ece4d
mov ecx, dword [ebp - 8]
push ecx
call fcn.005ee220
add esp, 4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0xc