Function at 0x410af0
Capabilities:
Check for time delay via gettickcount
Send data
Send data on socket
Send http request

Disassembly:
push 0xffffffffffffffff
push 0x58e7b0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x5f4760]
xor eax, esp
mov dword [esp + 0x34], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f4760]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x5c]
mov ebx, ecx
mov eax, dword [ebx + 4]
xor esi, esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], eax
cmp dword [ebp + 0x8020], esi
je 0x410b44
mov ecx, dword [ebx + 0x18]
mov dword [esp + 0x18], ecx
xor eax, eax
mov dword [ebp], eax
mov dword [ebp + 4], eax
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x801c]
lea edx, [ebp + 0x1c]
lea edi, [ebp + 0x14]
mov dword [ebp + 0x18], edx
mov dword [edi], eax
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x20], eax
cmp dword [ebp + 0x8020], esi
jne 0x410bbd
mov ecx, dword [ebp + 0x18]
push 4
push str.HTTP
push ecx
mov dword [esp + 0x20], esi
call fcn.004b7c02
add esp, 0xc
test eax, eax
jne 0x410bbd
lea edx, [esp + 0x14]
push edx
mov edx, dword [ebp + 0x18]
push edi
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], esi
call fcn.00493430
add esp, 8
cmp dword [esp + 0x14], esi
je 0x410bbd
mov byte [ebx + 0x81a4], 1
mov ecx, dword [esp + 0x18]
push esi
push ebp
push esi
lea eax, [esp + 0x28]
push eax
push 1
push edi
push ecx
call dword [sym.imp.WS2_32.dll_WSASend]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x410cdb
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp dword [0x603db4], 9
mov dword [esp + 0x14], eax
jne 0x410cad
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], esi
mov byte [esp + 0x30], 0
mov dword [esp + 0x54], esi
mov eax, dword [edi]
cmp eax, 0x800
jbe 0x410c18
mov eax, 0x800
mov edx, dword [ebp + 0x18]
push eax
push edx
lea esi, [esp + 0x34]
call fcn.00490840
mov esi, dword [esp + 0x38]
mov ebx, 0x10
add esp, 8
cmp dword [esp + 0x44], ebx
jae 0x410c3c
lea esi, [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x20]
mov edx, dword [edi]
push esi
sub eax, ecx
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x1c]
push ebp
push eax
mov eax, dword [esp + 0x28]
push ecx
push edx
push 0xffffffffffffffff
push str.OnRequestSend
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._u__u___s_WSASend_ret_d__size_u:_u__err_u__ovl_p__cost_ums__http.req_s
mov esi, 0x602250
call fcn.00409e30
add esp, 0x2c
mov dword [esp + 0x54], 0xffffffff
cmp dword [esp + 0x44], ebx
jb 0x410c98
mov ecx, dword [esp + 0x30]
push ecx
call fcn.004a3142
add esp, 4
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
cmp dword [esp + 0x14], 0x3e5
je 0x410d9d
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, dword [esp + 0x24]
push str.WSASend__
mov ebx, eax
call fcn.0040fc30
add esp, 4
xor al, al
jmp 0x410d9f
cmp dword [0x603db4], 9
jne 0x410d9d
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], esi
mov byte [esp + 0x30], 0
mov dword [esp + 0x54], 1
mov edi, dword [edi]
cmp edi, 0x800
jbe 0x410d10
mov edi, 0x800
mov edx, dword [ebp + 0x18]
push edi
push edx
lea esi, [esp + 0x34]
call fcn.00490840
mov esi, dword [esp + 0x38]
mov edi, 0x10
add esp, 8
cmp dword [esp + 0x44], edi
jae 0x410d34
lea esi, [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x20]
push esi
sub eax, ecx
mov ecx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x24]
push 0
push eax
push ebx
push str.OnRequestSend
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._u__u___s_WSASend_ret_d__size_u__err_u__cost_ums__http.req_s
mov esi, 0x602250
call fcn.00409e30
add esp, 0x24
mov dword [esp + 0x54], 0xffffffff
cmp dword [esp + 0x44], edi
jb 0x410d88
mov edx, dword [esp + 0x30]
push edx
call fcn.004a3142
add esp, 4
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
mov al, 1
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.004a314d
add esp, 0x44
ret