joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4129c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6171ed
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x69cffc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [edi]
push 0
push 0
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov edx, dword [eax + 4]
lea eax, [edx - 0x18]
mov dword [edx + edi - 4], eax
mov eax, dword [edi]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov esi, dword [eax + 4]
add esi, edi
mov ecx, esi
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
call fcn.004143a0
push 8
call fcn.00447eb9
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x412a91
push 1
mov dword [ebp - 4], 1
call fcn.00590c3f
add esp, 4
mov dword [ebx + 4], eax
jmp 0x412a93
xor ebx, ebx
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], ebx
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov ebx, dword [ebx + 4]
mov ecx, ebx
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebx]
call dword [eax + 4]
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 2
push eax
call fcn.00414820
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
mov eax, dword [edx + 0x20]
call eax
mov byte [ebp + 0xb], al
mov byte [ebp - 4], 0
test ebx, ebx
je 0x412aef
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 8]
test eax, eax
je 0x412aec
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov al, byte [ebp + 0xb]
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], al
jne 0x412b08
mov eax, dword [esi + 0xc]
mov ecx, esi
push 0
or eax, 4
push eax
call fcn.004143a0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x412e20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61724d
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x69cffc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
call fcn.00447eb9
mov esi, eax
add esp, 4
test esi, esi
je 0x412e68
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx]
mov dword [esi], ecx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov dword [esi + 4], eax
jmp 0x412e6a
xor esi, esi
mov dword [ebp + 0xc], esi
lea ebx, [edi + 4]
mov dword [ebp - 4], 0
push ebx
push 0
push esi
push 0x409c20
push 0
push 0
call fcn.005f95cb
add esp, 0x18
mov dword [edi], eax
test eax, eax
je 0x412ea8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 6
mov dword [ebx], 0
call fcn.00593335
int3
Function at 0x415680
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
cmp dword [0x69dd0c], 0xffffffff
push esi
mov byte [0x69dc02], 1
je 0x4156ef
or esi, 0xffffffff
mov eax, 0x69dd0c
xchg dword [eax], esi
push 2
push esi
call dword [sym.imp.WS2_32.dll_shutdown]
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [0x69dd08]
test eax, eax
je 0x4156ef
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4156d9
push 1
push dword [0x69dd08]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [0x69dd08]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x69dd08], 0
mov eax, dword [0x69dbd4]
test eax, eax
je 0x415825
push eax
push dword [0x69dbd0]
call fcn.00593233
add esp, 8
test eax, eax
jne 0x41582c
mov eax, dword [0x69db74]
xorps xmm0, xmm0
movlpd qword [0x69dbd0], xmm0
test eax, eax
je 0x415825
push eax
push dword [0x69db70]
call fcn.00593233
add esp, 8
test eax, eax
jne 0x415832
mov eax, dword [0x69dbac]
xorps xmm0, xmm0
movlpd qword [0x69db70], xmm0
test eax, eax
je 0x415825
push eax
push dword [0x69dba8]
call fcn.00593233
add esp, 8
test eax, eax
jne 0x415838
mov eax, dword [0x69db9c]
xorps xmm0, xmm0
movlpd qword [0x69dba8], xmm0
test eax, eax
je 0x415825
push eax
push dword [0x69db98]
call fcn.00593233
add esp, 8
test eax, eax
jne 0x41583e
mov eax, dword [0x69dba4]
xorps xmm0, xmm0
movlpd qword [0x69db98], xmm0
test eax, eax
je 0x415825
push eax
push dword [0x69dba0]
call fcn.00593233
add esp, 8
test eax, eax
jne 0x415844
mov eax, dword [0x69db84]
xorps xmm0, xmm0
movlpd qword [0x69dba0], xmm0
test eax, eax
je 0x415825
push eax
push dword [0x69db80]
call fcn.00593233
add esp, 8
test eax, eax
jne 0x41584a
mov eax, dword [0x69dbb4]
xorps xmm0, xmm0
movlpd qword [0x69db80], xmm0
test eax, eax
je 0x415825
push eax
push dword [0x69dbb0]
call fcn.00593233
add esp, 8
test eax, eax
jne 0x415850
xorps xmm0, xmm0
movlpd qword [0x69dbb0], xmm0
pop esi
mov esp, ebp
pop ebp
ret
push 1
call fcn.00593335
push eax
call fcn.00593308
push eax
call fcn.00593308
push eax
call fcn.00593308
push eax
call fcn.00593308
push eax
call fcn.00593308
push eax
call fcn.00593308
push eax
call fcn.00593308
int3
Function at 0x416cf0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61774b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x69cffc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea esi, [edi + 0x18]
mov dword [edi], vtable.CThread.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0xffffffff
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movq qword [edi + 0x24], xmm0
mov byte [ebp - 4], 1
mov dword [edi + 0x2c], 0
push 0x400
mov dword [edi + 0x30], 0x5654
mov byte [edi + 0x34], 0
call fcn.00447f05
mov dword [edi + 4], eax
add esp, 4
mov eax, edi
xchg dword [esi], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x416db0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61669d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x69cffc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
call fcn.00447eb9
add esp, 4
test eax, eax
je 0x416df1
mov dword [eax], esi
mov dword [eax + 4], 0x4171e0
jmp 0x416df3
xor eax, eax
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x409c20
push 0
push 0
call fcn.005f95cb
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x416e64
mov dword [ebp - 4], 0xffffffff
cmp dword [esi + 0x28], 0
jne 0x416e72
mov eax, dword [ebp - 0x14]
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], eax
test eax, eax
je 0x416e77
push eax
push ecx
call fcn.00593233
add esp, 8
test eax, eax
jne 0x416e7e
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 0x14], 0
call fcn.00593335
call fcn.005f8fa5
push 1
call fcn.00593335
push eax
call fcn.00593308
int3
Function at 0x416e90
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x617780
mov eax, dword fs:[0]
push eax
sub esp, 0x180
mov eax, dword [0x69cffc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x18c], ecx
mov dword [ebp - 4], 0
test ecx, ecx
jne 0x416f03
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0058f0d5
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [esi]
xor edi, edi
cmp esi, 0xffffffff
je 0x416f76
test eax, eax
je 0x416f73
push 0xfc
lea eax, [ebp - 0x174]
push edi
push eax
call fcn.005e8c40
add esp, 0xc
mov dword [ebp - 0x178], esi
mov dword [ebp - 0x17c], 1
push edi
push dword [ebp - 0x18c]
push dword [ebp - 0x180]
push esi
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 0x188], eax
cmp eax, 0xffffffff
jne 0x416f67
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x188]
or esi, 0xffffffff
test eax, eax
mov edi, esi
cmovns edi, eax
jmp 0x416f79
or edi, 0xffffffff
or esi, 0xffffffff
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x20]
mov dword [ebp - 0x184], eax
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 0x24]
push 0x64
mov dword [ebp - 0x188], eax
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.005e8c40
add esp, 0xc
lea ecx, [ebp - 0x78]
call fcn.0043a240
mov eax, dword [ebp - 0x180]
mov ecx, ebx
push dword [ebp - 0x18c]
movzx eax, byte [eax]
push eax
lea eax, [ebp - 0x78]
push eax
mov eax, dword [ebx]
call dword [eax + 0x34]
push eax
push dword [ebp - 0x188]
push dword [ebp - 0x184]
push ecx
mov dword [ebp - 0x184], esp
call fcn.0044a657
mov ecx, eax
test ecx, ecx
je 0x417069
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x184]
add eax, 0x10
mov dword [ecx], eax
mov eax, str.__s:_s___s::SendData___s____0x_X__dbytes
mov byte [ebp - 4], 1
test eax, 0xffff0000
jne 0x417014
movzx eax, ax
push eax
call fcn.00402c80
jmp 0x417020
push 0x29
push str.__s:_s___s::SendData___s____0x_X__dbytes
call fcn.00402df0
push 0
lea eax, [ebp - 0x180]
mov byte [ebp - 4], 0
push eax
push 0x6aa3bc
call fcn.00409fa0
mov eax, dword [ebp - 0x180]
add esp, 0x28
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x417055
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov dword [ebx + 0x2c], 1
mov eax, edi
jmp 0x416ee5
push 0x80004005
call fcn.00403270
int3
Function at 0x417680
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, ecx
cmp dword [esi + 8], 0xffffffff
push edi
lea edi, [esi + 8]
je 0x4176a0
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
sub esp, 8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ecx
mov ecx, edi
call fcn.0043a030
mov bl, al
test bl, bl
je 0x4176ff
push 0
push 0
push esi
push 0x417710
push 0
push 0
call fcn.005f95cb
add esp, 0x18
mov dword [esi + 4], eax
test eax, eax
jne 0x4176ff
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [edi], 0xffffffff
mov ebx, eax
je 0x4176f6
or esi, 0xffffffff
xchg dword [edi], esi
push 2
push esi
call dword [sym.imp.WS2_32.dll_shutdown]
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor bl, bl
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x418600
Capabilities:
Acquire debug privileges
Enumerate processes
Print debug messages
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x444
mov eax, dword [0x69cffc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x670870
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x4186ef
lea ecx, [ebp - 0x440]
mov dword [ebp - 0x440], 0
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea eax, [ebp - 0x43c]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4186cb
push 0x10
call fcn.00447f05
mov esi, eax
add esp, 4
test esi, esi
je 0x4186cb
lea ecx, [esi + 4]
mov dword [esi], 1
push ecx
push str.SeDebugPrivilege
push 0
mov dword [esi + 0xc], 2
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x4186c2
push 0
push 0
push 0
push esi
push 0
push dword [ebp - 0x43c]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x4186c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4186c2
push dword [ebp - 0x43c]
call ebx
jmp 0x4186cb
push esi
call fcn.00447f00
add esp, 4
push dword [ebp - 0x440]
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0
push 1
call edi
mov esi, eax
test esi, esi
je 0x418702
push 9
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call ebx
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058f0d5
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x440]
push 0
push 0x410
call edi
mov dword [ebp - 0x444], eax
test eax, eax
je 0x418802
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
test eax, eax
je 0x418802
push 0
push 2
mov dword [ebp - 0x438], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
lea eax, [ebp - 0x438]
push eax
push edi
mov dword [ebp - 0x43c], edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4187f4
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop dword [eax]
nop dword [eax + eax]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.005f9fc0
add esp, 8
test eax, eax
jne 0x4187e2
push str.Terminate
call esi
lea eax, [ebp - 0x414]
push eax
call esi
push dword [ebp - 0x430]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x4187ce
push 9
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call ebx
jmp 0x4187d5
push str._failed.
call esi
push 0x670940
call esi
mov edi, dword [ebp - 0x43c]
lea eax, [ebp - 0x438]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x418780
push edi
call ebx
push dword [ebp - 0x444]
jmp 0x4186ed
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0058f0d5
mov esp, ebp
pop ebp
ret
Function at 0x418920
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x617955
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x69cffc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x5c], eax
lea eax, [esi + 4]
mov dword [ebp - 4], 0
push 0xb
push str.CHSetup.exe
mov ecx, eax
mov dword [ebp - 0x4c], eax
call fcn.00402df0
xor edi, edi
lea ebx, [esi + 4]
or esi, 0xffffffff
nop dword [eax]
push dword [ebp - 0x4c]
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.004046d0
lea ecx, [ebp - 0x40]
push ecx
push dword [eax]
call fcn.005f1d5d
mov edx, dword [ebp - 0x50]
add esp, 0x14
cmp eax, 0xffffffff
mov eax, esi
setne byte [ebp - 0x41]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4189bf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x41], 0
je 0x418a9f
push ebx
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.004046d0
add esp, 0xc
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x54]
mov ecx, esi
mov dword [ebp - 0x58], eax
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x418a02
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x58]
test eax, eax
jne 0x418a68
push str.CHSetup.exe
push ebx
call fcn.004033d0
inc edi
add esp, 8
cmp edi, 0x3e8
jl 0x418980
call fcn.0044a657
mov ecx, eax
test ecx, ecx
je 0x418af4
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edi, dword [ebp - 0x48]
add eax, 0x10
mov dword [edi], eax
mov eax, 0x66eae8
mov byte [ebp - 4], 1
mov ecx, edi
test eax, 0xffff0000
jne 0x418a5a
movzx eax, ax
push eax
call fcn.00402c80
jmp 0x418a7e
push 0
push 0x66eae8
call fcn.00402df0
jmp 0x418a7e
mov eax, dword [ebx]
sub eax, 0x10
push eax
call fcn.004027b0
mov edi, dword [ebp - 0x48]
add esp, 4
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x418ad4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x418ad4
mov eax, dword [ebx]
sub eax, 0x10
push eax
call fcn.004027b0
mov edi, dword [ebp - 0x48]
add eax, 0x10
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov dword [edi], eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x418ad4
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058f0d5
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.00403270
int3
Function at 0x41a110
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61669d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x69cffc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
call fcn.00447eb9
add esp, 4
test eax, eax
je 0x41a151
mov dword [eax], esi
mov dword [eax + 4], 0x41a540
jmp 0x41a153
xor eax, eax
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x409c20
push 0
push 0
call fcn.005f95cb
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x41a1c4
mov dword [ebp - 4], 0xffffffff
cmp dword [esi + 0x28], 0
jne 0x41a1d2
mov eax, dword [ebp - 0x14]
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], eax
test eax, eax
je 0x41a1d7
push eax
push ecx
call fcn.00593233
add esp, 8
test eax, eax
jne 0x41a1de
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 0x14], 0
call fcn.00593335
call fcn.005f8fa5
push 1
call fcn.00593335
push eax
call fcn.00593308
int3
Function at 0x41a310
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x616490
mov eax, dword fs:[0]
push eax
sub esp, 0x180
mov eax, dword [0x69cffc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x188], ecx
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x18c], edi
mov dword [ebp - 0x184], eax
test eax, eax
je 0x41a4ad
mov esi, dword [esi]
xor ebx, ebx
cmp esi, 0xffffffff
je 0x41a3c3
test edi, edi
je 0x41a3c0
push 0xfc
lea eax, [ebp - 0x178]
push ebx
push eax
call fcn.005e8c40
add esp, 0xc
mov dword [ebp - 0x17c], esi
mov dword [ebp - 0x180], 1
push ebx
push dword [ebp - 0x184]
push edi
push esi
call dword [sym.imp.WS2_32.dll_send]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41a3b6
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
or ebx, 0xffffffff
test esi, esi
cmovns ebx, esi
jmp 0x41a3c3
or ebx, 0xffffffff
mov esi, dword [ebp - 0x188]
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x1c]
mov edi, eax
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x20]
push 0x64
mov esi, eax
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.005e8c40
add esp, 0xc
lea ecx, [ebp - 0x78]
call fcn.0043a240
mov eax, dword [ebp - 0x18c]
push dword [ebp - 0x184]
mov ecx, dword [ebp - 0x188]
movzx eax, byte [eax]
push eax
lea eax, [ebp - 0x78]
push eax
mov eax, dword [ecx]
call dword [eax + 0x24]
push eax
push esi
push edi
push ecx
mov esi, esp
mov dword [ebp - 0x184], esi
call fcn.0044a657
mov ecx, eax
test ecx, ecx
je 0x41a4cb
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov eax, str.__s:_s___s::SendData___s____0x_X__dbytes
mov dword [ebp - 4], 0
mov ecx, esi
test eax, 0xffff0000
jne 0x41a457
movzx eax, ax
push eax
call fcn.00402c80
jmp 0x41a463
push 0x29
push str.__s:_s___s::SendData___s____0x_X__dbytes
call fcn.00402df0
push 0
lea eax, [ebp - 0x18c]
mov dword [ebp - 4], 0xffffffff
push eax
push 0x6aa3bc
call fcn.00409fa0
mov esi, dword [ebp - 0x18c]
add esp, 0x28
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41a49e
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x188]
mov dword [eax + 0x2c], 1
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058f0d5
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.00403270
int3
Function at 0x41ac60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, ecx
cmp dword [esi + 8], 0xffffffff
push edi
lea edi, [esi + 8]
je 0x41ac80
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
sub esp, 8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ecx
mov ecx, edi
call fcn.0043a030
mov bl, al
test bl, bl
je 0x41acdf
push 0
push 0
push esi
push 0x41acf0
push 0
push 0
call fcn.005f95cb
add esp, 0x18
mov dword [esi + 4], eax
test eax, eax
jne 0x41acdf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [edi], 0xffffffff
mov ebx, eax
je 0x41acd6
or esi, 0xffffffff
xchg dword [edi], esi
push 2
push esi
call dword [sym.imp.WS2_32.dll_shutdown]
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor bl, bl
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0x18

Function at 0x41b100
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61669d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x69cffc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
call fcn.00447eb9
add esp, 4
test eax, eax
je 0x41b141
mov dword [eax], esi
mov dword [eax + 4], 0x41b590
jmp 0x41b143
xor eax, eax
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x409c20
push 0
push 0
call fcn.005f95cb
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x41b1b4
mov dword [ebp - 4], 0xffffffff
cmp dword [esi + 0x20], 0
jne 0x41b1c2
mov eax, dword [ebp - 0x14]
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], eax
test eax, eax
je 0x41b1c7
push eax
push ecx
call fcn.00593233
add esp, 8
test eax, eax
jne 0x41b1ce
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 0x14], 0
call fcn.00593335
call fcn.005f8fa5
push 1
call fcn.00593335
push eax
call fcn.00593308
int3