Function at 0x401c0a
Capabilities:
Check http status code
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa88
nop
mov eax, 0
mov dword [ebp - 0x24], eax
mov eax, 0
mov byte [ebp - 0x124], al
mov eax, 0xff
push eax
mov eax, 0
push eax
lea eax, [ebp - 0x123]
push eax
call fcn.00402968
add esp, 0xc
mov eax, 0
mov byte [ebp - 0x224], al
mov eax, 0xff
push eax
mov eax, 0
push eax
lea eax, [ebp - 0x223]
push eax
call fcn.00402968
add esp, 0xc
mov eax, 0x500000
push eax
call fcn.004029a8
add esp, 4
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x22c], eax
mov eax, 0x500000
push eax
mov eax, 0
push eax
mov eax, dword [ebp - 0x228]
push eax
call fcn.00402968
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x228]
mov dword [eax], ecx
mov eax, 0x3c
push eax
mov eax, 0
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.00402968
add esp, 0xc
mov eax, 0x3c
mov dword [ebp - 0x268], eax
lea eax, [ebp - 0x268]
add eax, 0x10
lea ecx, [ebp - 0x124]
mov dword [eax], ecx
lea eax, [ebp - 0x268]
add eax, 0x14
mov ecx, 0x100
mov dword [eax], ecx
lea eax, [ebp - 0x268]
add eax, 0x2c
lea ecx, [ebp - 0x224]
mov dword [eax], ecx
lea eax, [ebp - 0x268]
add eax, 0x30
mov ecx, 0x100
mov dword [eax], ecx
mov eax, 0x40310a
push eax
call int.00402958
mov dword [ebp - 0x26c], eax
mov eax, 0x403116
push eax
mov eax, dword [ebp - 0x26c]
push eax
call fcn.00402960
mov dword [ebp - 4], eax
mov eax, 0x403128
push eax
mov eax, dword [ebp - 0x26c]
push eax
call fcn.00402960
mov dword [ebp - 8], eax
mov eax, 0x403136
push eax
mov eax, dword [ebp - 0x26c]
push eax
call fcn.00402960
mov dword [ebp - 0xc], eax
mov eax, 0x403147
push eax
mov eax, dword [ebp - 0x26c]
push eax
call fcn.00402960
mov dword [ebp - 0x10], eax
mov eax, 0x403158
push eax
mov eax, dword [ebp - 0x26c]
push eax
call fcn.00402960
mov dword [ebp - 0x14], eax
mov eax, 0x403169
push eax
mov eax, dword [ebp - 0x26c]
push eax
call fcn.00402960
mov dword [ebp - 0x18], eax
mov eax, 0x40317a
push eax
mov eax, dword [ebp - 0x26c]
push eax
call fcn.00402960
mov dword [ebp - 0x1c], eax
mov eax, 0x40318e
push eax
mov eax, dword [ebp - 0x26c]
push eax
call fcn.00402960
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
push eax
call fcn.00402980
add esp, 4
lea ecx, [ebp - 0x268]
push ecx
mov ecx, 0
push ecx
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call eax
test eax, eax
je 0x401dff
jmp 0x401e07
mov eax, dword [ebp - 0x24]
jmp 0x4021a8
mov eax, 0
mov dword [ebp - 0x270], eax
mov eax, 0
mov dword [ebp - 0x274], eax
mov eax, 0
mov dword [ebp - 0x278], eax
mov eax, 0
mov dword [ebp - 0x27c], eax
mov eax, 4
mov dword [ebp - 0x280], eax
mov eax, 0
mov byte [ebp - 0xa81], al
mov eax, 0x800
push eax
mov eax, 0
push eax
lea eax, [ebp - 0xa80]
push eax
call fcn.00402968
add esp, 0xc
mov eax, 0
push eax
mov eax, 0
push eax
mov eax, 0
push eax
mov eax, 0
push eax
mov eax, 0x40319d
push eax
mov eax, dword [ebp - 8]
call eax
mov dword [ebp - 0x270], eax
mov eax, dword [ebp - 0x270]
test eax, eax
je 0x401ea0
jmp 0x401ea5
jmp 0x402152
lea eax, [ebp - 0x268]
add eax, 0x10
lea ecx, [ebp - 0x268]
add ecx, 0x18
mov edx, 0
push edx
mov edx, 0
push edx
mov edx, 3
push edx
mov edx, 0
push edx
mov edx, 0
push edx
movzx edx, word [ecx]
push edx
mov ecx, dword [eax]
push ecx
mov eax, dword [ebp - 0x270]
push eax
mov eax, dword [ebp - 0xc]
call eax
mov dword [ebp - 0x274], eax
mov eax, dword [ebp - 0x274]
test eax, eax
je 0x401f01
jmp 0x401f06
jmp 0x402152
mov eax, 0x403221
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.004029e8
add esp, 8
cmp eax, 0
je 0x401f68
lea eax, [ebp - 0x268]
add eax, 0x2c
mov ecx, 0
push ecx
mov ecx, 0x84a00000
push ecx
mov ecx, 0
push ecx
mov ecx, 0
push ecx
mov ecx, 0
push ecx
mov ecx, dword [eax]
push ecx
mov eax, 0x403227
push eax
mov eax, dword [ebp - 0x274]
push eax
mov eax, dword [ebp - 0x10]
call eax
mov dword [ebp - 0x278], eax
jmp 0x401ff9
lea eax, [ebp - 0x268]
add eax, 0x2c
lea ecx, [ebp - 0x268]
add ecx, 0x18
movzx edx, word [ecx]
cmp edx, 0x1bb
mov ecx, 0
sete cl
mov dword [ebp - 0xa88], eax
test ecx, ecx
je 0x401f9e
jmp 0x401fa8
mov eax, 0
jmp 0x401fad
mov eax, 0x800000
or eax, 0x80000000
or eax, 0x4000000
or eax, 0x200000
mov ecx, 0
push ecx
push eax
mov eax, 0
push eax
mov eax, 0
push eax
mov eax, 0
push eax
mov eax, dword [ebp - 0xa88]
mov eax, dword [eax]
push eax
mov eax, 0x40322b
push eax
mov eax, dword [ebp - 0x274]
push eax
mov eax, dword [ebp - 0x10]
call eax
mov dword [ebp - 0x278], eax
mov eax, dword [ebp - 0x278]
test eax, eax
je 0x40200c
jmp 0x402011
jmp 0x402152
mov eax, 0
push eax
mov eax, 0
push eax
mov eax, 0
push eax
mov eax, 0
push eax
mov eax, dword [ebp - 0x278]
push eax
mov eax, dword [ebp - 0x14]
call eax
test eax, eax
je 0x402042
jmp 0x402047
jmp 0x402152
mov eax, 0
push eax
lea eax, [ebp - 0x280]
push eax
lea eax, [ebp - 0x27c]
push eax
mov eax, 0x20000013
push eax
mov eax, dword [ebp - 0x278]
push eax
mov eax, dword [ebp - 0x20]
call eax
test eax, eax
je 0x40207a
jmp 0x40207f
jmp 0x402152
mov eax, dword [ebp - 0x27c]
cmp eax, 0xc8
je 0x402096
jmp 0x402152
lea eax, [ebp - 0x280]
push eax
mov eax, 0x800
push eax
lea eax, [ebp - 0xa81]
push eax
mov eax, dword [ebp - 0x278]
push eax
mov eax, dword [ebp - 0x18]
call eax
test eax, eax
je 0x4020c3
jmp 0x4020c8
jmp 0x40214a
mov eax, dword [ebp - 0x280]
test eax, eax
je 0x4020db
jmp 0x4020e0
jmp 0x40214a
mov eax, dword [ebp - 0x280]
push eax
lea eax, [ebp - 0xa81]
push eax
mov eax, dword [ebp - 0x22c]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x280]
add eax, ecx
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x280]
add ecx, edx
mov dword [eax], ecx
mov eax, 0x800
push eax
mov eax, 0
push eax
lea eax, [ebp - 0xa81]
push eax
call fcn.00402968
add esp, 0xc
mov eax, dword [ebp - 0x280]
cmp eax, 0
ja 0x402096
mov eax, 1
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x278]
test eax, eax
je 0x40216c
mov eax, dword [ebp - 0x278]
push eax
mov eax, dword [ebp - 0x1c]
call eax
mov eax, dword [ebp - 0x274]
test eax, eax
je 0x402186
mov eax, dword [ebp - 0x274]
push eax
mov eax, dword [ebp - 0x1c]
call eax
mov eax, dword [ebp - 0x270]
test eax, eax
je 0x4021a0
mov eax, dword [ebp - 0x270]
push eax
mov eax, dword [ebp - 0x1c]
call eax
mov eax, dword [ebp - 0x24]
jmp 0x4021a8
leave
ret