Function at 0x4e36e3
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0x8c
mov eax, 0x5be08c
call fcn.00518baf
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x34], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [ebp + 0x18], ebx
jbe 0x4e3715
add eax, dword [ebp + 0x18]
jmp 0x4e371a
add eax, 0x7530
cmp edi, ebx
mov dword [ebp - 0x48], eax
je 0x4e3723
mov dword [edi], ebx
mov ecx, esi
call fcn.00432f85
cmp dword [esi + 0x158], 3
mov ecx, dword [ebp + 0xc]
lea edi, [eax + ecx + 0x46]
jne 0x4e3740
add edi, 0x1c2
push edi
mov ecx, 0x6ed7a8
call fcn.004c1a91
mov eax, edi
cdq
lea ecx, [esi + 0x358]
add dword [ecx], eax
mov eax, dword [esi + 0x158]
adc dword [ecx + 4], edx
cmp eax, 7
jne 0x4e376a
mov eax, dword [esi + 0x15c]
cmp eax, 3
jl 0x4e3ed1
cmp eax, 4
jle 0x4e3eb6
cmp eax, 6
jle 0x4e394c
cmp eax, 8
jne 0x4e3ed1
push 1
mov edi, 0x65c11c
lea ecx, [esi + 0x1a8]
push edi
call fcn.0049fa73
test eax, eax
lea ecx, [esi + 0x1a8]
jle 0x4e37b8
push 0x65c0f8
push edi
call fcn.0049f325
jmp 0x4e37c3
push ebx
push str.Connection:_close_r_n
call fcn.0049f4eb
push 6
push str._HTML_
push dword [ebp - 0x40]
call fcn.00514a15
add esp, 0xc
test eax, eax
je 0x4e37ef
push 6
push str._html_
push dword [ebp - 0x40]
call fcn.00514a15
add esp, 0xc
test eax, eax
jne 0x4e3824
push 1
mov edi, str.Content_Type:_application_octet_stream
push edi
lea ecx, [esi + 0x1a8]
call fcn.0049fa73
test eax, eax
lea ecx, [esi + 0x1a8]
jle 0x4e3819
push str.Content_Type:_text_html
push edi
call fcn.0049f325
jmp 0x4e3824
push ebx
push str.Content_Type:_text_html_r_n
call fcn.0049f4eb
mov eax, dword [esi + 0x1ac]
mov ecx, dword [ebp + 0xc]
lea eax, [eax + ecx + 0x1e]
push eax
call fcn.004f3ce5
sub esp, 0x20
mov edi, eax
lea eax, [esi + 0x1a8]
mov ecx, esp
mov dword [ebp - 0x3c], esp
push eax
mov byte [edi], bl
call fcn.0049ebd8
mov dword [ebp - 4], 6
lea eax, [ebp - 0x7c]
push eax
or dword [ebp - 4], 0xffffffff
call fcn.004a05c6
add esp, 0x28
mov dword [ebp - 4], 7
cmp dword [eax + 0x18], 0x10
jb 0x4e3878
mov eax, dword [eax + 4]
jmp 0x4e387b
add eax, 4
push eax
push edi
call fcn.005182e0
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x7c]
call fcn.00410560
push dword [ebp + 0xc]
lea eax, [ebp - 0x30]
push str.Content_length:__d_r_n_r_n
push eax
mov byte [ebp - 0x30], bl
call fcn.005122e0
lea eax, [ebp - 0x30]
push eax
push edi
call fcn.005182e0
push edi
call fcn.00518240
push dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
push dword [ebp - 0x40]
add eax, edi
push eax
call fcn.005167a0
add esp, 0x24
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x48]
sub ecx, eax
push ecx
push dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
push dword [esi + 0x160]
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x3c]
add eax, ecx
push eax
push edi
mov ecx, esi
call fcn.004de92a
cmp eax, ebx
mov dword [ebp - 0x34], eax
je 0x4e3926
push esi
push ebx
sub esp, 0x24
mov ecx, esp
mov dword [ebp - 0x3c], esp
push ebx
push str._NC.Send.WriteJava.Failed
call fcn.0049eefc
mov dword [ebp - 4], 8
or dword [ebp - 4], 0xffffffff
mov ecx, 0x6ed730
call fcn.004b4cba
push edi
call fcn.00511c38
cmp dword [ebp - 0x44], ebx
pop ecx
je 0x4e3f1e
cmp dword [ebp - 0x34], ebx
jne 0x4e3f1e
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x44]
mov dword [ecx], eax
jmp 0x4e3f1e
mov al, byte [esi + 0x264]
cmp al, bl
je 0x4e3991
cmp dword [ebp + 0xc], ebx
jne 0x4e3962
xor eax, eax
jmp 0x4e3f2d
cmp al, bl
je 0x4e3991
cmp byte [esi + 0x248], bl
jne 0x4e3991
mov ecx, esi
call fcn.004e2511
push 0x3e8
mov ecx, esi
call fcn.004e2d03
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [esi + 0x264], bl
jne 0x4e3966
lea eax, [esi + 0x140]
push eax
lea ecx, [ebp - 0x50]
call fcn.00411378
mov dword [ebp - 4], ebx
mov ecx, esi
mov byte [esi + 0x264], 1
call fcn.00432f85
add eax, dword [ebp + 0xc]
jne 0x4e39d6
mov byte [esi + 0x264], bl
or dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x4c], bl
je 0x4e3f1e
mov ecx, dword [ebp - 0x50]
call fcn.0040dc30
jmp 0x4e3f1e
cmp byte [ebp + 0x1c], bl
mov edi, dword [ebp - 0x48]
mov byte [ebp - 0x35], bl
je 0x4e3a40
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov ecx, esi
add edi, 0x7d0
call fcn.00432f85
test eax, eax
jbe 0x4e3a40
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
add edi, 0x64
jmp 0x4e3a40
cmp byte [esi + 0x248], bl
jne 0x4e3a48
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, edi
jae 0x4e3a48
mov ecx, esi
call fcn.004e2511
push 0x3e8
mov ecx, esi
call fcn.004e2d03
cmp byte [esi + 0x188], bl
jne 0x4e3a3c
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [ebp - 0x35], 1
cmp byte [esi + 0x188], bl
je 0x4e3a07
cmp byte [ebp + 0x1c], bl
je 0x4e3a8c
cmp byte [esi + 0x188], bl
jne 0x4e3a8c
cmp byte [esi + 0x248], bl
jne 0x4e3a94
push ebx
push ebx
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp - 0x40]
call fcn.004cdac3
mov byte [esi + 0x264], bl
or dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x4c], bl
je 0x4e395b
mov ecx, dword [ebp - 0x50]
call fcn.0040dc30
jmp 0x4e395b
cmp byte [esi + 0x248], bl
je 0x4e3ab8
cmp dword [ebp + 0xc], ebx
jbe 0x4e3ab8
mov byte [esi + 0x264], bl
or dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x4c], bl
je 0x4e3ab0
mov ecx, dword [ebp - 0x50]
call fcn.0040dc30
or eax, 0xffffffff
jmp 0x4e3f2d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [ebp - 0x48]
jb 0x4e3b29
push esi
push ebx
sub esp, 0x24
mov ecx, esp
mov dword [ebp - 0x3c], esp
push ebx
push str._NC.Send.Timeout
call fcn.0049eefc
mov byte [ebp - 4], 1
mov byte [ebp - 4], bl
mov ecx, 0x6ed730
call fcn.004b4cba
sub esp, 0x24
mov ecx, esp
mov dword [ebp - 0x3c], esp
push ebx
push str.SendData.GETWaitingTimeout
call fcn.0049eefc
mov byte [ebp - 4], 2
mov byte [ebp - 4], bl
mov ecx, esi
call fcn.004de02a
mov byte [esi + 0x264], bl
or dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x4c], bl
je 0x4e3b21
mov ecx, dword [ebp - 0x50]
call fcn.0040dc30
xor eax, eax
inc eax
jmp 0x4e3f2d
cmp dword [esi + 0x18c], ebx
mov dword [ebp - 0x34], ebx
jne 0x4e3cfd
cmp byte [esi + 0x248], bl
je 0x4e3b48
mov dword [esi + 8], ebx
mov dword [ebp + 0xc], ebx
jmp 0x4e3b69
cmp dword [esi + 0x158], 5
jne 0x4e3b5d
mov ecx, esi
call fcn.00432f85
add eax, dword [ebp + 0xc]
jmp 0x4e3b63
mov eax, dword [esi + 0x290]
mov dword [esi + 0x18c], eax
cmp byte [ebp + 0x14], bl
je 0x4e3ba3
push 1
mov edi, 0x65c11c
lea ecx, [esi + 0x1a8]
push edi
call fcn.0049fa73
test eax, eax
lea ecx, [esi + 0x1a8]
jle 0x4e3b98
push 0x65c0f8
push edi
call fcn.0049f325
jmp 0x4e3ba3
push ebx
push str.Connection:_close_r_n
call fcn.0049f4eb
cmp byte [ebp - 0x35], bl
je 0x4e3bce
cmp dword [esi + 0x18c], 0x1388
jb 0x4e3bce
cmp dword [esi + 0x158], 5
jne 0x4e3bce
push ebx
push str.X_Measure:_1_r_n
lea ecx, [esi + 0x1a8]
call fcn.0049f4eb
mov edi, dword [esi + 0x1ac]
mov ecx, esi
call fcn.00432f85
mov ecx, dword [ebp + 0xc]
add eax, edi
lea eax, [eax + ecx + 0x1e]
push eax
call fcn.004f3ce5
mov edi, eax
sub esp, 0x20
lea eax, [esi + 0x1a8]
mov ecx, esp
mov dword [ebp - 0x3c], esp
push eax
mov dword [ebp - 0x5c], edi
mov byte [edi], bl
call fcn.0049ebd8
mov byte [ebp - 4], 3
lea eax, [ebp - 0x98]
push eax
mov byte [ebp - 4], bl
call fcn.004a05c6
add esp, 0x28
mov byte [ebp - 4], 4
cmp dword [eax + 0x18], 0x10
jb 0x4e3c2a
mov eax, dword [eax + 4]
jmp 0x4e3c2d
add eax, 4
push eax
push edi
call fcn.005182e0
pop ecx
pop ecx
mov byte [ebp - 4], bl
push ebx
push 1
lea ecx, [ebp - 0x98]
call fcn.00410560
push dword [esi + 0x18c]
lea eax, [ebp - 0x30]
push str.Content_length:__d_r_n_r_n
push eax
mov byte [ebp - 0x30], bl
call fcn.005122e0
lea eax, [ebp - 0x30]
push eax
push edi
call fcn.005182e0
push edi
call fcn.00518240
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x1a0]
add esp, 0x18
cmp eax, ebx
je 0x4e3c85
push eax
call fcn.00511c38
pop ecx
mov ecx, esi
call fcn.00432f85
add eax, dword [ebp - 0x34]
mov ecx, dword [ebp + 0xc]
add eax, ecx
push eax
mov dword [esi + 0x1a4], eax
call fcn.004f3ce5
push dword [ebp - 0x34]
mov dword [esi + 0x1a0], eax
push edi
push eax
call fcn.005167a0
add esp, 0x10
mov ecx, esi
call fcn.00432f85
test eax, eax
jbe 0x4e3cd7
mov ecx, esi
call fcn.00432f85
push eax
mov eax, dword [esi + 0x1a0]
add eax, dword [ebp - 0x34]
mov ecx, esi
push eax
call fcn.004cdcf7
cmp dword [ebp + 0xc], ebx
jbe 0x4e3d13
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp - 0x40]
call fcn.00432f85
add eax, dword [ebp - 0x34]
add eax, dword [esi + 0x1a0]
push eax
call fcn.005167a0
add esp, 0xc
jmp 0x4e3d13
mov ecx, esi
call fcn.00432f85
add eax, dword [ebp + 0xc]
push eax
call fcn.004f3ce5
pop ecx
mov edi, eax
mov dword [ebp - 0x5c], eax
mov ecx, esi
call fcn.00432f85
cmp eax, ebx
mov dword [ebp - 0x54], eax
jle 0x4e3d2f
push eax
mov eax, dword [ebp - 0x34]
add eax, edi
push eax
mov ecx, esi
call fcn.004cdc83
cmp dword [ebp + 0xc], ebx
jbe 0x4e3d4b
push dword [ebp + 0xc]
mov eax, dword [ebp - 0x54]
push dword [ebp - 0x40]
add eax, edi
add eax, dword [ebp - 0x34]
push eax
call fcn.005167a0
add esp, 0xc
mov eax, dword [esi + 0x160]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x54]
lea edi, [eax + ecx]
mov eax, dword [esi + 0x18c]
cmp edi, eax
mov dword [ebp - 0x3c], edi
jbe 0x4e3d6c
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x48]
sub ecx, eax
push ecx
push dword [ebp + 0x14]
lea eax, [ebp - 0x34]
push dword [esi + 0x160]
mov ecx, esi
push eax
mov eax, dword [ebp - 0x34]
add eax, edi
push eax
push dword [ebp - 0x5c]
call fcn.004de92a
cmp eax, ebx
mov dword [ebp - 0x34], eax
je 0x4e3dce
push esi
push ebx
sub esp, 0x24
mov ecx, esp
mov dword [ebp - 0x60], esp
push ebx
push str._NC.Send.Write.Failed
call fcn.0049eefc
mov byte [ebp - 4], 5
mov byte [ebp - 4], bl
mov ecx, 0x6ed730
call fcn.004b4cba
cmp dword [esi + 0x158], 5
jne 0x4e3dce
mov dword [ebp - 0x34], ebx
push dword [ebp - 0x5c]
sub dword [esi + 0x18c], edi
call fcn.00511c38
cmp dword [esi + 0x18c], ebx
pop ecx
jne 0x4e3e47
mov ecx, dword [ebp - 0x58]
cmp dword [esi + 0x160], ecx
mov byte [esi + 0x188], bl
jne 0x4e3dfd
or dword [esi + 0x160], 0xffffffff
lea eax, [esi + 0x164]
cmp dword [eax], ecx
jne 0x4e3e0a
or dword [eax], 0xffffffff
cmp byte [ebp + 0x14], bl
je 0x4e3e22
cmp dword [esi + 0x158], 6
jne 0x4e3e22
push ecx
mov ecx, esi
call fcn.004de066
jmp 0x4e3e47
push 1
push 0x65c0f8
lea ecx, [esi + 0x1a8]
call fcn.0049fa73
test eax, eax
mov ecx, esi
jle 0x4e3e3e
push 1
jmp 0x4e3e3f
push ebx
push dword [ebp - 0x58]
call fcn.004e242d
mov eax, dword [ebp - 0x44]
cmp eax, ebx
je 0x4e3e5f
cmp dword [ebp - 0x34], ebx
jne 0x4e3e5f
cmp dword [ebp - 0x3c], edi
jne 0x4e3e62
mov dword [eax], edi
jmp 0x4e39b6
cmp dword [ebp - 0x3c], edi
jbe 0x4e39b6
cmp dword [ebp - 0x34], ebx
jne 0x4e39b6
push ebx
mov byte [esi + 0x264], bl
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x48]
sub ecx, eax
mov eax, dword [ebp - 0x54]
push ecx
push dword [ebp + 0x14]
sub eax, edi
add eax, dword [ebp + 0xc]
push dword [ebp - 0x44]
mov ecx, esi
push eax
mov eax, dword [ebp - 0x40]
add eax, edi
push eax
call fcn.004e36e3
cmp dword [ebp - 0x44], ebx
mov dword [ebp - 0x34], eax
je 0x4e39b6
mov eax, dword [ebp - 0x44]
add dword [eax], edi
jmp 0x4e39b6
push dword [ebp + 0x18]
mov ecx, esi
push dword [ebp + 0x14]
push dword [ebp - 0x44]
push dword [ebp + 0xc]
push dword [ebp - 0x40]
call fcn.004dfa9a
mov dword [ebp - 0x34], eax
jmp 0x4e3f1e
push dword [ebp + 0x18]
mov ecx, esi
push dword [ebp + 0x14]
push dword [esi + 0x160]
push dword [ebp - 0x44]
push dword [ebp + 0xc]
push dword [ebp - 0x40]
call fcn.004de92a
cmp eax, ebx
mov dword [ebp - 0x34], eax
je 0x4e3f1e
push esi
push ebx
sub esp, 0x24
mov ecx, esp
mov dword [ebp - 0x60], esp
push ebx
push str._NC.Send.Write.Failed2
call fcn.0049eefc
mov dword [ebp - 4], 9
or dword [ebp - 4], 0xffffffff
mov ecx, 0x6ed730
call fcn.004b4cba
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x24c], eax
mov eax, dword [ebp - 0x34]
call fcn.00518c32
ret 0x18