Function at 0x4a0330
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4af831
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x4c8
mov eax, dword [0x4d1664]
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x4d8], ecx
push 0
push 0
push 0
push 0
call fcn.0040b480
push eax
call dword [0x4b1624]
mov ecx, dword [ebp - 0x4d8]
mov dword [ecx + 0x298], eax
mov edx, dword [ebp - 0x4d8]
cmp dword [edx + 0x298], 0
jne 0x4a03ae
push 0
push 0x6f10
mov ecx, dword [ebp - 0x4d8]
call fcn.0049f6d0
jmp 0x4a09e1
mov eax, dword [ebp - 0x4d8]
cmp dword [eax + 0x2a4], 0
je 0x4a03d6
push 0
push 0
push 0x8001
mov ecx, dword [ebp - 0x4d8]
call fcn.0040b910
jmp 0x4a09e1
push 0x49f500
mov ecx, dword [ebp - 0x4d8]
mov edx, dword [ecx + 0x298]
push edx
call dword [0x4b165c]
cmp eax, 0xffffffff
jne 0x4a040a
push 0
push 0x6f10
mov ecx, dword [ebp - 0x4d8]
call fcn.0049f6d0
jmp 0x4a09e1
mov eax, dword [ebp - 0x4d8]
cmp dword [eax + 0x2a4], 0
je 0x4a0432
push 0
push 0
push 0x8001
mov ecx, dword [ebp - 0x4d8]
call fcn.0040b910
jmp 0x4a09e1
mov ecx, dword [ebp - 0x4d8]
add ecx, 0x80
call fcn.00404e70
test eax, eax
je 0x4a04c2
mov ecx, dword [ebp - 0x4d8]
push ecx
push 0
mov edx, dword [ebp - 0x4d8]
mov eax, dword [edx + 0x294]
push eax
mov ecx, dword [ebp - 0x4d8]
add ecx, 0x84
call fcn.004097f0
push eax
mov ecx, dword [ebp - 0x4d8]
add ecx, 0x80
call fcn.004097f0
push eax
mov ecx, dword [ebp - 0x4d8]
mov dx, word [ecx + 0x290]
push edx
mov ecx, dword [ebp - 0x4d8]
add ecx, 0x284
call fcn.004097f0
push eax
mov eax, dword [ebp - 0x4d8]
mov ecx, dword [eax + 0x298]
push ecx
call dword [0x4b1620]
mov edx, dword [ebp - 0x4d8]
mov dword [edx + 0x29c], eax
jmp 0x4a051b
mov eax, dword [ebp - 0x4d8]
push eax
push 0
mov ecx, dword [ebp - 0x4d8]
mov edx, dword [ecx + 0x294]
push edx
push 0
push 0
mov eax, dword [ebp - 0x4d8]
mov cx, word [eax + 0x290]
push ecx
mov ecx, dword [ebp - 0x4d8]
add ecx, 0x284
call fcn.004097f0
push eax
mov edx, dword [ebp - 0x4d8]
mov eax, dword [edx + 0x298]
push eax
call dword [0x4b1620]
mov ecx, dword [ebp - 0x4d8]
mov dword [ecx + 0x29c], eax
mov edx, dword [ebp - 0x4d8]
cmp dword [edx + 0x29c], 0
jne 0x4a0541
push 0
push 0x6f11
mov ecx, dword [ebp - 0x4d8]
call fcn.0049f6d0
jmp 0x4a09e1
mov eax, dword [ebp - 0x4d8]
cmp dword [eax + 0x2a4], 0
je 0x4a0569
push 0
push 0
push 0x8001
mov ecx, dword [ebp - 0x4d8]
call fcn.0040b910
jmp 0x4a09e1
mov ecx, dword [ebp - 0x4d8]
call fcn.0049f270
mov dword [ebp - 0x458], 0x4bc0e0
mov dword [ebp - 0x454], 0
mov ecx, dword [ebp - 0x4d8]
push ecx
push 0x84400000
lea edx, [ebp - 0x458]
push edx
push 0
push 0
mov ecx, dword [ebp - 0x4d8]
add ecx, 0x288
call fcn.004097f0
push eax
push 0
mov eax, dword [ebp - 0x4d8]
mov ecx, dword [eax + 0x29c]
push ecx
call dword [0x4b1618]
mov edx, dword [ebp - 0x4d8]
mov dword [edx + 0x2a0], eax
mov eax, dword [ebp - 0x4d8]
cmp dword [eax + 0x2a0], 0
jne 0x4a05f8
push 0
push 0x6f11
mov ecx, dword [ebp - 0x4d8]
call fcn.0049f6d0
jmp 0x4a09e1
mov ecx, dword [ebp - 0x4d8]
cmp dword [ecx + 0x2a4], 0
je 0x4a0620
push 0
push 0
push 0x8001
mov ecx, dword [ebp - 0x4d8]
call fcn.0040b910
jmp 0x4a09e1
push 0
push 0
push 0
push 0
mov edx, dword [ebp - 0x4d8]
mov eax, dword [edx + 0x2a0]
push eax
call dword [0x4b1614]
mov dword [ebp - 0x460], eax
cmp dword [ebp - 0x460], 0
jne 0x4a0661
push 0
push 0x6f11
mov ecx, dword [ebp - 0x4d8]
call fcn.0049f6d0
jmp 0x4a09e1
mov dword [ebp - 0x4c], 0x20
push 0
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x488]
push edx
push 0x13
mov eax, dword [ebp - 0x4d8]
mov ecx, dword [eax + 0x2a0]
push ecx
call dword [0x4b1610]
test eax, eax
jne 0x4a06a8
push 0x6f12
mov ecx, dword [ebp - 0x4d8]
call fcn.0049f6a0
jmp 0x4a09e1
lea edx, [ebp - 0x488]
push edx
call fcn.00485ad1
add esp, 4
mov dword [ebp - 0x490], eax
cmp dword [ebp - 0x490], 0x197
je 0x4a06d5
cmp dword [ebp - 0x490], 0x191
jne 0x4a0737
lea eax, [ebp - 0x4c8]
push eax
push 0x32
lea ecx, [ebp - 0x4c4]
push ecx
mov edx, dword [ebp - 0x4d8]
mov eax, dword [edx + 0x2a0]
push eax
call dword [0x4b1664]
cmp dword [ebp - 0x4c8], 0
jne 0x4a06d5
push 0
push 7
push 0x2eee
mov ecx, dword [ebp - 0x4d8]
mov edx, dword [ecx + 0x2a0]
push edx
mov ecx, dword [ebp - 0x4d8]
call fcn.0040a510
push eax
call dword [0x4b1628]
cmp eax, 0x2f00
jne 0x4a0735
jmp 0x4a0620
jmp 0x4a075f
cmp dword [ebp - 0x490], 0xc8
je 0x4a075f
mov eax, dword [ebp - 0x490]
push eax
push 0x6f13
mov ecx, dword [ebp - 0x4d8]
call fcn.0049f6d0
jmp 0x4a09e1
push 0x6f08
mov ecx, dword [ebp - 0x4d8]
call fcn.0049f940
mov dword [ebp - 0x4c], 0x20
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x48], 0
push 0
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x40]
push edx
push 5
mov eax, dword [ebp - 0x4d8]
mov ecx, dword [eax + 0x2a0]
push ecx
call dword [0x4b1610]
test eax, eax
je 0x4a07cc
mov dword [ebp - 0x48], 1
lea edx, [ebp - 0x40]
push edx
call fcn.00485ad1
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x4d8]
call fcn.0049f2c0
push 0x6f16
mov ecx, dword [ebp - 0x4d8]
call fcn.0049f940
call dword [0x4b12e0]
mov dword [ebp - 0x464], eax
mov ecx, dword [ebp - 0x464]
mov dword [ebp - 0x45c], ecx
mov dword [ebp - 0x48c], 0
mov dword [ebp - 0x18], 0x400
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x468], 0
mov dword [ebp - 0x44], 0
lea edx, [ebp - 0x48c]
push edx
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x450]
push ecx
mov edx, dword [ebp - 0x4d8]
mov eax, dword [edx + 0x2a0]
push eax
call dword [0x4b1664]
test eax, eax
jne 0x4a0862
push 0
push 0x6f14
mov ecx, dword [ebp - 0x4d8]
call fcn.0049f6d0
jmp 0x4a09e1
cmp dword [ebp - 0x48c], 0
je 0x4a0970
mov ecx, dword [ebp - 0x4d8]
cmp dword [ecx + 0x2a4], 0
jne 0x4a0970
lea ecx, [ebp - 0x4d0]
call fcn.0046403a
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x48c]
push edx
lea eax, [ebp - 0x450]
push eax
mov ecx, dword [ebp - 0x4d8]
add ecx, 0x2ac
mov edx, dword [ebp - 0x4d8]
mov eax, dword [edx + 0x2ac]
mov edx, dword [eax + 0x38]
call edx
jmp 0x4a0902
mov dword [ebp - 4], 0
jmp 0x4a0922
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4d0]
call fcn.0040b470
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x48c]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x48]
push edx
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x468]
push ecx
mov edx, dword [ebp - 0x14]
push edx
lea eax, [ebp - 0x45c]
push eax
mov ecx, dword [ebp - 0x464]
push ecx
mov ecx, dword [ebp - 0x4d8]
call fcn.0049ff50
cmp dword [ebp - 0x48c], 0
je 0x4a098c
mov edx, dword [ebp - 0x4d8]
cmp dword [edx + 0x2a4], 0
je 0x4a081d
mov ecx, dword [ebp - 0x4d8]
add ecx, 0x2ac
mov eax, dword [ebp - 0x4d8]
mov edx, dword [eax + 0x2ac]
mov eax, dword [edx + 0x4c]
call eax
mov ecx, dword [ebp - 0x4d8]
cmp dword [ecx + 0x2a4], 0
je 0x4a09cd
mov ecx, dword [ebp - 0x4d8]
add ecx, 0x78
call fcn.004097f0
push eax
call dword [0x4b12d8]
push 0
push 0
push 0x8001
mov ecx, dword [ebp - 0x4d8]
call fcn.0040b910
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.004826ff
mov esp, ebp
pop ebp
ret