Function at 0x47ec19
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 + 0xdd7f4]
mov dword [esp + 0x10], ecx
mov dword [esi + 0xdd7f8], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 4
mov ecx, dword [esi + 0xdd7f8]
mov eax, dword [esp + 0x10]
shl ecx, 4
mov dword [esp + 0x20], eax
cmp dword [ecx + esi + 0xdd808], 1
jne 0x47ef27
mov edi, dword [esi + 0xdd7f8]
mov edx, edi
shl edx, 4
lea ebx, [edx + esi]
call dword [sym.imp.WINMM.dll_timeGetTime]
sub eax, dword [ebx + 0xdd804]
cmp eax, 0x2710
jle 0x47ec8f
mov dword [ebx + 0xdd808], 0
jmp 0x47ef27
lea eax, [edi + 0xdd80]
push 0x13
shl eax, 4
mov ecx, dword [eax + esi]
mov eax, ecx
shl eax, 4
add eax, ecx
lea edx, [eax + eax*2]
lea eax, [ecx + edx*2]
lea eax, [eax + eax*8]
lea ebx, [ecx + eax*4]
lea ecx, [edi + edi*2 + 0x2a0f]
shl ebx, 2
lea eax, [edi + ecx*8 + 0xe05]
mov ecx, 0xcbf3b0
mov ebp, dword [ebx + 0xd5f500]
lea edx, [eax + eax*4]
lea eax, [esi + edx*2]
push eax
call fcn.0046ba80
mov edi, eax
mov eax, dword [esi + 0xdd7f8]
add eax, 0xdf1
push 0x13
add edi, 6
lea ecx, [eax + eax*2]
lea eax, [eax + ecx*8]
mov ecx, 0xcbf3b0
lea edx, [eax + eax*4]
lea eax, [esi + edx*2]
push eax
call fcn.0046ba80
lea edi, [edi + eax + 6]
mov eax, dword [esi + 0xdd7f8]
mov ecx, eax
shl ecx, 4
mov edx, dword [ecx + esi + 0xdd80c]
test edx, edx
je 0x47ed40
lea edx, [eax + eax*2 + 0x2a4b]
push 0x13
lea eax, [eax + edx*8 + 0xe19]
lea eax, [eax + eax*4]
lea ecx, [esi + eax*2]
push ecx
mov ecx, 0xcbf3b0
call fcn.0046ba80
lea edi, [edi + eax + 6]
test ebp, ebp
je 0x47ed69
lea edx, [ebp + ebp*8]
lea eax, [ebp + edx*8]
mov edx, dword [ebx + 0xd5f504]
shl eax, 4
mov ecx, dword [eax + 0x177c2d8]
cmp ecx, edx
jne 0x47ed69
cmp word [eax + 0x177c2cc], 2
je 0x47ed9e
mov edx, dword [0xd16aa8]
mov ecx, dword [0xd16aac]
sub edx, ecx
cmp edx, 0xc8
jle 0x47ed9e
push 0x13
push 0x2c
push 0x4c
mov ecx, 0xcbf3b0
call fcn.0046bcd0
push eax
mov ecx, 0xcbf3b0
call fcn.0046ba80
lea edi, [edi + eax + 6]
mov eax, dword [esp + 0x14]
push 0x10
mov dword [0x1d9d604], 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, 0x1d9d5f8
call fcn.00468af0
mov dword [0x1d9d604], 0
mov eax, dword [esi + 0xdd7f8]
mov edi, dword [esp + 0x24]
push 0
lea edx, [eax + 0xdd80]
push 0
shl edx, 4
push 0x13
push 0
mov ecx, dword [edx + esi]
mov edx, dword [ecx*4 + 0x64f224]
mov ecx, dword [edx*4 + 0x5ea914]
mov edx, dword [esp + 0x20]
push ecx
lea ecx, [eax + eax*2 + 0x2a0f]
push 0
push edi
lea eax, [eax + ecx*8 + 0xe05]
push edx
mov ecx, 0xcbf3b0
lea edx, [eax + eax*4]
lea eax, [esi + edx*2]
push eax
call fcn.0046b790
test ebp, ebp
je 0x47ee4f
lea ecx, [ebp + ebp*8]
mov eax, dword [ebx + 0xd5f504]
lea ebp, [ebp + ecx*8]
shl ebp, 4
mov edx, dword [ebp + 0x177c2d8]
cmp edx, eax
jne 0x47ee4f
cmp word [ebp + 0x177c2cc], 2
je 0x47ee96
mov eax, dword [0xd16aa8]
mov edx, dword [0xd16aac]
sub eax, edx
cmp eax, 0xc8
jle 0x47ee96
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, 0xcbf3b0
call fcn.0046bcd0
push eax
mov ecx, 0xcbf3b0
call fcn.0046b790
jmp 0x47ee9a
mov ebx, dword [esp + 0x20]
mov eax, dword [esi + 0xdd7f8]
push 0
add eax, 0xdf1
push 1
push 0x13
push 0
lea ecx, [eax + eax*2]
push 0xb8eefb
push 0
lea edx, [ebx + 6]
lea eax, [eax + ecx*8]
push edi
push edx
mov ecx, 0xcbf3b0
lea edx, [eax + eax*4]
lea eax, [esi + edx*2]
push eax
call fcn.0046b790
mov eax, dword [esi + 0xdd7f8]
mov ecx, eax
shl ecx, 4
mov ecx, dword [ecx + esi + 0xdd80c]
test ecx, ecx
je 0x47ef27
mov edx, dword [ecx*4 + 0x64f224]
push 0
push 1
push 0x13
mov ecx, dword [edx*4 + 0x5ea914]
mov edx, dword [esp + 0x30]
push 0
push ecx
lea ecx, [eax + eax*2 + 0x2a4b]
push 0
push edx
add ebx, 0xc
lea eax, [eax + ecx*8 + 0xe19]
push ebx
mov ecx, 0xcbf3b0
lea edx, [eax + eax*4]
lea eax, [esi + edx*2]
push eax
call fcn.0046b790
mov eax, dword [esi + 0xdd7f8]
dec eax
mov dword [esi + 0xdd7f8], eax
jns 0x47ef40
mov dword [esi + 0xdd7f8], 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 0x47ec40
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc