Function at 0x47d0ba
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea esi, [edi + 0x18]
mov ecx, dword [ebp + 0x10]
mov eax, dword [esi + 0x5c]
mov dword [esi + 0x60], eax
push dword [ecx]
push 0xa
push eax
call fcn.0048f690
mov ebx, eax
add esp, 0xc
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x64], ebx
test ebx, ebx
je 0x47dcb6
sub ebx, dword [esi + 0x5c]
inc ebx
sub dword [eax], ebx
mov eax, dword [esi + 0x64]
inc eax
mov dword [esi + 0x5c], eax
sub eax, dword [esi + 0x60]
push eax
push esi
push edi
call fcn.0047dea7
add esp, 0xc
test eax, eax
jne 0x47dcf4
mov eax, dword [esi + 0x54]
xor ecx, ecx
mov dword [esi + 0x64], eax
mov eax, dword [edi + 0x534]
mov dword [esi + 0x68], eax
cmp dword [esi + 0x50], ecx
jne 0x47d14a
cmp dword [esi + 0x58], 5
jbe 0x47d14a
push dword [edi + 0x534]
push dword [ebp + 0xc]
push edi
call fcn.0047dd59
add esp, 0xc
test eax, eax
je 0x47dbd8
xor ecx, ecx
mov edx, dword [esi + 0x68]
mov al, byte [edx]
cmp al, 0xa
je 0x47d9fc
cmp al, 0xd
je 0x47da00
mov ecx, dword [esi + 0x50]
lea eax, [ecx + 1]
mov dword [esi + 0x50], eax
test ecx, ecx
jne 0x47d348
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x210]
mov eax, dword [eax + 0x3c]
test al, 1
je 0x47d2ae
lea eax, [esi + 0x78]
push eax
lea ebx, [ecx + 0x118]
push ebx
lea eax, [ebp + 8]
push eax
push 0x4088c0
push edx
call fcn.00495a07
add esp, 0x14
push 3
pop ecx
cmp eax, ecx
jne 0x47d267
imul eax, dword [ebp + 8], 0xa
add dword [ebx], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [esi + 0x78]
mov dword [edi + 0x868c], eax
mov eax, dword [ebx]
mov dword [edi + 0x8694], eax
mov eax, dword [edi + 0x8620]
test eax, eax
je 0x47d1d4
cmp eax, dword [ebx]
jle 0x47d1dc
mov eax, dword [ebx]
mov dword [edi + 0x8620], eax
xor edx, edx
cmp dword [edi + 0x2b8], edx
je 0x47d23d
lea eax, [esi + 0x78]
cmp dword [eax], 0x190
jl 0x47d23d
cmp dword [eax], 0x191
jne 0x47d201
cmp dword [ecx + 0x1a8], edx
jne 0x47d23d
cmp dword [eax], 0x197
jne 0x47d211
cmp dword [ecx + 0x1ac], edx
jne 0x47d23d
mov eax, dword [edi + 0x8650]
or eax, dword [edi + 0x8654]
je 0x47dca0
cmp dword [edi + 0x218], 1
jne 0x47dca0
cmp dword [esi + 0x78], 0x1a0
jne 0x47dca0
cmp dword [ebx], 0xa
jne 0x47d2fb
push 0x4088ec
push edi
call fcn.004765fc
mov eax, dword [ebp + 0xc]
xor edx, edx
pop ecx
pop ecx
mov dword [eax + 0x198], 1
jmp 0x47d312
lea eax, [esi + 0x78]
push eax
push 0x4088d0
push dword [esi + 0x68]
call fcn.00495a07
add esp, 0xc
mov dword [ebx], 0xa
test eax, eax
jne 0x47d1b2
push dword [esi + 0x68]
push edi
call fcn.0047dcfb
pop ecx
pop ecx
test eax, eax
je 0x47dcee
mov dword [esi + 0x78], 0xc8
mov dword [ebx], 0xa
jmp 0x47d1b2
test eax, 0x40000
je 0x47dcee
lea eax, [esi + 0x78]
push eax
lea ebx, [ecx + 0x11c]
push ebx
lea eax, [ebp - 4]
push eax
push 0x4088dc
push edx
call fcn.00495a07
add esp, 0x14
push 3
pop ecx
cmp eax, ecx
jne 0x47dcee
imul eax, dword [ebp - 4], 0xa
mov ecx, dword [ebp + 0xc]
add dword [ebx], eax
lea ebx, [ecx + 0x118]
mov dword [ebx], 0xb
jmp 0x47d1b5
cmp dword [ebx], 0xb
jl 0x47d312
cmp dword [ecx + 0x198], edx
jne 0x47d312
mov dword [ecx + 0x258], 1
mov eax, dword [esi + 0x78]
sub eax, 0xcc
je 0x47d321
sub eax, 0x64
jne 0x47d348
cmp dword [edi + 0x208], edx
je 0x47d333
mov dword [edi + 0x869c], 1
mov dword [esi], edx
mov dword [esi + 4], edx
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], edx
mov dword [esi + 0xb4], 1
xor ebx, ebx
cmp dword [esi + 0xb4], ebx
jne 0x47d3f7
cmp dword [edi + 0x318], ebx
jne 0x47d3f7
push 0xf
push dword [esi + 0x68]
push 0x4086a0
call fcn.00477e94
add esp, 0xc
test eax, eax
je 0x47d3f7
mov eax, dword [esi + 0x68]
push 0xa
add eax, 0xf
push ebx
push eax
call fcn.00496117
mov ecx, dword [edi + 0x280]
add esp, 0xc
mov ebx, dword [edi + 0x284]
or ecx, ebx
je 0x47d3b0
cmp edx, ebx
jg 0x47dbfe
jl 0x47d3b0
cmp eax, dword [edi + 0x280]
ja 0x47dbfe
test edx, edx
jl 0x47d3d5
jg 0x47d3ba
test eax, eax
jb 0x47d3d5
push edx
push eax
push edi
mov dword [esi], eax
mov dword [esi + 4], edx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
call fcn.0047e65d
add esp, 0xc
jmp 0x47d99f
mov ebx, dword [ebp + 0xc]
push edx
push eax
push 0x408910
push edi
mov dword [ebx + 0x198], 1
call fcn.004765fc
add esp, 0x10
jmp 0x47d99f
push 0xd
push dword [esi + 0x68]
push 0x4082f8
call fcn.00477e94
add esp, 0xc
test eax, eax
je 0x47d455
push dword [esi + 0x68]
call fcn.0047dd97
mov ebx, eax
pop ecx
test ebx, ebx
je 0x47dc12
cmp byte [ebx], 0
jne 0x47d431
push ebx
call dword [0x4b1374]
jmp 0x47d4fb
mov eax, dword [edi + 0x86b4]
test eax, eax
je 0x47d44a
push eax
call dword [0x4b1374]
and dword [edi + 0x86b4], 0
pop ecx
mov dword [edi + 0x86b4], ebx
jmp 0x47d99f
mov ebx, dword [ebp + 0xc]
cmp dword [ebx + 0x118], 0xa
jne 0x47d48a
cmp dword [ebx + 0x1a4], 0
je 0x47d48a
push 0x408948
push 0x4085e0
push dword [esi + 0x68]
call fcn.0047cc39
add esp, 0xc
test eax, eax
je 0x47d48a
push 0x408954
jmp 0x47d4ed
cmp dword [ebx + 0x118], 0xb
jne 0x47d4c6
cmp dword [ebx + 0x1a4], 0
je 0x47d4c6
push 0x408984
push 0x4085e0
push dword [esi + 0x68]
call fcn.0047cc39
add esp, 0xc
test eax, eax
je 0x47d4c6
mov dword [ebx + 0x198], 1
push 0x40898c
jmp 0x47d4f4
cmp dword [ebx + 0x118], 0xa
jne 0x47d501
push 0x408948
push 0x4089b4
push dword [esi + 0x68]
call fcn.0047cc39
add esp, 0xc
test eax, eax
je 0x47d501
push 0x4089c0
and dword [ebx + 0x198], 0
push edi
call fcn.004765fc
pop ecx
pop ecx
jmp 0x47d99f
push 0x408984
push 0x4089b4
push dword [esi + 0x68]
call fcn.0047cc39
add esp, 0xc
test eax, eax
je 0x47d529
mov dword [ebx + 0x198], 1
jmp 0x47d99f
push 0x12
push dword [esi + 0x68]
push 0x408414
call fcn.00477e94
add esp, 0xc
test eax, eax
je 0x47d679
mov ebx, dword [esi + 0x68]
add ebx, 0x12
jmp 0x47d55f
movzx eax, al
push eax
call fcn.00493403
pop ecx
test eax, eax
jne 0x47d55e
cmp byte [ebx], 0x2c
jne 0x47d565
inc ebx
mov al, byte [ebx]
test al, al
jne 0x47d54b
push 7
push ebx
push 0x408428
call fcn.00477e94
add esp, 0xc
test eax, eax
je 0x47d58f
push dword [ebp + 0xc]
mov dword [esi + 0xc8], 1
call fcn.0047adf2
pop ecx
add ebx, 7
cmp dword [esi + 0x88], 0
jne 0x47d99f
push 8
push ebx
push 0x40705c
call fcn.00477e94
add esp, 0xc
test eax, eax
je 0x47d5bc
and dword [esi + 0x88], 0
jmp 0x47d648
push 7
push ebx
push 0x4089e8
call fcn.00477e94
add esp, 0xc
test eax, eax
je 0x47d5df
mov dword [esi + 0x88], 1
add ebx, 7
jmp 0x47d55f
push 4
push ebx
push 0x4089f0
call fcn.00477e94
add esp, 0xc
test eax, eax
je 0x47d605
mov dword [esi + 0x88], 2
add ebx, 4
jmp 0x47d55f
push 6
push ebx
push 0x4089f8
call fcn.00477e94
add esp, 0xc
test eax, eax
je 0x47d62b
mov dword [esi + 0x88], 2
add ebx, 6
jmp 0x47d55f
push 8
push ebx
push 0x408a00
call fcn.00477e94
add esp, 0xc
test eax, eax
je 0x47d650
push 3
pop eax
mov dword [esi + 0x88], eax
add ebx, 8
jmp 0x47d55f
push 0xa
push ebx
push 0x408a0c
call fcn.00477e94
add esp, 0xc
test eax, eax
je 0x47d99f
push 3
pop eax
mov dword [esi + 0x88], eax
add ebx, 0xa
jmp 0x47d55f
push 0x11
push dword [esi + 0x68]
push 0x408a18
call fcn.00477e94
add esp, 0xc
test eax, eax
je 0x47d771
cmp dword [edi + 0x354], 0
je 0x47d771
mov ebx, dword [esi + 0x68]
add ebx, 0x11
jmp 0x47d6b7
movzx eax, al
push eax
call fcn.00493403
pop ecx
test eax, eax
je 0x47d6bd
inc ebx
mov al, byte [ebx]
test al, al
jne 0x47d6a8
push 8
push ebx
push 0x40705c
call fcn.00477e94
add esp, 0xc
test eax, eax
je 0x47d6dd
and dword [esi + 0x88], 0
jmp 0x47d99f
push 7
push ebx
push 0x4089e8
call fcn.00477e94
add esp, 0xc
test eax, eax
je 0x47d700
mov dword [esi + 0x88], 1
jmp 0x47d99f
push 4
push ebx
push 0x4089f0
call fcn.00477e94
add esp, 0xc
test eax, eax
jne 0x47d762
push 6
push ebx
push 0x4089f8
call fcn.00477e94
add esp, 0xc
test eax, eax
jne 0x47d762
push 8
push ebx
push 0x408a00
call fcn.00477e94
add esp, 0xc
test eax, eax
jne 0x47d754
push 0xa
push ebx
push 0x408a0c
call fcn.00477e94
add esp, 0xc
test eax, eax
je 0x47d99f
push 3
pop ebx
mov dword [esi + 0x88], ebx
jmp 0x47d99f
mov dword [esi + 0x88], 2
jmp 0x47d99f
push 0xe
push dword [esi + 0x68]
push 0x40854c
call fcn.00477e94
add esp, 0xc
test eax, eax
je 0x47d7de
mov ebx, dword [esi + 0x68]
add ebx, 0xe
jmp 0x47d79e
movzx eax, al
push eax
call fcn.00493353
pop ecx
test eax, eax
jne 0x47d7a4
inc ebx
mov al, byte [ebx]
test al, al
jne 0x47d78f
push 0xa
push 0
push ebx
call fcn.00496117
mov dword [esi + 0x70], eax
add esp, 0xc
mov dword [esi + 0x74], edx
mov eax, dword [edi + 0x8650]
cmp eax, dword [esi + 0x70]
jne 0x47d99f
cmp dword [edi + 0x8654], edx
jne 0x47d99f
mov dword [esi + 0x6c], 1
jmp 0x47d99f
cmp dword [edi + 0x418], 0
je 0x47d846
push 0xb
push dword [esi + 0x68]
push 0x406750
call fcn.00477e94
add esp, 0xc
test eax, eax
je 0x47d846
push 2
push 2
push edi
call fcn.00477dce
mov eax, dword [ebx + 0x240]
add esp, 0xc
test eax, eax
jne 0x47d81a
mov eax, dword [ebx + 0x80]
push dword [edi + 0x8638]
push eax
mov eax, dword [esi + 0x68]
add eax, 0xb
push eax
push 1
push dword [edi + 0x418]
push edi
call fcn.0046d76d
push 2
push edi
call fcn.00477e06
add esp, 0x20
jmp 0x47d99f
push 0xe
push dword [esi + 0x68]
push 0x408a2c
call fcn.00477e94
add esp, 0xc
test eax, eax
je 0x47d8b1
xor eax, eax
cmp dword [edi + 0x208], eax
jne 0x47d86e
cmp dword [edi + 0x29c], eax
je 0x47d8b1
push eax
call fcn.0049262f
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esi + 0x68]
add eax, 0xe
mov dword [ebp - 8], edx
push eax
call fcn.004777ea
add esp, 0xc
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], edx
cmp dword [edi + 0x29c], 0
je 0x47d99f
mov dword [edi + 0x8698], eax
jmp 0x47d99f
push 0x11
push dword [esi + 0x68]
push 0x408a3c
call fcn.00477e94
add esp, 0xc
test eax, eax
je 0x47d8d1
mov eax, dword [esi + 0x78]
cmp eax, 0x191
je 0x47d8f1
push 0x13
push dword [esi + 0x68]
push 0x408a50
call fcn.00477e94
add esp, 0xc
test eax, eax
je 0x47d903
mov eax, dword [esi + 0x78]
cmp eax, 0x197
jne 0x47d903
push dword [esi + 0x68]
push eax
push ebx
call fcn.0047ce8c
add esp, 0xc
jmp 0x47d997
cmp dword [esi + 0x78], 0x12c
jl 0x47d97d
cmp dword [esi + 0x78], 0x190
jge 0x47d97d
push 9
push dword [esi + 0x68]
push 0x408a64
call fcn.00477e94
add esp, 0xc
test eax, eax
je 0x47d97d
cmp dword [edi + 0xd0], 0
jne 0x47d97d
push dword [esi + 0x68]
call fcn.0047dd97
pop ecx
test eax, eax
je 0x47dc12
cmp byte [eax], 0
jne 0x47d950
push eax
jmp 0x47d426
cmp dword [edi + 0x2bc], 0
mov dword [edi + 0xd0], eax
je 0x47d99f
push eax
call dword [0x4b137c]
mov dword [edi + 0xd4], eax
pop ecx
test eax, eax
je 0x47dc12
push ebx
call fcn.0047e033
jmp 0x47d996
mov eax, dword [ebx + 0x210]
test dword [eax + 0x3c], 0x40000
je 0x47d99f
push dword [esi + 0x68]
push ebx
call fcn.004851f5
pop ecx
pop ecx
test eax, eax
jne 0x47dcf4
cmp dword [edi + 0x2c8], 0
push 2
pop ebx
push 3
pop eax
cmovne ebx, eax
cmp dword [edi + 0x2e4], 0
je 0x47d9cc
push dword [ebp + 0xc]
push dword [esi + 0x58]
push dword [esi + 0x68]
push 1
push edi
call fcn.004764a0
add esp, 0x14
push dword [esi + 0x58]
push dword [esi + 0x68]
push ebx
push dword [ebp + 0xc]
call fcn.00476369
add esp, 0x10
test eax, eax
jne 0x47dcf4
mov eax, dword [esi + 0x58]
add dword [edi + 0x86a0], eax
mov eax, dword [esi + 0x58]
add dword [edi + 0x48], eax
xor edx, edx
jmp 0x47dbb0
cmp al, 0xd
jne 0x47da06
lea eax, [edx + 1]
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x68]
cmp byte [eax], 0xa
jne 0x47da12
inc eax
mov dword [esi + 0x68], eax
cmp dword [esi + 0x78], 0x64
jl 0x47da45
cmp dword [esi + 0x78], 0xc7
jg 0x47da45
mov ebx, dword [ebp + 0xc]
mov dword [esi + 0x48], 1
mov dword [esi + 0x50], ecx
cmp dword [esi + 0x84], ecx
je 0x47da94
or dword [esi + 0xa8], 2
mov dword [esi + 0x84], ecx
jmp 0x47da94
mov eax, dword [esi]
and eax, dword [esi + 4]
mov ebx, dword [ebp + 0xc]
mov dword [esi + 0x48], ecx
cmp eax, 0xffffffff
jne 0x47da94
cmp dword [esi + 0xc8], ecx
jne 0x47da94
cmp dword [ebx + 0x198], ecx
jne 0x47da94
cmp dword [ebx + 0x118], 0xb
jl 0x47da94
mov eax, dword [ebx + 0x210]
test dword [eax + 0x3c], 0x40000
jne 0x47da94
push 0x40882c
push edi
call fcn.004765fc
pop ecx
pop ecx
mov dword [ebx + 0x198], 1
push ebx
call fcn.0047e1c1
pop ecx
test eax, eax
jne 0x47dca0
cmp dword [edi + 0x2c8], eax
mov ebx, dword [esi + 0x68]
push 2
pop ecx
push 3
pop eax
cmovne ecx, eax
mov eax, dword [edi + 0x534]
sub ebx, eax
push ebx
push eax
push ecx
push dword [ebp + 0xc]
call fcn.00476369
add esp, 0x10
test eax, eax
jne 0x47dcf4
add dword [edi + 0x48], ebx
add dword [edi + 0x86a0], ebx
cmp dword [esi + 0x78], 0x64
mov eax, dword [edi + 0x48]
jl 0x47daf2
cmp dword [esi + 0x78], 0xc7
jg 0x47daf2
xor edx, edx
jmp 0x47daf6
xor edx, edx
mov eax, edx
mov dword [edi + 0x4c], eax
mov eax, dword [ebp + 0x14]
cmp dword [eax], edx
jne 0x47dbab
push dword [ebp + 0xc]
call fcn.0047ccdc
pop ecx
test eax, eax
jne 0x47dcf4
mov ecx, dword [ebp + 0xc]
xor edx, edx
cmp dword [esi + 0x78], 0x12c
jl 0x47db8a
cmp dword [ecx + 0x1d4], edx
jne 0x47db8a
cmp dword [ecx + 0x198], edx
jne 0x47db8a
cmp dword [ecx + 0x1d8], edx
jne 0x47db92
mov eax, dword [edi + 0x218]
add eax, 0xfffffffe
cmp eax, 2
ja 0x47db8a
cmp dword [esi + 0xac], edx
jne 0x47db8a
push 0x408868
push edi
call fcn.004765fc
pop ecx
pop ecx
mov ecx, dword [ebp + 0xc]
xor eax, eax
inc eax
xor edx, edx
mov dword [ecx + 0x198], eax
and dword [esi + 0xa8], 0xfffffffd
mov dword [esi + 0xac], eax
cmp dword [edi + 0x8624], edx
je 0x47db8a
push 3
pop eax
mov dword [esi + 0x84], eax
cmp dword [ecx + 0x1d8], edx
je 0x47dba8
push 0x408898
push edi
call fcn.004765fc
or dword [esi + 0xa8], 2
xor edx, edx
pop ecx
pop ecx
mov eax, dword [ebp + 0x14]
cmp dword [esi + 0x48], edx
je 0x47dc19
mov eax, dword [edi + 0x534]
mov dword [esi + 0x54], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x58], edx
cmp dword [eax], edx
jne 0x47dcf2
mov eax, dword [esi + 0x5c]
cmp byte [eax], 0
jne 0x47d0c9
jmp 0x47dcf2
mov eax, dword [ebp + 0x10]
and dword [esi + 0x48], 0
cmp dword [eax], 0
je 0x47dbf0
mov dword [esi + 0x4c], 1
jmp 0x47dcf2
mov dword [esi + 0x4c], 2
mov dword [eax], ebx
jmp 0x47dcf2
push 0x405e64
push edi
call fcn.00476566
pop ecx
pop ecx
push 0x3f
jmp 0x47dcb3
push 0x1b
jmp 0x47dcb3
cmp dword [edi + 0x2d4], edx
je 0x47dc29
mov dword [eax], 1
jmp 0x47dc40
cmp dword [esi + 0xc8], edx
je 0x47dc40
or dword [esi], 0xffffffff
or dword [esi + 4], 0xffffffff
or dword [esi + 0x10], 0xffffffff
or dword [esi + 0x14], 0xffffffff
cmp dword [esi], 0xffffffff
jne 0x47dc4b
cmp dword [esi + 4], 0xffffffff
je 0x47dc66
push dword [esi + 4]
push dword [esi]
push edi
call fcn.0047e65d
mov eax, dword [esi]
add esp, 0xc
mov dword [esi + 0x10], eax
xor edx, edx
mov eax, dword [esi + 4]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x14]
cmp dword [esi + 0x10], edx
jne 0x47dc79
cmp dword [esi + 0x14], edx
jne 0x47dc79
mov dword [eax], 1
cmp dword [eax], edx
je 0x47dc84
and dword [esi + 0xa8], 0xfffffffe
cmp dword [edi + 0x2e4], edx
je 0x47dcf2
push dword [ebp + 0xc]
push ebx
push dword [esi + 0x60]
push 1
push edi
call fcn.004764a0
add esp, 0x14
jmp 0x47dcf2
push dword [esi + 0x78]
push 0x4081c4
push edi
call fcn.00476566
add esp, 0xc
push 0x16
pop eax
jmp 0x47dcf4
push dword [eax]
push esi
push edi
call fcn.0047dea7
add esp, 0xc
test eax, eax
jne 0x47dcf4
cmp dword [esi + 0x50], eax
jne 0x47dcf2
cmp dword [esi + 0x58], 5
jbe 0x47dcf2
push dword [edi + 0x534]
push dword [ebp + 0xc]
push edi
call fcn.0047dd59
add esp, 0xc
test eax, eax
jne 0x47dcf2
mov dword [esi + 0x4c], 2
and dword [esi + 0x48], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret