Function at 0x406c30
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4441a2
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x5cc
mov eax, dword [0x45b864]
xor eax, ebp
mov dword [ebp - 0x5c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x5c0], ecx
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x168], 0
push 0x103
push 0
lea eax, [ebp - 0x167]
push eax
call fcn.0042c680
add esp, 0xc
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x3c]
push edx
call fcn.004067e0
add esp, 8
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x3c]
call fcn.00407b30
push eax
mov eax, dword [ebp + 0xc]
push eax
push str._s__s
lea ecx, [ebp - 0x168]
push ecx
call fcn.00429869
add esp, 0x10
push 0xffffffffffffffff
lea ecx, [ebp - 0x3c]
call fcn.00407b70
lea ecx, [ebp - 0x50]
call fcn.004079b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x16c]
call fcn.004079b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x174]
call fcn.004079b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x180]
call fcn.004079b0
mov byte [ebp - 4], 4
mov edx, dword [ebp + 8]
push edx
push 0x44dc20
lea eax, [ebp - 0x180]
push eax
call fcn.00408870
add esp, 0xc
lea ecx, [ebp - 0x40]
call fcn.004079b0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x38]
call fcn.004079b0
mov byte [ebp - 4], 6
push 0
push 0
push 0
push 0
push 1
push 0
lea ecx, [ebp - 0x28]
call fcn.0040b9a2
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x14]
call fcn.004079b0
mov byte [ebp - 4], 8
push str.https:__
lea ecx, [ebp - 0x178]
call fcn.004079f0
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x180]
push ecx
mov edx, dword [ebp - 0x178]
push edx
push str._s_s
lea eax, [ebp - 0x14]
push eax
call fcn.00408870
add esp, 0x10
lea ecx, [ebp - 0x17c]
push ecx
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004010a0
push eax
call fcn.0040bfb7
mov dword [ebp - 0x48], eax
push 0
push 0x4e20
push 2
lea ecx, [ebp - 0x28]
call fcn.004065b0
mov dword [ebp - 0x54], eax
push 1
lea ecx, [ebp - 0x28]
call fcn.0040ba03
mov dword [ebp - 0x54], eax
push 0
push 0
movzx edx, word [ebp - 0x17c]
push edx
push 0x800000
lea ecx, [ebp - 0x180]
call fcn.004010a0
push eax
lea ecx, [ebp - 0x28]
call fcn.0040c477
mov dword [ebp - 0x34], eax
push 0xa4803000
push 0
push 0
push 1
push 0
lea eax, [ebp - 0x168]
push eax
push 1
mov ecx, dword [ebp - 0x34]
call fcn.0040c531
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x188]
push ecx
push 0x3f
mov ecx, dword [ebp - 0x58]
call fcn.0040b112
mov dword [ebp - 0x5c4], eax
mov edx, dword [ebp - 0x5c4]
mov dword [ebp - 0x18c], edx
mov eax, dword [ebp - 0x188]
or eax, 0x100
mov dword [ebp - 0x188], eax
push 0
mov ecx, dword [ebp - 0x188]
push ecx
push 0x1f
mov ecx, dword [ebp - 0x58]
call fcn.004065e0
mov dword [ebp - 0x5c8], eax
mov edx, dword [ebp - 0x5c8]
mov dword [ebp - 0x170], edx
lea ecx, [ebp - 0x184]
call fcn.004079b0
mov byte [ebp - 4], 0xb
push str.Content_Type:_application_x_www_form_urlencoded
push 0x44dc68
lea eax, [ebp - 0x184]
push eax
call fcn.00408870
add esp, 0xc
push 0
push 0
lea ecx, [ebp - 0x184]
push ecx
mov ecx, dword [ebp - 0x58]
call fcn.0040bf4f
mov dword [ebp - 0x5cc], eax
cmp dword [ebp - 0x5cc], 0
je 0x406edc
push 0
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x2c]
push eax
push 0x20000013
mov ecx, dword [ebp - 0x58]
call fcn.0040b1a9
cmp dword [ebp - 0x2c], 0xc8
je 0x406eef
cmp dword [ebp - 0x2c], 0
jne 0x406fc6
push 0x1001
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x19c]
call fcn.0040d869
mov dword [ebp - 0x5d0], eax
mov byte [ebp - 4], 0xc
mov edx, 1
test edx, edx
je 0x406fa5
mov byte [ebp - 0x5a0], 0
push 0x3ff
push 0
lea eax, [ebp - 0x59f]
push eax
call fcn.0042c680
add esp, 0xc
push 0x400
lea ecx, [ebp - 0x5a0]
push ecx
mov edx, dword [ebp - 0x58]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x58]
mov edx, dword [eax + 0x34]
call edx
mov dword [ebp - 0x5d4], eax
mov eax, dword [ebp - 0x5d4]
mov dword [ebp - 0x5a4], eax
mov ecx, dword [ebp - 0x5a4]
push ecx
mov edx, dword [ebp + 0x18]
push edx
push 0x7d1
mov eax, dword [ebp + 0x14]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 0x5a4]
push ecx
lea edx, [ebp - 0x5a0]
push edx
lea ecx, [ebp - 0x19c]
call fcn.0040ce1f
cmp dword [ebp - 0x5a4], 0
jg 0x406fa0
jmp 0x406fa5
jmp 0x406f0d
lea ecx, [ebp - 0x19c]
call fcn.0040d083
mov dword [ebp - 0x44], 1
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x19c]
call fcn.0040d24e
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x184]
call fcn.00407a70
jmp 0x406ffb
mov dword [ebp - 4], 9
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x5b0], ecx
mov edx, dword [ebp - 0x5b0]
mov dword [ebp - 0x5ac], edx
cmp dword [ebp - 0x5ac], 0
je 0x40703d
push 1
mov eax, dword [ebp - 0x5ac]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x5ac]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x5d8], eax
jmp 0x407047
mov dword [ebp - 0x5d8], 0
mov dword [ebp - 0x58], 0
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x5b8], ecx
mov edx, dword [ebp - 0x5b8]
mov dword [ebp - 0x5b4], edx
cmp dword [ebp - 0x5b4], 0
je 0x407089
push 1
mov eax, dword [ebp - 0x5b4]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x5b4]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x5dc], eax
jmp 0x407093
mov dword [ebp - 0x5dc], 0
mov dword [ebp - 0x34], 0
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x5bc], ecx
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x178]
call fcn.00407a70
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x14]
call fcn.00407a70
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
call fcn.0040c12f
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x38]
call fcn.00407a70
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.00407a70
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x180]
call fcn.00407a70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x174]
call fcn.00407a70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x16c]
call fcn.00407a70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.00407a70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00407a70
mov eax, dword [ebp - 0x5bc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x5c]
xor ecx, ebp
call fcn.004297fd
mov esp, ebp
pop ebp
ret 0x14