Function at 0x413f18
Capabilities:
Check http status code

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x24]
push ebx
push ebp
push esi
push edi
xor edi, edi
mov dword [eax], edi
mov dword [eax + 4], edi
mov eax, dword [esp + 0x30]
mov esi, ecx
mov dword [esp + 0x18], 4
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
lea ebx, [esi + eax*8 + 0xb5f0]
mov eax, dword [esi + eax*8 + 0xb624]
lea ebp, [ebx + 0xc]
cmp eax, edi
jne 0x413fa1
push 0x8000
call fcn.00416f2e
add esp, 4
cmp eax, edi
mov dword [ebx + 0x34], eax
jne 0x413fa1
call fcn.00416f1c
mov eax, dword [eax]
lea ecx, [esi + 0xc60c]
push eax
push 0x1000e59c
push ecx
mov dword [esi + 0xc608], eax
call fcn.00416926
mov ecx, dword [esp + 0x3c]
add esp, 0xc
push ecx
mov ecx, esi
call fcn.00414848
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 8
cmp dword [ebx], edi
jne 0x413fb4
pop edi
pop esi
pop ebp
mov eax, 5
pop ebx
add esp, 0x1c
ret 8
mov edx, dword [esi + 0x24]
push 0xffffffffffffffff
push edx
call dword [0x1000c010]
mov ecx, dword [esi + 0x24]
mov eax, dword [ebx + 0x68]
push ecx
mov dword [esi + 0xc608], eax
call dword [0x1000c00c]
mov eax, dword [esi + 0xc608]
cmp eax, edi
je 0x41404d
mov edx, dword [ebx + 8]
push eax
mov eax, dword [esp + 0x34]
inc edx
inc eax
push edx
push eax
lea ecx, [esi + 0xc60c]
push 0x1000e570
push ecx
mov edi, 1
call fcn.00416926
mov edx, dword [esi + 0xc608]
add esp, 0x14
mov ecx, esi
push edx
push ebx
call fcn.00414678
dec eax
je 0x414020
dec eax
je 0x41454f
jmp 0x414529
mov ebx, dword [ebx + 8]
mov ecx, dword [esp + 0x30]
push ecx
mov ecx, esi
lea eax, [ebx + ebx*8]
shl eax, 4
add eax, ebx
shl eax, 5
mov dword [eax + esi + 0x12c4], edi
call fcn.00414848
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 8
cmp dword [ebx + 4], edi
jne 0x4143cd
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [ebx]
lea eax, [esp + 0x24]
push edx
push eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x1c], edi
mov edi, dword [0x1000c124]
push 0x20000013
push ecx
mov dword [esp + 0x28], 4
call edi
test eax, eax
jne 0x4140bf
mov edi, 1
call dword [0x1000c020]
mov dword [esi + 0xc608], eax
mov edx, dword [ebx + 8]
push eax
mov eax, dword [esp + 0x34]
inc edx
inc eax
push edx
push eax
lea ecx, [esi + 0xc60c]
push 0x1000e544
push ecx
jmp 0x414521
mov eax, dword [esp + 0x20]
cmp eax, 0xc8
je 0x41411b
cmp eax, 0xce
je 0x41411b
mov dword [esi + 0xc608], 0xfffffff9
mov edx, dword [ebx + 8]
push 0xfffffffffffffff9
push eax
mov eax, dword [esp + 0x38]
inc edx
inc eax
push edx
push eax
lea ecx, [esi + 0xc60c]
push 0x1000e518
push ecx
mov edi, 1
call fcn.00416926
mov edx, dword [esp + 0x38]
add esp, 0x18
mov ecx, esi
push edx
call fcn.00414638
test eax, eax
jne 0x414529
jmp 0x41454f
mov edx, dword [ebx + 0x34]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
mov eax, dword [ebx]
push ecx
push edx
push 5
push eax
mov dword [esp + 0x28], 0x8000
mov dword [esp + 0x24], 0
call edi
test eax, eax
je 0x414206
mov ecx, dword [ebx + 0x34]
push ecx
call fcn.00416def
mov dword [esp + 0x2c], edx
mov edx, dword [esi + 0xc3b8]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0xc3bc]
mov ecx, edx
add esp, 4
or ecx, eax
je 0x414233
mov ecx, dword [ebx + 0x38]
mov edi, dword [esp + 0x24]
shl ecx, 5
mov eax, dword [ecx + esi + 0xbab0]
add eax, edi
mov edi, dword [esp + 0x28]
mov ecx, dword [ecx + esi + 0xbab4]
adc ecx, edi
cmp edx, eax
jne 0x4141a2
cmp dword [esi + 0xc3bc], ecx
je 0x41422d
mov eax, dword [ebx + 8]
mov ecx, esi
lea edx, [eax + eax*8]
shl edx, 4
add edx, eax
shl edx, 5
lea eax, [edx + esi + 0x1b0]
push eax
push 7
call fcn.00415638
mov edx, dword [esp + 0x30]
mov dword [esi + 0xc5fc], eax
mov dword [esi + 0xc3d0], 0
mov dword [esi + 0xc608], 0xfffffff8
mov ecx, dword [ebx + 8]
push 0xfffffffffffffff8
inc ecx
inc edx
push ecx
push edx
lea eax, [esi + 0xc60c]
push 0x1000e4e4
push eax
mov edi, 1
call fcn.00416926
add esp, 0x14
jmp 0x41454f
mov eax, dword [ebx + 8]
lea ecx, [eax + eax*8]
shl ecx, 4
add ecx, eax
shl ecx, 5
lea edx, [ecx + esi + 0x1b0]
mov ecx, esi
push edx
push 6
call fcn.00415638
mov dword [esi + 0xc5fc], eax
jmp 0x414233
mov edi, dword [0x1000c124]
mov edx, dword [ebx + 0x34]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
mov eax, dword [ebx]
push ecx
push edx
push 0x2a
push eax
mov dword [esp + 0x28], 0x8000
mov dword [esp + 0x24], 0
call edi
test eax, eax
je 0x414284
mov ecx, dword [ebx + 0x34]
push ecx
call fcn.00416d65
mov eax, dword [ebx + 0x34]
push 0x1000e4dc
push eax
call fcn.00416cb6
add esp, 0xc
test eax, eax
jne 0x4142f0
mov dword [esp + 0x1c], 1
jmp 0x4142f0
mov ecx, dword [ebx + 0x34]
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
mov edx, dword [ebx]
push eax
push ecx
push 0x35
push edx
mov dword [esp + 0x28], 0x8000
mov dword [esp + 0x24], 0
call edi
test eax, eax
je 0x4142cb
mov eax, dword [ebx + 0x34]
push eax
call fcn.00416d65
mov eax, dword [ebx + 0x34]
push 5
push 0x1000e4dc
push eax
call fcn.00416bc7
add esp, 0x10
jmp 0x414276
mov eax, dword [ebx + 8]
lea ecx, [eax + eax*8]
shl ecx, 4
add ecx, eax
shl ecx, 5
lea edx, [ecx + esi + 0x1b0]
mov ecx, esi
push edx
push 5
call fcn.00415638
mov dword [esi + 0xc5fc], eax
mov edi, dword [esp + 0x24]
test edi, edi
jne 0x414300
mov eax, dword [esp + 0x28]
test eax, eax
je 0x41430c
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x41439e
mov eax, dword [esi + 0xc3d8]
mov dword [esp + 0x18], 2
test eax, eax
je 0x414362
push 0xfffffffffffffff0
lea eax, [esi + 0xc60c]
push 0x1000e4ac
push eax
mov dword [esi + 0xc3d0], 0
xor edi, edi
mov dword [esi + 0xc608], 0xfffffff0
call fcn.00416926
mov ecx, dword [esp + 0x3c]
add esp, 0xc
push ecx
mov ecx, esi
call fcn.00414848
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 8
mov eax, dword [esi + 8]
test eax, eax
jne 0x4143a5
mov edx, dword [esp + 0x30]
mov dword [esi + 0xc608], 0xfffffff7
mov ecx, dword [ebx + 8]
push 0xfffffffffffffff7
inc ecx
inc edx
push ecx
push edx
lea eax, [esi + 0xc60c]
push 0x1000e47c
push eax
mov edi, 1
call fcn.00416926
add esp, 0x14
jmp 0x41454f
mov eax, dword [esi + 8]
test eax, eax
je 0x4143cb
mov ecx, dword [esi + 0x24]
push 0xffffffffffffffff
push ecx
call dword [0x1000c010]
mov eax, dword [esi + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esi + 0xc3b8], edi
push eax
mov dword [esi + 0xc3bc], edx
call dword [0x1000c00c]
xor edi, edi
mov eax, dword [ebx + 0x38]
push edi
mov dword [esp + 0x14], eax
push edi
shl eax, 5
mov ecx, dword [eax + esi + 0xbab4]
mov edx, dword [eax + esi + 0xbab0]
mov eax, dword [esi + 0x10]
push ecx
push edx
push eax
call dword [0x1000c03c]
test eax, eax
jne 0x414436
mov dword [esi + 0xc3d0], edi
call dword [0x1000c020]
push eax
lea ecx, [esi + 0xc60c]
push 0x1000e45c
push ecx
mov dword [esi + 0xc608], eax
call fcn.00416926
mov ecx, dword [esp + 0x3c]
add esp, 0xc
push ecx
mov ecx, esi
call fcn.00414848
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 8
cmp dword [ebx + 4], edi
je 0x414466
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x34]
mov ecx, dword [ebp + 0x18]
add eax, 0x5d5
shl eax, 5
add eax, esi
push edx
mov edx, dword [ebx + 0x34]
push eax
push ecx
push edx
mov ecx, esi
call fcn.004145a8
test eax, eax
je 0x414582
cmp dword [esp + 0x18], 3
je 0x4144d8
mov ecx, 0xa
xor eax, eax
mov edi, ebp
push 0
rep stosd dword es:[edi], eax
mov dword [ebp], 0x28
mov eax, dword [ebx + 0x34]
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x18], 0x8000
mov ecx, dword [ebx]
push 0
push ebp
push ecx
call dword [0x1000c128]
test eax, eax
je 0x4144ed
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x34]
mov ecx, dword [ebp + 0x18]
add eax, 0x5d5
shl eax, 5
add eax, esi
push edx
mov edx, dword [ebx + 0x34]
push eax
push ecx
push edx
mov ecx, esi
call fcn.004145a8
test eax, eax
je 0x414580
mov eax, dword [ebp + 0x18]
test eax, eax
jne 0x41446d
mov dword [esp + 0x18], 3
mov eax, dword [esp + 0x18]
pop edi
pop esi
mov dword [ebx + 4], 1
pop ebp
pop ebx
add esp, 0x1c
ret 8
mov ebp, dword [0x1000c020]
call ebp
cmp eax, 0x3e5
je 0x4144d8
mov edi, 1
call ebp
mov ecx, dword [esp + 0x30]
mov dword [esi + 0xc608], eax
push eax
mov eax, dword [ebx + 8]
inc eax
inc ecx
push eax
push ecx
lea edx, [esi + 0xc60c]
push 0x1000e42c
push edx
call fcn.00416926
add esp, 0x14
mov eax, dword [ebx + 8]
lea ecx, [eax + eax*8]
shl ecx, 4
add ecx, eax
shl ecx, 5
lea eax, [ecx + esi + 0x12c8]
mov ecx, dword [ecx + esi + 0x12c8]
cmp ecx, 5
lea edx, [ecx + 1]
mov dword [eax], edx
jb 0x414588
mov ebx, dword [ebx + 8]
mov ecx, dword [esp + 0x30]
push ecx
mov ecx, esi
lea eax, [ebx + ebx*8]
shl eax, 4
add eax, ebx
shl eax, 5
mov dword [eax + esi + 0x12c0], 1
call fcn.00414848
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 8
xor edi, edi
mov dword [esi + 0xc3d0], edi
mov ecx, dword [esp + 0x30]
push ecx
mov ecx, esi
call fcn.00414848
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 8