Function at 0x418390
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x431288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x1084
call fcn.004235c0
mov dword [ebp - 0x18], 0x436d34
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.00419450
mov dword [ebp - 4], 0
cmp dword [ebp + 0x14], 0xa
jle 0x418447
mov dword [ebp - 0x1078], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00419480
mov eax, dword [ebp - 0x1078]
jmp 0x418978
mov dword [ebp - 0x68], 0
jmp 0x418459
mov eax, dword [ebp - 0x68]
add eax, 1
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
cmp ecx, dword [ebp + 0x14]
jge 0x418473
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 0x418450
call dword [0x48c4cc]
test eax, eax
jne 0x4184a1
mov dword [ebp - 0x107c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00419480
mov eax, dword [ebp - 0x107c]
jmp 0x418978
push 0x14
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4188b3
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 0x4188a9
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 0x41889d
push 0x258
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
je 0x418893
push 0x3c
push 0
lea edx, [ebp - 0xac]
push edx
call fcn.00422900
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 [0x48c4d0]
cmp eax, 1
jne 0x418889
push 0x10000000
push 0
push 0
push 1
mov ecx, dword [ebp + 0x28]
push ecx
call dword [0x48c4d4]
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0
je 0x418889
mov dword [ebp - 0xb4], 0xaa0
push 4
lea edx, [ebp - 0xb4]
push edx
push 0x54
mov eax, dword [ebp - 0xb0]
push eax
call dword [0x48c4d8]
cmp eax, 1
jne 0x41887c
mov dword [ebp - 0xb8], 0x7e0000
push 0
mov ecx, dword [ebp - 0xb8]
push ecx
push 0x418f00
mov edx, dword [ebp - 0xb0]
push edx
call dword [0x48c4dc]
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 [0x48c4e0]
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0
je 0x41887c
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 0x436d3c
mov ecx, dword [ebp - 0xbc]
push ecx
call dword [0x48c4e4]
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0
je 0x41886f
mov dword [ebp - 0xc8], 0
cmp dword [ebp + 8], 1
jne 0x41869d
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 [0x48c500]
mov dword [ebp - 0xc8], eax
cmp dword [ebp + 8], 0
je 0x4186ba
cmp dword [ebp + 8], 1
jne 0x418862
cmp dword [ebp - 0xc8], 1
jne 0x418862
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 [0x48c4e8]
cmp eax, 1
jne 0x418862
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 0x418862
push 0
mov ecx, dword [ebp - 0xc4]
push ecx
call dword [0x48c4ec]
cmp eax, 1
jne 0x418862
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 0x418862
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 [0x48c4f0]
test eax, eax
jne 0x418772
jmp 0x418862
lea edx, [ebp - 0xc84]
push edx
call fcn.00424c32
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 0x4187a3
jmp 0x418862
mov byte [ebp - 0x106c], 0
push 0x3e7
push 0
lea edx, [ebp - 0x106b]
push edx
call fcn.00422900
add esp, 0xc
mov eax, 1
test eax, eax
je 0x418862
push 0
push 0x3e8
lea ecx, [ebp - 0x106c]
push ecx
mov edx, dword [ebp - 0xc4]
push edx
call dword [0x48c4f8]
test eax, eax
jne 0x4187ee
jmp 0x418862
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 0x418810
jmp 0x418862
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x10], 0
jne 0x418822
mov dword [ebp - 0x20], 1
jmp 0x418862
lea ecx, [ebp - 0x1084]
push ecx
lea ecx, [ebp - 0x64]
call fcn.004194d0
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.004196c0
jmp 0x4187c0
mov edx, dword [ebp - 0xc4]
push edx
call dword [0x48c4fc]
mov eax, dword [ebp - 0xbc]
push eax
call dword [0x48c4fc]
mov ecx, dword [ebp - 0xb0]
push ecx
call dword [0x48c4fc]
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 0x418959
mov dword [ebp - 0x1074], 0
lea ecx, [ebp - 0x64]
call fcn.00419500
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x1074], eax
cmp dword [ebp - 0x1074], 0
jne 0x418908
mov dword [ebp - 0x1088], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00419480
mov eax, dword [ebp - 0x1088]
jmp 0x418978
lea ecx, [ebp - 0x64]
call fcn.00419500
push eax
lea ecx, [ebp - 0x64]
call fcn.00419520
push eax
mov ecx, dword [ebp - 0x1074]
push ecx
call fcn.004231d0
add esp, 0xc
lea ecx, [ebp - 0x64]
call fcn.00419500
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.00419480
mov eax, dword [ebp - 0x108c]
jmp 0x418978
mov dword [ebp - 0x1090], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00419480
mov eax, dword [ebp - 0x1090]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret