Function at 0x419ccc
Capabilities:
Check http status code
Receive http response

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov edi, eax
xor eax, eax
push ebp
push 0x419f48
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, 0x3e3
mov byte [edi + 0x54], 0
mov byte [ebp - 2], 0
mov byte [ebp - 1], 0
lea eax, [ebp - 0xc]
call fcn.004030f0
cmp byte [edi + 0xb4], 0
sete bl
lea ecx, [ebp - 8]
mov edx, 0x22
mov eax, dword [edi + 0x50]
call fcn.004186b0
cmp dword [edi + 0xd4], 0
je 0x419d42
lea ecx, [ebp - 0x10]
mov edx, dword [ebp - 8]
mov eax, dword [edi + 0xd4]
call fcn.00418084
mov edx, dword [ebp - 0x10]
mov cl, 1
mov eax, dword [edi + 0x50]
call fcn.004185f0
mov cl, 1
mov edx, dword [edi + 0x60]
mov eax, dword [edi + 0x50]
call fcn.004185f0
push edi
mov eax, dword [edi + 0x58]
push eax
push 0
push 0
push 0
push 0
mov eax, dword [edi + 0x50]
push eax
call sub.winhttp.dll_WinHttpSendRequest
test eax, eax
jne 0x419d75
call sub.kernel32.dll_GetLastError_1
mov esi, eax
jmp 0x419f2d
cmp byte [edi + 8], 0
jne 0x419f2d
test bl, bl
je 0x419da0
cmp byte [edi + 0x55], 0
je 0x419da0
cmp byte [edi + 0x54], 0
jne 0x419da0
mov eax, edi
call fcn.00419f6c
mov esi, eax
test esi, esi
jne 0x419f2d
push 0
mov eax, dword [edi + 0x50]
push eax
call sub.winhttp.dll_WinHttpReceiveResponse
test eax, eax
jne 0x419dbb
call sub.kernel32.dll_GetLastError_1
mov esi, eax
jmp 0x419f2d
lea ecx, [ebp - 8]
mov edx, 0x22
mov eax, dword [edi + 0x50]
call fcn.004186b0
lea eax, [ebp - 0x10]
push eax
xor ecx, ecx
mov edx, 0x13
mov eax, dword [edi + 0x50]
call fcn.0041876c
mov eax, dword [ebp - 0x10]
call fcn.00406b28
mov dword [edi + 0x34], eax
lea eax, [ebp - 0x10]
push eax
xor ecx, ecx
mov edx, 5
mov eax, dword [edi + 0x50]
call fcn.0041876c
mov eax, dword [ebp - 0x10]
call fcn.004065c0
call fcn.00402624
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], edx
cmp byte [edi + 0xc4], 0
je 0x419e2f
cmp dword [edi + 0x34], 0xce
jne 0x419e2f
mov eax, dword [edi + 0x68]
call fcn.00418b98
add dword [edi + 0x38], eax
adc dword [edi + 0x3c], edx
lea eax, [ebp - 0x10]
push eax
xor ecx, ecx
mov edx, 1
mov eax, dword [edi + 0x50]
call fcn.0041876c
mov edx, dword [ebp - 0x10]
lea eax, [edi + 0x40]
call fcn.00403144
lea eax, [ebp - 0x10]
push eax
xor ecx, ecx
mov edx, 0x16
mov eax, dword [edi + 0x50]
call fcn.0041876c
mov edx, dword [ebp - 0x10]
lea eax, [edi + 0x44]
call fcn.00403144
mov ebx, dword [edi + 0xd4]
test ebx, ebx
je 0x419e8d
lea edx, [ebp - 0x10]
mov eax, dword [edi + 0x50]
call fcn.00418848
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.0041801c
cmp dword [edi + 0x34], 0x197
jne 0x419ec4
cmp byte [ebp - 1], 0
jne 0x419ec4
mov byte [ebp - 1], 1
mov eax, edi
call fcn.00418df8
test al, al
jne 0x419eb2
mov esi, 0x3e3
jmp 0x419f2d
cmp byte [edi + 0xb4], 2
setne bl
mov byte [ebp - 2], bl
jmp 0x419d1b
cmp dword [edi + 0x34], 0x191
jne 0x419f02
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.0040344c
je 0x419f02
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00403188
mov eax, edi
call fcn.00418d18
test al, al
jne 0x419ef7
mov esi, 0x3e3
jmp 0x419f2d
mov bl, 1
mov byte [ebp - 2], 1
jmp 0x419d1b
cmp byte [edi + 0xb4], 0
je 0x419f2b
cmp dword [edi + 0x34], 0xc8
jne 0x419f2b
cmp byte [edi + 0x54], 0
jne 0x419f2b
cmp byte [ebp - 2], 0
jne 0x419f2b
mov bl, 1
mov byte [ebp - 2], 1
jmp 0x419d1b
xor esi, esi
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x419f4f
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00403114
ret