Function at 0x416f90
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 0x41720c
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.004032fc
cmp byte [edi + 0xb4], 0
sete bl
lea ecx, [ebp - 8]
mov edx, 0x22
mov eax, dword [edi + 0x50]
call fcn.00415974
cmp dword [edi + 0xd4], 0
je 0x417006
lea ecx, [ebp - 0x10]
mov edx, dword [ebp - 8]
mov eax, dword [edi + 0xd4]
call fcn.00415328
mov edx, dword [ebp - 0x10]
mov cl, 1
mov eax, dword [edi + 0x50]
call fcn.004158b4
mov cl, 1
mov edx, dword [edi + 0x60]
mov eax, dword [edi + 0x50]
call fcn.004158b4
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 0x417039
call sub.kernel32.dll_GetLastError_1
mov esi, eax
jmp 0x4171f1
cmp byte [edi + 8], 0
jne 0x4171f1
test bl, bl
je 0x417064
cmp byte [edi + 0x55], 0
je 0x417064
cmp byte [edi + 0x54], 0
jne 0x417064
mov eax, edi
call fcn.00417230
mov esi, eax
test esi, esi
jne 0x4171f1
push 0
mov eax, dword [edi + 0x50]
push eax
call sub.winhttp.dll_WinHttpReceiveResponse
test eax, eax
jne 0x41707f
call sub.kernel32.dll_GetLastError_1
mov esi, eax
jmp 0x4171f1
lea ecx, [ebp - 8]
mov edx, 0x22
mov eax, dword [edi + 0x50]
call fcn.00415974
lea eax, [ebp - 0x10]
push eax
xor ecx, ecx
mov edx, 0x13
mov eax, dword [edi + 0x50]
call fcn.00415a30
mov eax, dword [ebp - 0x10]
call fcn.00406a4c
mov dword [edi + 0x34], eax
lea eax, [ebp - 0x10]
push eax
xor ecx, ecx
mov edx, 5
mov eax, dword [edi + 0x50]
call fcn.00415a30
mov eax, dword [ebp - 0x10]
call fcn.004064ac
call fcn.00402698
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], edx
cmp byte [edi + 0xc4], 0
je 0x4170f3
cmp dword [edi + 0x34], 0xce
jne 0x4170f3
mov eax, dword [edi + 0x68]
call fcn.00415e5c
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.00415a30
mov edx, dword [ebp - 0x10]
lea eax, [edi + 0x40]
call fcn.00403350
lea eax, [ebp - 0x10]
push eax
xor ecx, ecx
mov edx, 0x16
mov eax, dword [edi + 0x50]
call fcn.00415a30
mov edx, dword [ebp - 0x10]
lea eax, [edi + 0x44]
call fcn.00403350
mov ebx, dword [edi + 0xd4]
test ebx, ebx
je 0x417151
lea edx, [ebp - 0x10]
mov eax, dword [edi + 0x50]
call fcn.00415b0c
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004152c0
cmp dword [edi + 0x34], 0x197
jne 0x417188
cmp byte [ebp - 1], 0
jne 0x417188
mov byte [ebp - 1], 1
mov eax, edi
call fcn.004160bc
test al, al
jne 0x417176
mov esi, 0x3e3
jmp 0x4171f1
cmp byte [edi + 0xb4], 2
setne bl
mov byte [ebp - 2], bl
jmp 0x416fdf
cmp dword [edi + 0x34], 0x191
jne 0x4171c6
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00403658
je 0x4171c6
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00403394
mov eax, edi
call fcn.00415fdc
test al, al
jne 0x4171bb
mov esi, 0x3e3
jmp 0x4171f1
mov bl, 1
mov byte [ebp - 2], 1
jmp 0x416fdf
cmp byte [edi + 0xb4], 0
je 0x4171ef
cmp dword [edi + 0x34], 0xc8
jne 0x4171ef
cmp byte [edi + 0x54], 0
jne 0x4171ef
cmp byte [ebp - 2], 0
jne 0x4171ef
mov bl, 1
mov byte [ebp - 2], 1
jmp 0x416fdf
xor esi, esi
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x417213
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00403320
ret