Function at 0x46b319
Capabilities:
Check http status code

Disassembly:
sub esp, 0xc
mov edx, dword [esp + 0x14]
push ebx
push ebp
push esi
mov esi, ecx
add edx, 0xfffffffc
mov ecx, dword [esp + 0x1c]
push edi
mov eax, dword [esi + 0x980c8]
mov dword [esp + 0x10], ecx
mov dword [esi + 0x980cc], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 4
mov ecx, dword [esi + 0x980cc]
mov eax, dword [esp + 0x10]
shl ecx, 4
mov dword [esp + 0x20], eax
cmp dword [ecx + esi + 0x980dc], 1
jne 0x46b5fa
mov edi, dword [esi + 0x980cc]
mov edx, edi
shl edx, 4
lea ebx, [edx + esi]
call dword [sym.imp.WINMM.dll_timeGetTime]
sub eax, dword [ebx + 0x980d8]
cmp eax, 0x2710
jle 0x46b38f
mov dword [ebx + 0x980dc], 0
jmp 0x46b5fa
mov eax, dword [ebx + 0x980d4]
imul edi, edi, 0xfa
mov ecx, eax
lea edx, [edi + esi + 0x959b6]
shl ecx, 5
sub ecx, eax
push 0x13
push edx
lea eax, [eax + ecx*8]
mov ecx, 0xabe628
lea ebx, [eax + eax*2]
shl ebx, 3
mov ebp, dword [ebx + 0xb215f0]
call fcn.0045bb10
mov edi, eax
mov eax, dword [esi + 0x980cc]
imul eax, eax, 0xfa
push 0x13
add edi, 6
lea ecx, [eax + esi + 0x9462e]
push ecx
mov ecx, 0xabe628
call fcn.0045bb10
lea edi, [edi + eax + 6]
mov eax, dword [esi + 0x980cc]
lea edx, [eax + 0x980e]
shl edx, 4
cmp dword [edx + esi], 0
je 0x46b421
imul eax, eax, 0xfa
push 0x13
mov ecx, 0xabe628
lea eax, [eax + esi + 0x96d3e]
push eax
call fcn.0045bb10
lea edi, [edi + eax + 6]
test ebp, ebp
je 0x46b44d
mov ecx, ebp
shl ecx, 6
add ecx, ebp
lea eax, [ebp + ecx*4]
mov ecx, dword [ebx + 0xb215f4]
shl eax, 2
mov edx, dword [eax + 0x12bc638]
cmp edx, ecx
jne 0x46b44d
cmp word [eax + 0x12bc62c], 2
je 0x46b480
mov eax, dword [0xb08980]
mov edx, dword [0xb08984]
sub eax, edx
cmp eax, 0xc8
jle 0x46b480
push 0x13
push 0x2c
push 0x4c
mov ecx, 0xabe628
call fcn.0045bd60
push eax
mov ecx, 0xabe628
call fcn.0045bb10
lea edi, [edi + eax + 6]
mov eax, dword [esp + 0x14]
push 0x10
mov dword [0x15f7d14], 1
lea ecx, [eax + 0xd]
push ecx
mov ecx, dword [esp + 0x18]
add edi, ecx
add ecx, 0xfffffffb
push edi
push eax
push ecx
mov ecx, 0x15f7d08
call fcn.00459070
mov dword [0x15f7d14], 0
mov eax, dword [esi + 0x980cc]
mov edx, eax
imul eax, eax, 0xfa
shl edx, 4
mov edi, dword [esp + 0x24]
push 0
mov ecx, dword [edx + esi + 0x980d4]
push 0
push 0x13
push 0
mov edx, dword [ecx*4 + 0x5e5e90]
lea eax, [eax + esi + 0x959b6]
mov ecx, dword [edx*4 + 0x590abc]
mov edx, dword [esp + 0x20]
push ecx
push 0
push edi
push edx
push eax
mov ecx, 0xabe628
call fcn.0045b790
test ebp, ebp
je 0x46b52d
mov ecx, ebp
mov eax, dword [ebx + 0xb215f4]
shl ecx, 6
add ecx, ebp
lea ebp, [ebp + ecx*4]
shl ebp, 2
mov edx, dword [ebp + 0x12bc638]
cmp edx, eax
jne 0x46b52d
cmp word [ebp + 0x12bc62c], 2
je 0x46b574
mov eax, dword [0xb08980]
mov edx, dword [0xb08984]
sub eax, edx
cmp eax, 0xc8
jle 0x46b574
mov ecx, dword [esp + 0x10]
push 0
push 1
push 0x13
push 0
push 0xb8eefb
lea ebx, [ecx + 6]
push 0
push edi
push ebx
push 0x2c
push 0x4c
mov ecx, 0xabe628
call fcn.0045bd60
push eax
mov ecx, 0xabe628
call fcn.0045b790
jmp 0x46b578
mov ebx, dword [esp + 0x20]
mov eax, dword [esi + 0x980cc]
push 0
imul eax, eax, 0xfa
push 1
push 0x13
push 0
push 0xb8eefb
push 0
lea edx, [ebx + 6]
push edi
lea ecx, [eax + esi + 0x9462e]
push edx
push ecx
mov ecx, 0xabe628
call fcn.0045b790
mov eax, dword [esi + 0x980cc]
lea edx, [eax + 0x980e]
shl edx, 4
mov ecx, dword [edx + esi]
test ecx, ecx
je 0x46b5fa
mov ecx, dword [ecx*4 + 0x5e5e90]
imul eax, eax, 0xfa
mov edx, dword [ecx*4 + 0x590abc]
mov ecx, dword [esp + 0x24]
push 0
push 1
push 0x13
push 0
push edx
push 0
add ebx, 0xc
push ecx
lea edx, [eax + esi + 0x96d3e]
push ebx
push edx
mov ecx, 0xabe628
call fcn.0045b790
mov eax, dword [esi + 0x980cc]
dec eax
mov dword [esi + 0x980cc], eax
jns 0x46b613
mov dword [esi + 0x980cc], 0x13
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov eax, 0xe
sub edx, eax
sub ecx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], edx
dec eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
jne 0x46b340
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc