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

Disassembly:
push 0xffffffffffffffff
push 0x4c5d1e
mov eax, dword fs:[0]
push eax
sub esp, 0x180
mov eax, dword [0x4f4970]
xor eax, esp
mov dword [esp + 0x17c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f4970]
xor eax, esp
push eax
lea eax, [esp + 0x194]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x1a4]
mov dword [esp + 0x38], ecx
call fcn.00402e30
push eax
call fcn.00430790
mov esi, eax
add esp, 4
test esi, esi
je 0x430114
mov edi, 1
mov eax, 0x4da470
cmp dword [esi + 4], edi
jne 0x42fc22
mov eax, 0x4da4f8
push eax
lea ecx, [esp + 0x178]
call fcn.00402bc0
lea ecx, [esp + 0x13c]
mov dword [esp + 0x19c], 0
call fcn.00402b90
lea ecx, [esp + 0x158]
call fcn.00402b90
lea eax, [esp + 0x158]
lea ecx, [esi + 0x14]
mov bl, 2
push eax
lea edx, [esp + 0x18]
lea esi, [esp + 0x140]
mov byte [esp + 0x1a0], bl
call fcn.0042e090
add esp, 4
test al, al
je 0x4300f0
test byte [0x4fb760], 1
jne 0x42fca7
or dword [0x4fb760], edi
mov ecx, 0x4fb744
call fcn.00402b90
push 0x4c7ac0
call fcn.0046e7d5
add esp, 4
mov ecx, 0x4fb744
call fcn.00402ea0
test al, al
je 0x42fcdf
lea esi, [esp + 0x1c]
call fcn.0042ea60
push eax
mov ecx, 0x4fb744
mov byte [esp + 0x1a0], 3
call fcn.00402c60
mov ecx, esi
mov byte [esp + 0x19c], bl
call fcn.00402c40
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x140]
push edx
lea eax, [esp + 0x108]
push eax
call fcn.0042ee80
xor ebx, ebx
mov ecx, ebp
mov byte [esp + 0x19c], 4
mov dword [esp + 0x18], ebx
call fcn.0040c980
test eax, eax
jbe 0x4300bc
xor esi, esi
mov dword [esp + 0x14], esi
jmp 0x42fd28
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, ebp
call fcn.0040c980
cmp ebx, eax
jb 0x42fd38
call fcn.0046d2c9
mov edi, dword [ebp + 0xc]
mov ecx, ebp
add edi, esi
call fcn.0040c980
cmp ebx, eax
jb 0x42fd4d
call fcn.0046d2c9
mov ecx, dword [ebp + 0xc]
add ecx, esi
call fcn.00402e30
mov ecx, edi
mov esi, eax
call fcn.0040a850
push eax
lea ecx, [esp + 0xe8]
push ecx
mov ecx, esi
call fcn.0042eb70
add esp, 8
lea edi, [esp + 0xe4]
lea ebx, [esp + 0x1c]
mov byte [esp + 0x19c], 5
call fcn.0042ed20
push eax
mov ecx, edi
mov byte [esp + 0x1a0], 6
call fcn.00402c60
mov bl, 5
lea ecx, [esp + 0x1c]
mov byte [esp + 0x19c], bl
call fcn.00402c40
mov edx, dword [esp + 0x38]
push edx
lea eax, [esp + 0xb0]
push str.logID
push eax
call fcn.004352e0
add esp, 0xc
push str.isText
push eax
lea ecx, [esp + 0xd0]
push ecx
mov byte [esp + 0x1a8], 7
call fcn.0042d270
add esp, 0xc
lea edx, [esp + 0x174]
push edx
push eax
lea eax, [esp + 0x98]
push eax
mov byte [esp + 0x1a8], 8
call fcn.0042d2e0
add esp, 0xc
push str.machineID
push eax
lea ecx, [esp + 0x7c]
push ecx
mov byte [esp + 0x1a8], 9
call fcn.0042d270
add esp, 0xc
push 0x4fb744
push eax
lea edx, [esp + 0x60]
push edx
mov byte [esp + 0x1a8], 0xa
call fcn.0042d2e0
add esp, 0xc
push str.logData
push eax
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0x1a8], 0xb
call fcn.0042d270
add esp, 0xc
mov ecx, edi
push ecx
push eax
lea edx, [esp + 0x24]
mov byte [esp + 0x1a4], 0xc
push edx
call fcn.0042d2e0
add esp, 0xc
push eax
mov ecx, edi
mov byte [esp + 0x1a0], 0xd
call fcn.00402c60
lea ecx, [esp + 0x1c]
call fcn.00402c40
lea ecx, [esp + 0x3c]
call fcn.00402c40
lea ecx, [esp + 0x58]
call fcn.00402c40
lea ecx, [esp + 0x74]
call fcn.00402c40
lea ecx, [esp + 0x90]
call fcn.00402c40
lea ecx, [esp + 0xc8]
call fcn.00402c40
lea ecx, [esp + 0xac]
mov byte [esp + 0x19c], bl
call fcn.00402c40
lea ecx, [esp + 0x158]
call fcn.00402e30
mov ecx, eax
lea esi, [esp + 0x100]
call fcn.0042efe0
push str.keep_alive
lea ecx, [esp + 0x20]
call fcn.00402bc0
push str.Connection
lea ecx, [esp + 0x40]
mov byte [esp + 0x1a0], 0xe
call fcn.00402bc0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x40]
push ecx
mov edx, esi
push edx
mov byte [esp + 0x1a8], 0xf
call fcn.0042f180
lea ecx, [esp + 0x3c]
call fcn.00402c40
lea ecx, [esp + 0x1c]
mov byte [esp + 0x19c], bl
call fcn.00402c40
push str.Content_Length
lea ecx, [esp + 0x20]
call fcn.00402bc0
mov ecx, edi
mov byte [esp + 0x19c], 0x10
call fcn.0040a850
push eax
lea edi, [esp + 0x20]
call fcn.0042f210
mov ecx, edi
mov byte [esp + 0x19c], bl
call fcn.00402c40
push str.application_x_www_form_urlencoded
lea ecx, [esp + 0x40]
call fcn.00402bc0
push str.Content_type
lea ecx, [esp + 0x20]
mov byte [esp + 0x1a0], 0x11
call fcn.00402bc0
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x20]
push ecx
mov edx, esi
push edx
mov byte [esp + 0x1a8], 0x12
call fcn.0042f180
lea ecx, [esp + 0x1c]
call fcn.00402c40
lea ecx, [esp + 0x3c]
mov byte [esp + 0x19c], bl
call fcn.00402c40
push str.text_plain
lea ecx, [esp + 0x40]
call fcn.00402bc0
push str.Accept
lea ecx, [esp + 0x20]
mov byte [esp + 0x1a0], 0x13
call fcn.00402bc0
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x20]
push ecx
mov edx, esi
push edx
mov byte [esp + 0x1a8], 0x14
call fcn.0042f180
lea ecx, [esp + 0x1c]
call fcn.00402c40
lea ecx, [esp + 0x3c]
mov byte [esp + 0x19c], bl
call fcn.00402c40
mov eax, esi
push eax
call fcn.0042f2d0
lea ecx, [esp + 0xe4]
call fcn.00402e30
lea ecx, [esp + 0xe4]
mov esi, eax
call fcn.0040a850
cmp dword [esp + 0x120], 0
mov ebx, eax
jge 0x430061
lea edi, [esp + 0x100]
call fcn.0042ef20
test al, al
je 0x43007e
test ebx, ebx
jle 0x43007e
mov ecx, dword [esp + 0x120]
push 0
push ebx
push esi
push ecx
call sub.WS2_32.dll_send
sub ebx, eax
add esi, eax
test ebx, ebx
jg 0x430065
lea edx, [esp + 0x100]
push edx
call fcn.0042f540
lea ecx, [esp + 0xe4]
mov byte [esp + 0x19c], 4
call fcn.00402c40
mov esi, dword [esp + 0x18]
add dword [esp + 0x14], 0x1c
inc esi
mov ecx, ebp
mov dword [esp + 0x18], esi
call fcn.0040c980
cmp esi, eax
jb 0x42fd20
mov eax, dword [esp + 0x120]
test eax, eax
jl 0x4300cd
push eax
call sub.WS2_32.dll_closesocket
lea ecx, [esp + 0x124]
mov dword [esp + 0x120], 0xffffffff
call fcn.0040af00
lea ecx, [esp + 0x100]
call fcn.00402c40
lea ecx, [esp + 0x158]
call fcn.00402c40
lea ecx, [esp + 0x13c]
call fcn.00402c40
lea ecx, [esp + 0x174]
call fcn.00402c40
mov ecx, dword [esp + 0x194]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x17c]
xor ecx, esp
call fcn.0046da8a
add esp, 0x18c
ret