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

Disassembly:
push ebp
lea ebp, [esp - 0x2020]
mov eax, 0x2020
call fcn.10013480
push 0xffffffffffffffff
push 0x1002a588
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10035204]
xor eax, ebp
mov dword [ebp + 0x201c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], 0x1002c000
cmp dword [esi + 0x128], edi
je 0x1000c3cd
mov dword [ebp - 0x2c], str.POST
mov eax, dword [0x10036514]
mov edx, dword [eax + 0xc]
mov ecx, 0x10036514
call edx
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
mov dword [ebp + 0x18], 0xf
mov dword [ebp + 0x14], edi
mov byte [ebp + 4], 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp]
push ecx
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.10009a80
mov edx, dword [esi + 0x574]
sub edx, dword [esi + 0x570]
lea ebx, [esi + 0x564]
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
test edx, 0xfffffffc
jle 0x1000c4fa
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
sar eax, 2
cmp dword [ebp - 0x20], eax
jb 0x1000c447
call fcn.10013e0d
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebp - 0x20]
lea edi, [ecx + edx*4]
push 0xa
lea eax, [ebp - 0x28]
push eax
mov ecx, edi
call fcn.100055c0
mov eax, dword [eax]
push str.User_Agent
push eax
call fcn.10013a6e
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x28]
sete byte [ebp - 0x11]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000c496
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0x11], 0
je 0x1000c4a3
mov dword [ebp - 0x18], 1
xor eax, eax
cmp dword [ebp - 0x1c], eax
setne al
test eax, eax
je 0x1000c655
mov ecx, dword [ebp - 0x1c]
mov edi, dword [edi]
push ecx
push edi
call fcn.10014b82
add esp, 8
test eax, eax
sete al
test al, al
je 0x1000c4db
mov edx, dword [ebp - 0x1c]
cmp dword [edx - 0xc], 0
je 0x1000c4db
mov dword [ebp - 0x24], 1
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
mov eax, dword [ebp - 0x20]
inc eax
sar ecx, 2
cmp eax, ecx
mov dword [ebp - 0x20], eax
jl 0x1000c434
xor edi, edi
cmp dword [ebp - 0x18], edi
jne 0x1000c539
push str.User_Agent:_Mozilla_4.0__compatible__MSIE_7.0__Windows_NT_5.1__.NET_CLR_2.0.50727_
lea ecx, [ebp - 0x18]
call fcn.10006400
lea edx, [ebp - 0x18]
push edx
mov ecx, ebx
mov byte [ebp - 4], 5
call fcn.10006c10
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000c539
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esi + 0x55c], edi
je 0x1000c580
push str.Accept_Encoding:_gzip
lea ecx, [ebp - 0x18]
call fcn.10006400
lea ecx, [ebp - 0x18]
push ecx
mov ecx, ebx
mov byte [ebp - 4], 6
call fcn.10006c10
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1000c580
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx - 0xc], edi
je 0x1000c598
cmp dword [ebp - 0x24], edi
jne 0x1000c598
lea edx, [ebp - 0x1c]
push edx
mov ecx, ebx
call fcn.10006c10
cmp dword [esi + 8], edi
jne 0x1000c5aa
push 0x10035060
call fcn.10004760
add esp, 4
mov dword [ebp - 0x24], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x560], eax
lea esp, [esp]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, esi
mov dword [ebp - 0x18], eax
call fcn.100095a0
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 4]
mov ebx, 0x10
mov dword [esi + 0x140], eax
cmp dword [ebp + 0x18], ebx
jae 0x1000c5e9
lea ecx, [ebp + 4]
push eax
mov eax, dword [ebp - 0x2c]
push ecx
push eax
mov ecx, esi
call fcn.1000edb0
mov byte [ebp - 0x11], al
test al, al
je 0x1000c60d
cmp dword [esi + 0xbc], 0x12c
jb 0x1000c60d
mov byte [ebp - 0x11], 0
mov ecx, dword [esi + 0xd4]
push ecx
push esi
push str.__u__Request_r_n_s
push 0x100364d8
call fcn.10007c70
add esp, 0x10
mov ecx, esi
call fcn.10008280
cmp dword [esi + 0xcc], 0
je 0x1000c668
push 1
lea edi, [esi + 0x5a4]
push 0x1002bf64
mov ecx, edi
call fcn.10008c60
cmp dword [edi + 0x18], ebx
jb 0x1000c65f
mov edi, dword [edi + 4]
jmp 0x1000c662
push 0x80004005
call fcn.100030b0
add edi, 4
mov dword [esi + 0xc4], edi
mov edi, dword [esi + 0xc0]
test edi, edi
je 0x1000c7bd
push 0xfff
lea edx, [ebp + 0x101d]
push 0
push edx
mov byte [ebp + 0x101c], 0
call fcn.10012850
add esp, 0xc
cmp edi, 0xc351
jne 0x1000c6c0
mov eax, dword [str.user_cancel]
mov ecx, dword [0x1002bf5c]
mov edx, dword [0x1002bf60]
mov dword [ebp + 0x101c], eax
mov dword [ebp + 0x1020], ecx
mov dword [ebp + 0x1024], edx
jmp 0x1000c731
cmp edi, 0xc352
jne 0x1000c6e1
mov eax, dword [str.timeout]
mov ecx, dword [0x1002be0c]
mov dword [ebp + 0x101c], eax
mov dword [ebp + 0x1020], ecx
jmp 0x1000c731
cmp edi, 0xc353
jne 0x1000c71c
mov edx, dword [0x1002bf4c]
mov eax, dword [0x1002bf50]
mov cx, word [0x1002bf54]
mov dword [ebp + 0x101c], edx
mov dl, byte [0x1002bf56]
mov dword [ebp + 0x1020], eax
mov word [ebp + 0x1024], cx
mov byte [ebp + 0x1026], dl
jmp 0x1000c731
push 0xfff
lea eax, [ebp + 0x101c]
push eax
push edi
call fcn.10007f80
add esp, 0xc
mov ebx, dword [esi + 0xd8]
mov eax, ebx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000c740
sub eax, edx
mov edx, eax
mov eax, dword [esi + 0xd4]
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000c754
fild dword [esi + 0xdc]
lea ecx, [esi + 0xe4]
push ebx
push ecx
mov ecx, dword [esi + 0xdc]
sub eax, edi
test ecx, ecx
jge 0x1000c77b
fadd dword [0x1002bf48]
fdiv qword [0x1002bf40]
mov ecx, dword [esi + 0xcc]
sub esp, 8
fstp qword [esp]
push ecx
mov ecx, dword [esi + 0xc0]
push edx
mov edx, dword [esi + 0xbc]
push eax
push edx
lea eax, [ebp + 0x101c]
push eax
push ecx
push esi
push str.__u__Response_Error._NetErr:_d__s__HttpCode:_d_HdrSnd:_d_HdrRcv:_d_Data:_d_Time:_.2f_ip:_s_r_n_s
push 0x100364d8
call fcn.10007c70
add esp, 0x34
jmp 0x1000c83d
mov ebx, dword [esi + 0xd8]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000c7c8
sub eax, edx
mov edx, eax
mov eax, dword [esi + 0xd4]
lea edi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000c7e0
fild dword [esi + 0xdc]
push ebx
lea ecx, [esi + 0xe4]
push ecx
mov ecx, dword [esi + 0xe0]
push ecx
mov ecx, dword [esi + 0xdc]
sub eax, edi
test ecx, ecx
jge 0x1000c80e
fadd dword [0x1002bf48]
fdiv qword [0x1002bf40]
mov ecx, dword [esi + 0xcc]
sub esp, 8
fstp qword [esp]
push ecx
push edx
mov edx, dword [esi + 0xbc]
push eax
push edx
push esi
push str.__u__Response_OK._HTTP:_d_HdrSnd:_d_HdrRcv:_d_Data:_d_Time:_.2f_Spd:_dK_s_ip:_s_r_n_s
push 0x100364d8
call fcn.10007c70
add esp, 0x30
cmp dword [esi + 0xbc], 0x197
jne 0x1000c858
mov ecx, esi
call fcn.10009640
test eax, eax
jne 0x1000c5c0
mov eax, dword [esi + 0xbc]
cmp eax, 0x12e
je 0x1000c870
cmp eax, 0x12d
jne 0x1000c9a6
cmp dword [esi + 0x550], 0
jne 0x1000c9a6
cmp dword [esi + 0x554], 1
jne 0x1000c9a6
lea ecx, [ebp]
call fcn.10008980
push 0xfff
lea eax, [ebp + 0x1d]
push 0
push eax
mov dword [ebp - 0x2c], 0x1002c000
mov byte [ebp + 0x1c], 0
call fcn.10012850
mov edx, dword [esi]
mov edx, dword [edx + 0x3c]
add esp, 0xc
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp + 0x1c]
push ecx
push str.Location
mov ecx, esi
mov dword [ebp - 0x28], 0xfff
call edx
push ecx
lea eax, [ebp + 0x1c]
mov ecx, esp
mov dword [ebp - 0x30], esp
push eax
call fcn.10006400
push ecx
lea edi, [esi + 0x45c0]
mov ecx, esp
mov dword [ebp - 0x34], esp
push edi
mov byte [ebp - 4], 7
call fcn.10006400
lea ecx, [ebp - 0x20]
push ecx
mov byte [ebp - 4], 1
call fcn.10009ff0
mov edx, dword [ebp - 0x20]
push 0x7ff
push edx
push edi
mov byte [ebp - 4], 8
call fcn.10014ba0
push edi
lea eax, [ebp + 0x1c]
push eax
push esi
push str.__u__redirect_mode_1__to__s_r_n_full_url:__r_n
push 0x100364d8
call fcn.10007c70
add esp, 0x2c
cmp dword [esi + 0x538], 0
je 0x1000c961
push esi
push str.__u__callback
push 0x100364d8
call fcn.10007c70
mov eax, dword [esi + 0x538]
add esp, 0xc
test eax, eax
je 0x1000c961
mov ecx, dword [eax]
lea edx, [esi + 0xb4]
push edx
push esi
push eax
mov eax, dword [ecx]
call eax
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
or edx, 0xffffffff
cmp byte [ebp + 0x1c], 0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
je 0x1000c993
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000c5c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x1000c5c0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000c9a6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x24]
cmp edi, dword [esi + 0x544]
jae 0x1000ca41
cmp byte [ebp - 0x11], 0
jne 0x1000ca41
mov eax, dword [esi + 0xbc]
cmp eax, 0x194
je 0x1000ca41
cmp eax, 0x202
je 0x1000ca41
cmp dword [esi + 0xc0], 0xc351
je 0x1000ca41
inc dword [esi + 0x138]
inc edi
cmp dword [esi + 0x538], 0
mov dword [ebp - 0x24], edi
je 0x1000ca1e
push esi
push str.__u__callback
push 0x100364d8
call fcn.10007c70
mov eax, dword [esi + 0x538]
add esp, 0xc
test eax, eax
je 0x1000ca1e
mov ecx, dword [eax]
lea edx, [esi + 0xb4]
push edx
push esi
push eax
mov eax, dword [ecx]
call eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x18]
mov ecx, esi
push eax
push edi
call fcn.100083b0
test eax, eax
je 0x1000ca41
push edi
mov ecx, esi
call fcn.1000bda0
jmp 0x1000c5c0
mov ecx, dword [esi + 0x59c]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1000ca6a
mov dword [esi + 0xc0], 0xc351
mov dword [esi + 0xb8], 3
jmp 0x1000ca7b
xor edx, edx
cmp byte [ebp - 0x11], dl
sete dl
add edx, 2
mov dword [esi + 0xb8], edx
cmp dword [esi + 0x538], 0
je 0x1000cab0
push esi
push str.__u__callback
push 0x100364d8
call fcn.10007c70
mov eax, dword [esi + 0x538]
add esp, 0xc
test eax, eax
je 0x1000cab0
mov ecx, dword [eax]
lea edx, [esi + 0xb4]
push edx
push esi
push eax
mov eax, dword [ecx]
call eax
cmp dword [ebp + 0x18], 0x10
jb 0x1000cac2
mov ecx, dword [ebp + 4]
push ecx
call fcn.10012756
add esp, 4
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov dword [ebp + 0x18], 0xf
mov dword [ebp + 0x14], 0
mov byte [ebp + 4], 0
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1000cb39
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x1000cb39
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x201c]
xor ecx, ebp
call fcn.10012840
add ebp, 0x2020
mov esp, ebp
pop ebp
ret