Function at 0x413c10
Capabilities:
Check http status code

Disassembly:
push 0xffffffffffffffff
push 0x420dd1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c0
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x14]
push edi
xor edi, edi
push eax
mov dword [esp + 0x10], edi
call fcn.00418f78
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x413fdf
mov eax, dword [esi + 0x14]
push eax
push edi
push ebp
call fcn.0041c390
push 0x3c
lea eax, [esp + 0x3c]
push edi
push eax
call fcn.0041c390
push 0x104
lea ecx, [esp + 0xdc]
push edi
push ecx
call fcn.0041c390
push 0x104
lea edx, [esp + 0x1ec]
push edi
push edx
call fcn.0041c390
push 0x104
lea eax, [esp + 0x2fc]
push edi
push eax
call fcn.0041c390
lea eax, [esp + 0x304]
mov edi, 0x103
mov dword [esp + 0x8c], eax
mov eax, dword [esi + 0x14]
add esp, 0x3c
cmp dword [esi + 0x18], 0x10
lea ecx, [esp + 0xc0]
lea edx, [esp + 0x1c4]
mov dword [esp + 0x2c], 0x3c
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edi
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], eax
jb 0x413cf3
mov esi, dword [esi + 4]
jmp 0x413cf6
add esi, 4
mov edx, dword [0x42b844]
lea ecx, [esp + 0x2c]
push ecx
push 0
push eax
mov eax, dword [edx + 0x298]
push esi
call eax
test eax, eax
je 0x413fd0
push 0x104
mov dword [esp + 0x20], edi
call fcn.00418f78
push 0x104
mov esi, eax
push 0
push esi
call fcn.0041c390
mov edx, dword [0x42b844]
mov eax, dword [edx + 0x2e4]
add esp, 0x10
lea ecx, [esp + 0x1c]
push ecx
push esi
push 0
call eax
test eax, eax
je 0x413d5a
push esi
call fcn.004198d7
add esp, 4
xor esi, esi
mov ecx, dword [0x42b844]
mov edx, dword [ecx + 0x1bc]
push ebx
push 0
push 0
push 0
push 0
push esi
call edx
xor edi, edi
mov ebx, eax
cmp esi, edi
je 0x413d83
push esi
call fcn.004198d7
add esp, 4
cmp ebx, edi
je 0x413fcf
mov eax, dword [esp + 0x3e0]
mov edx, dword [0x42b844]
push 4
lea ecx, [esp + 0x18]
push ecx
push 2
mov dword [esp + 0x20], eax
mov eax, dword [edx + 0x44]
push ebx
call eax
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
push edi
push edi
push 3
push ecx
mov ecx, dword [esp + 0x50]
push edx
mov edx, dword [0x42b844]
push eax
mov eax, dword [edx + 0xdc]
push ecx
push ebx
call eax
mov esi, eax
cmp esi, edi
je 0x413fc0
lea ecx, [esp + 0x18]
lea edx, [esp + 0x8c]
mov dword [esp + 0x28], ecx
push edx
mov ecx, 0x429488
mov dword [esp + 0x1c], 0x2a2f2a
mov dword [esp + 0x30], edi
call fcn.00408a50
lea eax, [esp + 0xac]
push eax
mov ecx, str.DZZK_q.q
mov dword [esp + 0x3e0], edi
call fcn.00408a50
add esp, 8
mov byte [esp + 0x3d8], 1
mov ecx, dword [esp + 0xac]
mov eax, 0x10
cmp dword [esp + 0xc0], eax
jae 0x413e42
lea ecx, [esp + 0xac]
cmp dword [esp + 0xa4], eax
mov eax, dword [esp + 0x90]
jae 0x413e59
lea eax, [esp + 0x90]
push edi
push 0x8444f700
lea edx, [esp + 0x30]
push edx
mov edx, dword [0x42b844]
push edi
push ecx
mov ecx, dword [esp + 0x70]
push ecx
push eax
mov eax, dword [edx + 8]
push esi
call eax
mov edi, eax
test edi, edi
je 0x413f8e
lea ecx, [esp + 0x70]
push ecx
mov ecx, 0x4296a0
call fcn.00408a50
add esp, 4
mov byte [esp + 0x3d8], 2
cmp dword [esp + 0x88], 0x10
mov eax, dword [esp + 0x74]
jae 0x413eae
lea eax, [esp + 0x74]
mov edx, dword [esp + 0x84]
push 0x20000000
push edx
push eax
mov eax, dword [0x42b844]
mov ecx, dword [eax + 0x2f8]
push edi
call ecx
mov eax, dword [esp + 0x3e4]
cmp dword [eax + 0x18], 0x10
mov ecx, dword [eax + 0x14]
jb 0x413edf
mov eax, dword [eax + 4]
jmp 0x413ee2
add eax, 4
mov edx, dword [0x42b844]
push ecx
push eax
mov eax, dword [edx + 0x2ac]
push 0
push 0
push edi
call eax
test eax, eax
je 0x413f6f
mov eax, dword [0x42b844]
push 0
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [eax + 0x2a8]
lea edx, [esp + 0x2c]
push edx
push 0x13
push edi
mov dword [esp + 0x30], 4
call ecx
test eax, eax
je 0x413f6f
push 0xa
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.004194bf
add esp, 0xc
mov dword [esp + 0x10], eax
cmp eax, 0xc8
je 0x413f49
cmp eax, 0x194
jne 0x413f6f
mov ecx, dword [esp + 0x3e8]
push ecx
call fcn.00412fc0
test eax, eax
je 0x413f6f
mov edx, dword [esp + 0x3e8]
cmp dword [edx + 0x14], 0
je 0x413f6f
mov dword [esp + 0x10], 0xc8
mov eax, dword [0x42b844]
mov ecx, dword [eax + 0x13c]
push edi
call ecx
lea ecx, [esp + 0x70]
mov byte [esp + 0x3d8], 1
call fcn.00415680
mov edx, dword [0x42b844]
mov eax, dword [edx + 0x13c]
push esi
call eax
lea ecx, [esp + 0xa8]
call fcn.00415680
lea ecx, [esp + 0x8c]
mov dword [esp + 0x3d8], 0xffffffff
call fcn.00415680
mov ecx, dword [0x42b844]
mov edx, dword [ecx + 0x13c]
push ebx
call edx
pop ebx
push ebp
call fcn.004198d7
mov eax, dword [esp + 0x10]
add esp, 4
jmp 0x413fe1
mov eax, edi
mov ecx, dword [esp + 0x3cc]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x3cc
ret 0xc