Function at 0x417c10
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x430a88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x1084
call fcn.00422250
mov dword [ebp - 0x18], 0x435ba8
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
xor eax, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp + 0x24]
mov dword [ecx], 0
mov edx, dword [ebp + 0x20]
mov dword [edx], 0
lea ecx, [ebp - 0x64]
call fcn.00418cd0
mov dword [ebp - 4], 0
cmp dword [ebp + 0x14], 0xa
jle 0x417cc7
mov dword [ebp - 0x1078], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00418d00
mov eax, dword [ebp - 0x1078]
jmp 0x4181f8
mov dword [ebp - 0x68], 0
jmp 0x417cd9
mov eax, dword [ebp - 0x68]
add eax, 1
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
cmp ecx, dword [ebp + 0x14]
jge 0x417cf3
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx + eax*4]
mov dword [ebp + edx*4 - 0x48], eax
jmp 0x417cd0
call dword [0x489880]
test eax, eax
jne 0x417d21
mov dword [ebp - 0x107c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00418d00
mov eax, dword [ebp - 0x107c]
jmp 0x4181f8
push 0x14
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x418133
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx], 0
je 0x418129
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x4c], ecx
push 0x258
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x41811d
push 0x258
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
je 0x418113
push 0x3c
push 0
lea edx, [ebp - 0xac]
push edx
call fcn.00422100
add esp, 0xc
mov dword [ebp - 0xac], 0x3c
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], 0x12c
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x7c], 0x12c
lea edx, [ebp - 0xac]
push edx
push 0
push 0
mov eax, dword [ebp + 0x1c]
push eax
call dword [0x489884]
cmp eax, 1
jne 0x418109
push 0x10000000
push 0
push 0
push 1
mov ecx, dword [ebp + 0x28]
push ecx
call dword [0x489888]
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0
je 0x418109
mov dword [ebp - 0xb4], 0xaa0
push 4
lea edx, [ebp - 0xb4]
push edx
push 0x54
mov eax, dword [ebp - 0xb0]
push eax
call dword [0x48988c]
cmp eax, 1
jne 0x4180fc
mov dword [ebp - 0xb8], 0x7e0000
push 0
mov ecx, dword [ebp - 0xb8]
push ecx
push 0x418780
mov edx, dword [ebp - 0xb0]
push edx
call dword [0x489890]
push 0
movzx eax, word [ebp - 0x94]
push eax
mov ecx, dword [ebp - 0x6c]
push ecx
mov edx, dword [ebp - 0xb0]
push edx
call dword [0x489894]
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0
je 0x4180fc
movzx eax, word [ebp - 0x94]
sub eax, 0x1bb
neg eax
sbb eax, eax
and eax, 0xff800000
add eax, 0x800000
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xc0]
push ecx
lea edx, [ebp - 0x18]
push edx
push 0
push 0
mov eax, dword [ebp - 0x70]
push eax
push 0x435bb0
mov ecx, dword [ebp - 0xbc]
push ecx
call dword [0x489898]
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0
je 0x4180ef
mov dword [ebp - 0xc8], 0
cmp dword [ebp + 8], 1
jne 0x417f1d
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 1
push 0
mov ecx, dword [ebp - 0xc4]
push ecx
call dword [0x4898b4]
mov dword [ebp - 0xc8], eax
cmp dword [ebp + 8], 0
je 0x417f3a
cmp dword [ebp + 8], 1
jne 0x4180e2
cmp dword [ebp - 0xc8], 1
jne 0x4180e2
mov edx, dword [ebp - 0x10]
push edx
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0xc4]
push eax
call dword [0x48989c]
cmp eax, 1
jne 0x4180e2
mov ecx, dword [ebp + 0x2c]
push ecx
push 0
lea edx, [ebp - 0x4c]
push edx
mov eax, dword [ebp + 0x14]
add eax, 1
push eax
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jne 0x4180e2
push 0
mov ecx, dword [ebp - 0xc4]
push ecx
call dword [0x4898a0]
cmp eax, 1
jne 0x4180e2
mov edx, dword [ebp + 0x2c]
push edx
push 0
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp + 0x14]
add ecx, 1
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jne 0x4180e2
mov dword [ebp - 0xcc], 0xbb8
push 0
lea edx, [ebp - 0xcc]
push edx
lea eax, [ebp - 0xc84]
push eax
push 0
push 0x13
mov ecx, dword [ebp - 0xc4]
push ecx
call dword [0x4898a4]
test eax, eax
jne 0x417ff2
jmp 0x4180e2
lea edx, [ebp - 0xc84]
push edx
call fcn.00424433
add esp, 4
mov dword [ebp - 0x1070], eax
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp - 0x1070]
mov dword [eax], ecx
cmp dword [ebp - 0x1070], 0xc8
je 0x418023
jmp 0x4180e2
mov byte [ebp - 0x106c], 0
push 0x3e7
push 0
lea edx, [ebp - 0x106b]
push edx
call fcn.00422100
add esp, 0xc
mov eax, 1
test eax, eax
je 0x4180e2
push 0
push 0x3e8
lea ecx, [ebp - 0x106c]
push ecx
mov edx, dword [ebp - 0xc4]
push edx
call dword [0x4898ac]
test eax, eax
jne 0x41806e
jmp 0x4180e2
mov eax, dword [ebp + 0x2c]
push eax
push 0
lea ecx, [ebp - 0x4c]
push ecx
mov edx, dword [ebp + 0x14]
add edx, 1
push edx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x418090
jmp 0x4180e2
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x10], 0
jne 0x4180a2
mov dword [ebp - 0x20], 1
jmp 0x4180e2
lea ecx, [ebp - 0x1084]
push ecx
lea ecx, [ebp - 0x64]
call fcn.00418d50
mov edx, dword [eax]
mov dword [ebp - 0x1080], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x10]
lea edx, [ebp + ecx - 0x106c]
push edx
lea eax, [ebp - 0x106c]
push eax
mov ecx, dword [ebp - 0x1080]
push ecx
lea ecx, [ebp - 0x64]
call fcn.00418f40
jmp 0x418040
mov edx, dword [ebp - 0xc4]
push edx
call dword [0x4898b0]
mov eax, dword [ebp - 0xbc]
push eax
call dword [0x4898b0]
mov ecx, dword [ebp - 0xb0]
push ecx
call dword [0x4898b0]
mov edx, dword [ebp - 0x70]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x20], 1
jne 0x4181d9
mov dword [ebp - 0x1074], 0
lea ecx, [ebp - 0x64]
call fcn.00418d80
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x1074], eax
cmp dword [ebp - 0x1074], 0
jne 0x418188
mov dword [ebp - 0x1088], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00418d00
mov eax, dword [ebp - 0x1088]
jmp 0x4181f8
lea ecx, [ebp - 0x64]
call fcn.00418d80
push eax
lea ecx, [ebp - 0x64]
call fcn.00418da0
push eax
mov ecx, dword [ebp - 0x1074]
push ecx
call fcn.00422a00
add esp, 0xc
lea ecx, [ebp - 0x64]
call fcn.00418d80
mov edx, dword [ebp + 0x20]
mov dword [edx], eax
mov eax, dword [ebp - 0x1074]
mov dword [ebp - 0x108c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00418d00
mov eax, dword [ebp - 0x108c]
jmp 0x4181f8
mov dword [ebp - 0x1090], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00418d00
mov eax, dword [ebp - 0x1090]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret