Function at 0x417c20
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], 0x435b8c
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.00418ce0
mov dword [ebp - 4], 0
cmp dword [ebp + 0x14], 0xa
jle 0x417cd7
mov dword [ebp - 0x1078], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00418d10
mov eax, dword [ebp - 0x1078]
jmp 0x418208
mov dword [ebp - 0x68], 0
jmp 0x417ce9
mov eax, dword [ebp - 0x68]
add eax, 1
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
cmp ecx, dword [ebp + 0x14]
jge 0x417d03
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 0x417ce0
call dword [0x4897e4]
test eax, eax
jne 0x417d31
mov dword [ebp - 0x107c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00418d10
mov eax, dword [ebp - 0x107c]
jmp 0x418208
push 0x14
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x418143
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 0x418139
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 0x41812d
push 0x258
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
je 0x418123
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 [0x4897e8]
cmp eax, 1
jne 0x418119
push 0x10000000
push 0
push 0
push 1
mov ecx, dword [ebp + 0x28]
push ecx
call dword [0x4897ec]
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0
je 0x418119
mov dword [ebp - 0xb4], 0xaa0
push 4
lea edx, [ebp - 0xb4]
push edx
push 0x54
mov eax, dword [ebp - 0xb0]
push eax
call dword [0x4897f0]
cmp eax, 1
jne 0x41810c
mov dword [ebp - 0xb8], 0x7e0000
push 0
mov ecx, dword [ebp - 0xb8]
push ecx
push 0x418790
mov edx, dword [ebp - 0xb0]
push edx
call dword [0x4897f4]
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 [0x4897f8]
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0
je 0x41810c
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 0x435b94
mov ecx, dword [ebp - 0xbc]
push ecx
call dword [0x4897fc]
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0
je 0x4180ff
mov dword [ebp - 0xc8], 0
cmp dword [ebp + 8], 1
jne 0x417f2d
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 [0x489818]
mov dword [ebp - 0xc8], eax
cmp dword [ebp + 8], 0
je 0x417f4a
cmp dword [ebp + 8], 1
jne 0x4180f2
cmp dword [ebp - 0xc8], 1
jne 0x4180f2
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 [0x489800]
cmp eax, 1
jne 0x4180f2
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 0x4180f2
push 0
mov ecx, dword [ebp - 0xc4]
push ecx
call dword [0x489804]
cmp eax, 1
jne 0x4180f2
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 0x4180f2
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 [0x489808]
test eax, eax
jne 0x418002
jmp 0x4180f2
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 0x418033
jmp 0x4180f2
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 0x4180f2
push 0
push 0x3e8
lea ecx, [ebp - 0x106c]
push ecx
mov edx, dword [ebp - 0xc4]
push edx
call dword [0x489810]
test eax, eax
jne 0x41807e
jmp 0x4180f2
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 0x4180a0
jmp 0x4180f2
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x10], 0
jne 0x4180b2
mov dword [ebp - 0x20], 1
jmp 0x4180f2
lea ecx, [ebp - 0x1084]
push ecx
lea ecx, [ebp - 0x64]
call fcn.00418d60
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.00418f50
jmp 0x418050
mov edx, dword [ebp - 0xc4]
push edx
call dword [0x489814]
mov eax, dword [ebp - 0xbc]
push eax
call dword [0x489814]
mov ecx, dword [ebp - 0xb0]
push ecx
call dword [0x489814]
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 0x4181e9
mov dword [ebp - 0x1074], 0
lea ecx, [ebp - 0x64]
call fcn.00418d90
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x1074], eax
cmp dword [ebp - 0x1074], 0
jne 0x418198
mov dword [ebp - 0x1088], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00418d10
mov eax, dword [ebp - 0x1088]
jmp 0x418208
lea ecx, [ebp - 0x64]
call fcn.00418d90
push eax
lea ecx, [ebp - 0x64]
call fcn.00418db0
push eax
mov ecx, dword [ebp - 0x1074]
push ecx
call fcn.00422a00
add esp, 0xc
lea ecx, [ebp - 0x64]
call fcn.00418d90
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.00418d10
mov eax, dword [ebp - 0x108c]
jmp 0x418208
mov dword [ebp - 0x1090], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00418d10
mov eax, dword [ebp - 0x1090]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret