Function at 0x4165bd
Capabilities:
Check http status code

Disassembly:
push 0x28
mov eax, 0x449d6f
call fcn.0042f400
mov edi, ecx
mov dword [ebp - 0x24], edi
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.00420017
push eax
lea ecx, [ebp - 0x18]
call fcn.00402160
mov byte [ebp - 4], 1
call fcn.00420017
push eax
lea ecx, [ebp - 0x14]
call fcn.00402160
mov byte [ebp - 4], 2
call fcn.00420017
push eax
lea ecx, [ebp - 0x10]
call fcn.00402160
mov esi, dword [ebp + 8]
add esi, 4
mov eax, dword [esi]
mov ecx, esi
mov byte [ebp - 4], 3
call dword [eax + 0x18]
cmp eax, ebx
mov dword [ebp - 0x20], eax
je 0x4166ff
mov eax, dword [esi]
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x20]
push ecx
mov ecx, esi
call dword [eax + 0x1c]
mov edi, 0x44f760
push edi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00409b1f
lea ecx, [ebp - 0x10]
push ecx
push eax
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 4
call fcn.00409ac8
add esp, 0x18
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.00401fa0
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004012d0
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.004012d0
cmp dword [ebp - 0x20], ebx
je 0x4166fc
mov eax, dword [esi]
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x20]
push ecx
mov ecx, esi
call dword [eax + 0x1c]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x28]
push 0x44f75c
push eax
call fcn.00409b83
push edi
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 6
call fcn.00409b1f
lea ecx, [ebp - 0x10]
push ecx
push eax
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 7
call fcn.00409ac8
add esp, 0x24
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 8
call fcn.0040dd7b
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004012d0
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.004012d0
mov ecx, dword [ebp - 0x28]
jmp 0x416677
mov edi, dword [ebp - 0x24]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0040f3ba
pop ecx
pop ecx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
mov eax, dword [eax - 0xc]
push ebx
push ecx
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0xc]
mov dword [ebp + 8], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 9
call fcn.004012f0
mov ecx, edi
call fcn.004161ef
cmp eax, ebx
mov esi, dword [sym.imp.WININET.dll_HttpSendRequestA]
je 0x41676c
push str.POST
mov ecx, edi
call fcn.004160e2
test eax, eax
je 0x41676c
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push 0xffffffffffffffff
push str.Content_Type:_application_x_www_form_urlencoded
push dword [edi + 0x247c]
call esi
test eax, eax
jne 0x416808
lea eax, [ebp + 8]
push eax
push 1
mov dword [ebp - 0x24], ebx
mov dword [ebp + 8], ebx
call fcn.00415fb3
lea eax, [ebp - 0x24]
push eax
push ebx
call fcn.00415fb3
add esp, 0x10
cmp dword [ebp - 0x24], ebx
jne 0x416799
cmp dword [ebp + 8], ebx
jne 0x4167a7
jmp 0x416884
push ebx
push ebx
call fcn.00416050
cmp dword [ebp + 8], ebx
pop ecx
pop ecx
je 0x4167b1
push ebx
push 1
call fcn.00416050
pop ecx
pop ecx
push 1
push ecx
lea eax, [ebp + 0xc]
mov dword [ebp - 0x34], esp
mov ecx, esp
push eax
call fcn.004012f0
mov ecx, edi
call fcn.004161ef
cmp eax, ebx
je 0x416865
push str.POST
mov ecx, edi
call fcn.004160e2
test eax, eax
je 0x416865
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push 0xffffffffffffffff
push str.Content_Type:_application_x_www_form_urlencoded
push dword [edi + 0x247c]
call esi
test eax, eax
je 0x416865
mov dword [0x46b2cc], 1
lea eax, [ebp - 0x30]
push eax
push 0x20000013
mov ecx, edi
call fcn.00414e46
test eax, eax
mov ecx, dword [ebp - 0x1c]
je 0x416887
xor eax, eax
cmp dword [ebp - 0x30], 0xc8
sete al
add ecx, 0xfffffff0
mov esi, eax
call fcn.004012d0
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004012d0
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004012d0
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004012d0
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004012d0
mov eax, esi
jmp 0x4168bd
cmp dword [ebp - 0x24], ebx
je 0x416874
push 1
push ebx
call fcn.00416050
pop ecx
pop ecx
cmp dword [ebp + 8], ebx
je 0x416884
push 1
push 1
call fcn.00416050
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004012d0
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004012d0
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004012d0
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004012d0
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004012d0
xor eax, eax
call fcn.0042f49f
ret 8