Function at 0x409180
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Reference http user-agent string
Send data
Send http request

Disassembly:
push 0xffffffffffffffff
push 0x43176c
mov eax, dword fs:[0]
push eax
sub esp, 0x854
mov eax, dword [0x4399d0]
xor eax, esp
mov dword [esp + 0x850], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4399d0]
xor eax, esp
push eax
lea eax, [esp + 0x868]
mov dword fs:[0], eax
mov eax, dword [esp + 0x87c]
push 0x31
lea ecx, [esp + 0x35]
push 0
push ecx
mov dword [esp + 0x38], eax
mov byte [esp + 0x3c], 0
call fcn.0040c6a0
mov eax, dword [esp + 0x884]
lea edx, [esp + 0x3c]
add esp, 0xc
sub edx, eax
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4091f0
push 8
lea edx, [esp + 0x34]
push str.192.168.
push edx
call fcn.0040f693
add esp, 0xc
test eax, eax
je 0x4094a2
mov eax, dword [0x4428ec]
mov edx, dword [eax + 0xc]
mov ecx, 0x4428ec
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
push 0x3ff
lea eax, [esp + 0x469]
push 0
push eax
mov dword [esp + 0x87c], 0
mov byte [esp + 0x470], 0
call fcn.0040c6a0
add esp, 0xc
push 0x433008
lea ecx, [esp + 0x2c]
call fcn.00409000
push 0
push 0
push 0
push 1
push str.Mozilla_5.0__Windows__U__Windows_NT_6.1__sl__rv:1.9.2.11__Gecko_20101012_Firefox_3.6.11
mov byte [esp + 0x884], 1
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ebx, eax
test ebx, ebx
jne 0x4092ad
call ebp
push eax
lea ecx, [esp + 0x468]
push str.ServerReportInternetOpen_Handle_fails.Error_Number_d
push ecx
call fcn.0040e1bd
add esp, 0xc
push 0
call esi
push 0
push 0
push 3
push 0
push 0
push 0x50
push str.api.ip2location.com
push ebx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edi, eax
mov dword [esp + 0x20], edi
test edi, edi
jne 0x4092ea
call ebp
push eax
lea edx, [esp + 0x468]
push str.ServerReportInternetOpen_Handle_fails.Error_Number_d
push edx
call fcn.0040e1bd
add esp, 0xc
push edi
call esi
push 0x432b13
lea ecx, [esp + 0x20]
call fcn.004090d0
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
push str._ip_skeydemopackageWS1
push ecx
mov byte [esp + 0x87c], 2
call fcn.00408f60
mov edx, dword [esp + 0x20]
add esp, 0xc
push 0
push 0x80000000
push 0
push 0
push str.HTTP_1.1
push edx
push str.POST
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edi, eax
test edi, edi
jne 0x409359
call ebp
push eax
lea eax, [esp + 0x468]
push str.ServerReportInternetOpen_Handle_fails.Error_Number_d
push eax
call fcn.0040e1bd
add esp, 0xc
push edi
call esi
push 0x433008
lea ecx, [esp + 0x28]
call fcn.00409000
push 0x3ff
lea ecx, [esp + 0x69]
push 0
push ecx
mov byte [esp + 0x87c], 3
mov byte [esp + 0x70], 0
call fcn.0040c6a0
mov edx, dword [esp + 0x20]
mov dword [esp + 0x24], 0
mov ebp, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, ebp
add esp, 0xc
or eax, ecx
jge 0x4093b6
push ebp
lea ecx, [esp + 0x18]
call fcn.00408be0
mov edx, dword [esp + 0x14]
push ebp
push edx
push 0
push 0
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
mov ebp, dword [sym.imp.WININET.dll_InternetReadFile]
mov byte [esp + 0x64], 0
test eax, eax
jne 0x4094d0
lea edx, [esp + 0x18]
push edx
push 0x400
lea eax, [esp + 0x6c]
push eax
push edi
call ebp
cmp dword [esp + 0x18], 0x400
jne 0x4093f6
test eax, eax
jne 0x4093d6
push edi
call esi
mov ecx, dword [esp + 0x20]
push ecx
call esi
push ebx
call esi
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
mov byte [esp + 0x870], 2
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40942b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x870], 1
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409453
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x870], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40947b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x870], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4094a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x868]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x850]
xor ecx, esp
call fcn.0040c71a
add esp, 0x860
ret
lea ecx, [esp + 0x18]
push ecx
push 0x400
lea edx, [esp + 0x6c]
push edx
push edi
call ebp
mov ecx, dword [esp + 0x18]
cmp ecx, 0x400
jne 0x4094f2
test eax, eax
jne 0x4094d0
lea eax, [esp + 0x64]
push eax
mov byte [esp + ecx + 0x68], 0
call fcn.00431112
lea eax, [esp + 0x68]
add esp, 4
lea edx, [eax + 1]
jmp 0x409510
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409510
sub eax, edx
cmp eax, 0xa
jae 0x4093f6
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x64]
mov ecx, eax
sub edx, ecx
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x409530
push edi
call esi
mov edx, dword [esp + 0x20]
push edx
call esi
push ebx
call esi
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x870], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40956f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x870], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409597
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x870], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4095bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x870], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4095ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x4094a4