Function at 0x42cb6d
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x730
push ebx
push esi
mov byte [ebp - 0x48], 0xff
cmp dword [ebp + 0xc], 0x400
jae 0x42cb8f
mov eax, dword [ebp + 0xc]
call fcn.0040be65
jmp 0x42cb91
xor eax, eax
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x58], eax
mov ecx, 0x4b4250
call fcn.00455e44
cdq
mov ecx, 0x30
idiv ecx
mov dword [ebp - 0x2c], eax
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x4c], eax
imul eax, eax, 0x30
mov dword [ebp - 0x14], eax
mov ecx, 0x4b4250
call fcn.00455e6b
cdq
mov ecx, 0x30
idiv ecx
mov dword [ebp - 0x40], eax
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x3c], eax
imul eax, eax, 0x30
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x30]
call fcn.00477adc
cmp al, 0xff
je 0x42cc01
mov ecx, eax
call fcn.004061f9
mov dword [ebp - 8], ecx
call fcn.00418c90
cmp al, 2
je 0x42cc06
jmp 0x42cd45
inc dword [ebp - 0x58]
mov ecx, dword [ebp - 8]
call fcn.00403360
mov edx, dword [eax]
mov dword [ebp - 0x68], edx
movzx ebx, byte [ebp - 0x68]
mov ecx, 0x4b4250
call fcn.00451a93
cdq
mov ecx, 0x30
idiv ecx
sub ebx, eax
mov dword [ebp - 0x64], ebx
movzx ebx, byte [ebp - 0x67]
mov ecx, 0x4b4250
call fcn.00451aa4
cdq
mov ecx, 0x30
idiv ecx
sub ebx, eax
mov dword [ebp - 0x60], ebx
mov eax, dword [ebp - 0x64]
cmp al, 2
jl 0x42cc61
mov ecx, dword [ebp - 0x2c]
sub ecx, 2
cmp eax, ecx
jl 0x42ccbe
cmp al, 2
jge 0x42cc77
inc eax
imul eax, eax, 0x30
add eax, 0x10
mov dword [ebp - 0x50], eax
sub eax, 0x24
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x1c], 3
jmp 0x42cc8f
imul eax, eax, 0x30
mov ecx, eax
sub ecx, 0x1d8
mov dword [ebp - 0x50], ecx
add eax, 0x10
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x1c], 1
mov eax, dword [ebp - 0x60]
mov edx, dword [ebp - 0x3c]
cmp eax, edx
jge 0x42cca1
imul eax, eax, 0x30
add eax, 0x40
jmp 0x42ccaa
inc eax
imul eax, eax, 0x30
sub eax, 0xa0
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x60]
imul edx, edx, 0x30
sub edx, 0x12
mov dword [ebp - 0x5c], edx
jmp 0x42cd5a
imul eax, eax, 0x30
cmp eax, 0xc8
jge 0x42cccd
sub eax, 0x28
jmp 0x42cd01
mov ecx, 0x4b4250
call fcn.00455e44
mov esi, dword [ebp - 0x64]
inc esi
imul esi, esi, 0x30
add esi, 0xc8
cmp esi, eax
jl 0x42ccf6
mov eax, dword [ebp - 0x2c]
dec eax
imul eax, eax, 0x30
sub eax, 0x1b8
jmp 0x42cd01
mov eax, dword [ebp - 0x64]
imul eax, eax, 0x30
sub eax, 0xb8
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x64]
imul ecx, ecx, 0x30
add ecx, 0x10
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x60]
mov edx, dword [ebp - 0x3c]
cmp eax, edx
jge 0x42cd30
inc eax
imul eax, eax, 0x30
add eax, 0x10
mov dword [ebp - 0x54], eax
sub eax, 0x50
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x1c], 0
jmp 0x42cd5a
imul eax, eax, 0x30
sub eax, 0x70
mov dword [ebp - 0x54], eax
add eax, 0x60
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x1c], 2
jmp 0x42cd5a
mov edx, dword [ebp - 0x14]
sub edx, 0xd8
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x20]
sub eax, 0x30
mov dword [ebp - 0x54], eax
mov ecx, 0x4b4250
call fcn.00451a4f
add dword [ebp - 0x50], eax
mov ecx, 0x4b4250
call fcn.00451a60
add dword [ebp - 0x54], eax
mov ecx, 0x4b4250
call fcn.00451a4f
add dword [ebp - 0x44], eax
mov ecx, 0x4b4250
call fcn.00451a60
add dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x10]
and eax, 0x10
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x34], eax
call fcn.0042c557
call fcn.0041e5db
push 4
mov ecx, 0x492f38
call fcn.0040ed36
push 0
mov ecx, 0x492f38
call fcn.0040ecbc
mov ecx, dword [0x4b1b20]
cmp ecx, dword [ebp - 0x30]
je 0x42cde4
xor edx, edx
cmp dword [0x48c818], 0
sete dl
mov dword [0x48c818], edx
mov eax, dword [ebp - 0x30]
mov dword [0x4b1b20], eax
cmp dword [ebp + 0xc], 0
jne 0x42cdf4
mov dword [0x48c818], 1
mov eax, dword [ebp - 0x54]
sub eax, 0x1f
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x50]
mov edx, dword [0x48c818]
test edx, edx
je 0x42ce0f
sub eax, 0x30
jmp 0x42ce14
add eax, 0x160
mov dword [ebp - 0x64], eax
sub dword [ebp - 0x5c], 2
add dword [ebp - 0x44], 5
lea ecx, [ebp - 0x730]
push ecx
push 0x18
push 0x18
push dword [ebp - 0x5c]
push dword [ebp - 0x44]
call fcn.0047e239
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x64]
cmp byte [0x48c818], 0
jne 0x42ce4f
nop
nop
nop
nop
nop
sub ecx, 0x158
push 0x78
push 0x1d0
push eax
push ecx
mov ecx, 0x4b6930
call fcn.0047349c
push 4
call fcn.00401692
cmp dword [ebp - 0x58], 0
je 0x42ce9a
mov eax, dword [ebp - 0x1c]
cmp al, 3
ja 0x42ce9a
mov eax, 0x840
call fcn.004015da
push eax
push 0x18
push 0x18
call fcn.00417324
push eax
push 0x18
push 0x18
push dword [ebp - 0x5c]
push dword [ebp - 0x44]
call fcn.0047e09b
call fcn.0040154a
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x30]
call fcn.0040765c
push 0x4ac538
push 0
push 0xa
push dword [ebp - 4]
push eax
call fcn.004789d6
push eax
push 0x78
push 0x78
push dword [ebp - 0x60]
push dword [ebp - 0x64]
call fcn.0047e09b
call fcn.00401521
mov ecx, dword [0x48c818]
imul ecx, ecx, 0x152a0
add eax, ecx
mov ecx, dword [ebp - 0x64]
cmp byte [0x48c818], 0
je 0x42cef0
add ecx, 0x78
jmp 0x42cef6
sub ecx, 0x158
push eax
mov eax, dword [ebp - 0x60]
add eax, 0x18
push eax
push ecx
call fcn.0046937d
mov dword [ebp - 8], eax
nop
nop
nop
nop
push 0x3a
mov ecx, 0x492f38
call fcn.0040ec84
mov ecx, dword [ebp - 0x54]
sub ecx, 2
push ecx
mov edx, dword [0x48c818]
neg edx
sbb edx, edx
and edx, 0x50
add edx, 0x18
mov eax, dword [ebp - 0x50]
add eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
push eax
mov ecx, 0x492f38
call fcn.0040ebd7
mov ecx, dword [ebp - 0x30]
call fcn.00407775
push eax
push 0x48c828
push 0x492f38
call fcn.0040faa0
add esp, 0xc
call fcn.0041e5f6
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov byte [ebp - 0xc], 1
mov ecx, 0x4b0770
call fcn.0041c330
mov dword [ebp - 0x1c], eax
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x38], eax
mov ecx, 0x4b0770
call fcn.00482938
and eax, 0x800
test eax, eax
je 0x42cf9e
mov byte [ebp - 0x1c], 3
mov eax, dword [ebp - 4]
cmp byte [eax], 0
je 0x42d0d0
mov dword [ebp - 0x18], 0x13
cmp byte [ebp - 0xc], 0
jne 0x42d005
call fcn.0041e5db
mov eax, dword [ebp - 8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
add eax, 0x58b0
mov ecx, dword [ebp - 0x64]
cmp byte [0x48c818], 0
je 0x42cfe5
add ecx, 0x78
jmp 0x42cfeb
sub ecx, 0x158
push eax
push 0x3c
push 0x158
mov eax, dword [ebp - 0x60]
add eax, 0x2e
push eax
push ecx
call fcn.0047e09b
call fcn.0041e5f6
push 0
push 0
push 0x202
push dword [0x4b6a68]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x1f
mov ecx, 0x492f38
call fcn.0040ec84
mov byte [ebp - 0x10], 0
jmp 0x42d02f
inc byte [ebp - 0x10]
mov ecx, dword [ebp - 4]
cmp byte [ecx], 0
je 0x42d07b
mov eax, dword [ebp - 0x10]
cmp al, 3
jge 0x42d07b
push dword [ebp - 0x38]
push dword [ebp - 4]
mov eax, dword [ebp - 0x54]
add eax, dword [ebp - 0x18]
sub eax, 2
push eax
mov ecx, dword [0x48c818]
neg ecx
sbb ecx, ecx
and ecx, 0x50
add ecx, 0x18
mov eax, dword [ebp - 0x50]
add eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
push eax
call fcn.0042c8b0
add dword [ebp - 4], eax
add dword [ebp - 0x18], 0x14
jmp 0x42d02c
mov ecx, 0x497fb0
call fcn.00426066
push 0
push 0
push 0x202
push dword [0x4b6a68]
call dword [sym.imp.USER32.dll_SendMessageA]
xor ecx, ecx
mov eax, dword [ebp - 0x1c]
cmp al, 3
ja case.default.0x42d0a3
jmp dword [eax*4 + 0x42d118]
mov cl, 0xf
jmp 0x42d0b4
mov cl, 0xa
jmp 0x42d0b4
mov cl, 0x14
push ecx
call fcn.0042c646
add esp, 4
jmp case.default.0x42d0a3
call fcn.0042c733
mov dword [ebp - 0xc], 0
jmp 0x42cf9e
mov ecx, 0x497fb0
call fcn.00426066
mov ecx, 0x4b6930
call fcn.00473623
cmp dword [ebp - 0x58], 0
je 0x42d100
lea ecx, [ebp - 0x730]
push ecx
push 0x18
push 0x18
push dword [ebp - 0x5c]
push dword [ebp - 0x44]
call fcn.0047e09b
xor eax, eax
mov ecx, dword [ebp - 0x48]
cmp cl, 0xff
je 0x42d10f
cmp cl, 1
jne 0x42d110
inc eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc