Function at 0x417a70
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x430968
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x1084
call fcn.00422cd0
mov dword [ebp - 0x18], 0x435ae0
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.00418b30
mov dword [ebp - 4], 0
cmp dword [ebp + 0x14], 0xa
jle 0x417b27
mov dword [ebp - 0x1078], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00418b60
mov eax, dword [ebp - 0x1078]
jmp 0x418058
mov dword [ebp - 0x68], 0
jmp 0x417b39
mov eax, dword [ebp - 0x68]
add eax, 1
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
cmp ecx, dword [ebp + 0x14]
jge 0x417b53
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 0x417b30
call dword [0x489c88]
test eax, eax
jne 0x417b81
mov dword [ebp - 0x107c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00418b60
mov eax, dword [ebp - 0x107c]
jmp 0x418058
push 0x14
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x417f93
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 0x417f89
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 0x417f7d
push 0x258
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
je 0x417f73
push 0x3c
push 0
lea edx, [ebp - 0xac]
push edx
call fcn.00421fe0
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 [0x489c8c]
cmp eax, 1
jne 0x417f69
push 0x10000000
push 0
push 0
push 1
mov ecx, dword [ebp + 0x28]
push ecx
call dword [0x489c90]
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0
je 0x417f69
mov dword [ebp - 0xb4], 0xaa0
push 4
lea edx, [ebp - 0xb4]
push edx
push 0x54
mov eax, dword [ebp - 0xb0]
push eax
call dword [0x489c94]
cmp eax, 1
jne 0x417f5c
mov dword [ebp - 0xb8], 0x7e0000
push 0
mov ecx, dword [ebp - 0xb8]
push ecx
push 0x4185e0
mov edx, dword [ebp - 0xb0]
push edx
call dword [0x489c98]
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 [0x489c9c]
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0
je 0x417f5c
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 0x435ae8
mov ecx, dword [ebp - 0xbc]
push ecx
call dword [0x489ca0]
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0
je 0x417f4f
mov dword [ebp - 0xc8], 0
cmp dword [ebp + 8], 1
jne 0x417d7d
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 [0x489cbc]
mov dword [ebp - 0xc8], eax
cmp dword [ebp + 8], 0
je 0x417d9a
cmp dword [ebp + 8], 1
jne 0x417f42
cmp dword [ebp - 0xc8], 1
jne 0x417f42
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 [0x489ca4]
cmp eax, 1
jne 0x417f42
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 0x417f42
push 0
mov ecx, dword [ebp - 0xc4]
push ecx
call dword [0x489ca8]
cmp eax, 1
jne 0x417f42
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 0x417f42
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 [0x489cac]
test eax, eax
jne 0x417e52
jmp 0x417f42
lea edx, [ebp - 0xc84]
push edx
call fcn.00424342
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 0x417e83
jmp 0x417f42
mov byte [ebp - 0x106c], 0
push 0x3e7
push 0
lea edx, [ebp - 0x106b]
push edx
call fcn.00421fe0
add esp, 0xc
mov eax, 1
test eax, eax
je 0x417f42
push 0
push 0x3e8
lea ecx, [ebp - 0x106c]
push ecx
mov edx, dword [ebp - 0xc4]
push edx
call dword [0x489cb4]
test eax, eax
jne 0x417ece
jmp 0x417f42
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 0x417ef0
jmp 0x417f42
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x10], 0
jne 0x417f02
mov dword [ebp - 0x20], 1
jmp 0x417f42
lea ecx, [ebp - 0x1084]
push ecx
lea ecx, [ebp - 0x64]
call fcn.00418bb0
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.00418da0
jmp 0x417ea0
mov edx, dword [ebp - 0xc4]
push edx
call dword [0x489cb8]
mov eax, dword [ebp - 0xbc]
push eax
call dword [0x489cb8]
mov ecx, dword [ebp - 0xb0]
push ecx
call dword [0x489cb8]
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 0x418039
mov dword [ebp - 0x1074], 0
lea ecx, [ebp - 0x64]
call fcn.00418be0
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x1074], eax
cmp dword [ebp - 0x1074], 0
jne 0x417fe8
mov dword [ebp - 0x1088], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00418b60
mov eax, dword [ebp - 0x1088]
jmp 0x418058
lea ecx, [ebp - 0x64]
call fcn.00418be0
push eax
lea ecx, [ebp - 0x64]
call fcn.00418c00
push eax
mov ecx, dword [ebp - 0x1074]
push ecx
call fcn.004228e0
add esp, 0xc
lea ecx, [ebp - 0x64]
call fcn.00418be0
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.00418b60
mov eax, dword [ebp - 0x108c]
jmp 0x418058
mov dword [ebp - 0x1090], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00418b60
mov eax, dword [ebp - 0x1090]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret