Function at 0x402550
Capabilities:
Create http request
Reference http user-agent string

Disassembly:
push 0xffffffffffffffff
push 0x52042c
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x567070]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x567070]
xor eax, esp
push eax
lea eax, [esp + 0x240]
mov dword fs:[0], eax
mov eax, dword [0xdb0860]
mov ebx, 1
add eax, ebx
cmp eax, 0xc
mov edi, ecx
mov dword [0xdb0860], eax
jle 0x4025ad
mov dword [0xdb0860], 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
push 0
push 2
push 0
push 0
mov esi, eax
push edi
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov ebp, eax
test esi, esi
je 0x4025dc
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
test ebp, ebp
je 0x402634
mov eax, dword [0xdb0860]
mov ecx, dword [eax*4 + 0x56874c]
push 0
push 0
push 0
push 0
push ebx
push ecx
lea ecx, [esp + 0x3c]
call fcn.0041574e
push 0
push 0
push ebx
push ebx
push edi
lea ecx, [esp + 0x38]
mov dword [esp + 0x25c], 0
call fcn.004160da
mov esi, eax
test esi, esi
jne 0x40263c
lea ecx, [esp + 0x24]
mov dword [esp + 0x248], 0xffffffff
call fcn.00415e3b
or eax, 0xffffffff
jmp 0x4029e1
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call fcn.00415059
cmp dword [esp + 0x20], 0xc8
jne 0x4029cb
call fcn.0040b041
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x402670
push 0x80004005
call fcn.00403660
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x248], 1
call fcn.0040b041
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4026a2
push 0x80004005
call fcn.00403660
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x248], 2
mov edx, dword [esi]
mov edx, dword [edx + 0x58]
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call edx
test eax, eax
je 0x40273b
mov bl, 3
mov edi, edi
push 0x54867c
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.00402e80
add esp, 0xc
mov byte [esp + 0x248], bl
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00402f80
mov byte [esp + 0x248], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x402726
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0x58]
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call edx
test eax, eax
jne 0x4026d0
lea ebx, [eax + 1]
lea ecx, [esp + 0x14]
call fcn.00402c50
mov eax, dword [esi]
mov edx, dword [eax + 0x4c]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 4]
push ebx
mov ecx, esi
call edx
lea ecx, [esp + 0x24]
call fcn.00415d58
cmp dword [esp + 0x250], 0
mov edi, dword [esp + 0x14]
jne 0x40297f
cmp dword [edi - 4], ebx
jle 0x402788
mov eax, dword [edi - 0xc]
push eax
lea ecx, [esp + 0x18]
call fcn.00403400
mov edi, dword [esp + 0x14]
push str.kilohcpV20140730start
push edi
call fcn.004fa050
add esp, 8
cmp dword [edi - 4], ebx
mov esi, eax
jle 0x4027ae
mov ecx, dword [edi - 0xc]
push ecx
lea ecx, [esp + 0x18]
call fcn.00403400
mov edi, dword [esp + 0x14]
push str.kilohcpV20140730start
push edi
call fcn.004fa050
add esp, 8
test eax, eax
jne 0x40287b
test esi, esi
jne 0x40287b
lea ecx, [esp + 0x14]
call fcn.00402ce0
push str.kilohcpV2
push eax
call fcn.004fa050
add esp, 8
test eax, eax
jne 0x402817
lea ecx, [esp + 0x18]
call fcn.00403720
lea ecx, [esp + 0x14]
call fcn.00403720
lea ecx, [esp + 0x24]
mov dword [esp + 0x248], 0xffffffff
call fcn.00415e3b
mov eax, 2
jmp 0x4029e1
push str.start
push eax
call fcn.004fa050
mov esi, eax
add esp, 8
test esi, esi
je 0x4027e7
add esi, 5
push 0x548688
push esi
call fcn.004fa050
add esp, 8
test eax, eax
je 0x4027e7
push esi
mov ecx, 0xdb0854
mov byte [eax], 0
call fcn.00402d70
lea ecx, [esp + 0x18]
call fcn.00403720
lea ecx, [esp + 0x14]
call fcn.00403720
lea ecx, [esp + 0x24]
mov dword [esp + 0x248], 0xffffffff
call fcn.00415e3b
mov eax, ebx
jmp 0x4029e1
cmp dword [edi - 4], ebx
jle 0x402891
mov edx, dword [edi - 0xc]
push edx
lea ecx, [esp + 0x18]
call fcn.00403400
mov edi, dword [esp + 0x14]
push str.kilohcpV2
push edi
call fcn.004fa050
push str.getlincsteitusur1a99rV20110428start
push eax
xor ebx, ebx
call fcn.004fa050
add esp, 0x10
test eax, eax
je 0x40297f
mov ebp, 0xdae3f8
jmp 0x4028c4
mov edi, dword [esp + 0x14]
push str.start
push eax
call fcn.004fa050
mov esi, eax
add esp, 8
test esi, esi
je 0x40297f
add esi, 5
push 0x548688
push esi
call fcn.004fa050
mov edi, eax
add esp, 8
test edi, edi
je 0x40297b
push 0x200
lea eax, [esp + 0x40]
push 0
push eax
call fcn.004fac80
mov ecx, edi
sub ecx, esi
push ecx
lea edx, [esp + 0x4c]
push esi
push edx
call fcn.004fdbc0
lea eax, [esp + 0x54]
add esp, 0x18
xor edx, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402924
sub eax, esi
je 0x40295d
nop
mov eax, edx
and eax, 0x80000001
jns 0x40293e
dec eax
or eax, 0xfffffffe
inc eax
jne 0x402948
mov cl, byte [esp + edx + 0x3c]
mov byte [ebx + ebp], cl
inc ebx
lea eax, [esp + 0x3c]
inc edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402950
sub eax, esi
cmp edx, eax
jb 0x402930
push str.getlincsteitusur1a99rV20110428start
push edi
add ebp, 0x100
xor ebx, ebx
call fcn.004fa050
add esp, 8
test eax, eax
jne 0x4028c0
mov edi, dword [esp + 0x14]
mov byte [esp + 0x248], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4029a7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x248], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4029cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x248], 0xffffffff
call fcn.00415e3b
xor eax, eax
mov ecx, dword [esp + 0x240]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.004f9420
add esp, 0x238
ret