Function at 0x10002c80
Capabilities:
Make an http request with a cookie
Parse url
Read data from internet
Receive data
Resolve function by parsing pe exports
Send data
Send http request

Disassembly:
push 0xffffffffffffffff
push 0x10042594
mov eax, dword fs:[0]
push eax
sub esp, 0x368
mov eax, dword [0x10054020]
xor eax, esp
mov dword [esp + 0x360], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10054020]
xor eax, esp
push eax
lea eax, [esp + 0x37c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38c]
mov edi, dword [esp + 0x394]
xor ebx, ebx
mov dword [eax + 8], ebx
mov eax, dword [eax + 4]
cmp eax, ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x20], edi
je 0x100034a4
push ebx
push 0x4000000
push ebx
push ebx
push ebx
push str._index.php
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov ebp, eax
cmp ebp, ebx
mov dword [esp + 0x2c], ebp
je 0x100034a4
mov dword [esp + 0x30], vtable.RC::RCInternetHandle.0
mov dword [esp + 0x34], ebp
mov dword [esp + 0x384], ebx
push 0x2f
push str.Content_Type:_application_x_www_form_urlencoded
lea esi, [esp + 0xb8]
mov dword [esp + 0xd0], 7
mov dword [esp + 0xcc], ebx
mov word [esp + 0xbc], bx
call fcn.100025e0
mov byte [esp + 0x384], 1
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x10002e59
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10002e59
push 2
push 0x100477d0
mov ecx, esi
call fcn.100024e0
push 8
push str.Cookie:
mov ecx, esi
call fcn.100024e0
mov ecx, edi
xor ebp, ebp
call fcn.100036a0
test eax, eax
jbe 0x10002e42
mov dword [esp + 0x14], ebx
jmp 0x10002db5
mov edi, dword [esp + 0x20]
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x10002dd8
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x10002dde
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [edi + 4]
add eax, dword [esp + 0x14]
cmp dword [eax + 0x14], ebx
lea edi, [eax + 0x1c]
je 0x10002e29
cmp dword [edi + 0x14], ebx
je 0x10002e29
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0xb8]
call fcn.100023d0
push 1
push 0x10047a04
mov ecx, esi
call fcn.100024e0
push ebx
push edi
or eax, 0xffffffff
call fcn.100023d0
push 1
push 0x10047a08
mov ecx, esi
call fcn.100024e0
mov ecx, dword [esp + 0x20]
add dword [esp + 0x14], 0x38
add ebp, 1
call fcn.100036a0
cmp ebp, eax
jb 0x10002db1
push 4
push 0x10047a0c
lea ecx, [esp + 0xb8]
call fcn.100024e0
mov ebp, dword [esp + 0x2c]
cmp dword [esp + 0xc8], 8
mov dword [esp + 0x44], 0x28
mov dword [esp + 0x48], ebx
jb 0x10002e7c
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0x4c], ecx
jmp 0x10002e87
lea edx, [esp + 0xb4]
mov dword [esp + 0x4c], edx
mov eax, dword [esp + 0xc4]
mov esi, dword [esp + 0x390]
push ebx
push ebx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
push ebx
lea eax, [esp + 0x50]
push eax
push ebp
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
call dword [sym.imp.WININET.dll_HttpSendRequestExW]
test eax, eax
jne 0x10002f04
cmp dword [esp + 0xc8], 8
jb 0x10002ede
mov ecx, dword [esp + 0xb4]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
push ebp
mov dword [esp + 0xcc], 7
mov dword [esp + 0xc8], ebx
mov word [esp + 0xb8], bx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x100034a4
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x38]
push edx
push esi
push eax
push ebp
mov dword [esp + 0x48], ebx
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x10002ec4
cmp dword [esp + 0x38], esi
je 0x10002f38
cmp dword [esp + 0xc8], 8
jb 0x10002ede
mov edx, dword [esp + 0xb4]
push edx
jmp 0x10002ed6
push ebx
push ebx
push ebx
push ebp
call dword [sym.imp.WININET.dll_HttpEndRequestW]
test eax, eax
je 0x1000348f
mov edi, dword [esp + 0x3c]
call fcn.10001fc0
mov ebp, dword [sym.imp.WININET.dll_InternetReadFile]
lea esp, [esp]
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x24]
push eax
push 0x1ff
lea ecx, [esp + 0x17c]
push ecx
push edx
mov dword [esp + 0x34], ebx
call ebp
test eax, eax
je 0x1000348f
mov eax, dword [esp + 0x24]
cmp eax, 0x200
jae 0x1000348f
push eax
lea edi, [esp + 0x178]
lea esi, [esp + 0x124]
mov byte [esp + eax + 0x178], bl
call fcn.10023380
add esp, 4
push ebx
mov byte [esp + 0x388], 2
mov esi, dword [esp + 0x40]
push eax
or eax, 0xffffffff
call fcn.100023d0
mov byte [esp + 0x384], 1
cmp dword [esp + 0x138], 8
jb 0x10002fea
mov eax, dword [esp + 0x124]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x24], ebx
ja 0x10002f60
mov ebx, dword [esp + 0x20]
call fcn.100037c0
xor ecx, ecx
mov eax, 0x201
mov edx, 2
mul edx
seto cl
mov edi, 0x200
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], edi
neg ecx
or ecx, eax
push ecx
call fcn.1003ec98
add esp, 4
xor ebx, ebx
mov dword [esp + 0x28], ebx
mov ebp, eax
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x20]
push ecx
push ebp
push 0x2b
mov word [ebp], bx
mov esi, dword [esp + 0x38]
push edx
mov dword [esp + 0x30], edi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
setne al
cmp al, bl
jne 0x100030ac
cmp dword [esp + 0x1c], edi
jbe 0x10003469
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x10003469
mov edi, dword [esp + 0x1c]
add edi, 1
push ebp
mov dword [esp + 0x18], edi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
xor ecx, ecx
add esp, 4
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1003ec98
add esp, 4
mov dword [esp + 0x28], esi
jmp 0x1000302e
mov eax, dword [esp + 0x1c]
cmp eax, edi
ja 0x10003030
mov word [ebp + eax*2], bx
mov edx, ebp
lea eax, [esp + 0xe8]
call fcn.10001ec0
cmp dword [esp + 0xfc], ebx
je 0x10003450
mov eax, 7
mov dword [esp + 0x11c], eax
mov dword [esp + 0x118], ebx
mov word [esp + 0x108], bx
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe0], ebx
mov word [esp + 0xd0], bx
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x388], 5
mov ebx, 1
xor eax, eax
lea edx, [esp + 0xec]
mov dword [esp + 0x1c], 0x3d
call fcn.100022f0
mov edi, eax
cmp edi, 0xffffffff
je 0x100031c3
push edi
lea ecx, [esp + 0xec]
push ecx
xor ecx, ecx
lea esi, [esp + 0x128]
call fcn.10002070
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x10c]
mov byte [esp + 0x38c], 6
call fcn.100020a0
mov bl, 5
mov ecx, esi
mov byte [esp + 0x384], bl
call fcn.10001f30
lea ecx, [edi + 1]
cmp ecx, dword [esp + 0xfc]
jae 0x100031c3
push 0xffffffffffffffff
lea edx, [esp + 0xec]
push edx
lea esi, [esp + 0x128]
call fcn.10002070
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0xf0]
mov byte [esp + 0x38c], 7
call fcn.100020a0
mov ecx, esi
mov byte [esp + 0x384], bl
call fcn.10001f30
lea eax, [esp + 0x18]
push eax
mov ebx, 1
xor eax, eax
lea edx, [esp + 0xec]
mov dword [esp + 0x1c], 0x3b
call fcn.100022f0
cmp eax, 0xffffffff
je 0x10003228
push eax
lea ecx, [esp + 0xec]
push ecx
xor ecx, ecx
lea esi, [esp + 0x128]
call fcn.10002070
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0xd4]
mov byte [esp + 0x38c], 8
call fcn.100020a0
mov ecx, esi
mov byte [esp + 0x384], 5
call fcn.10001f30
jmp 0x1000323f
push 0xffffffffffffffff
push 0
lea eax, [esp + 0xf0]
lea ecx, [esp + 0xd4]
call fcn.100020a0
push str.__r_t_n
lea eax, [esp + 0x108]
call fcn.100228c0
add esp, 4
push str.__r_t_n
lea eax, [esp + 0x108]
call fcn.10022930
add esp, 4
push str.__r_t_n
lea eax, [esp + 0xd0]
call fcn.100228c0
add esp, 4
push str.__r_t_n
lea eax, [esp + 0xd0]
call fcn.10022930
add esp, 4
cmp dword [esp + 0x118], 0
je 0x10003432
cmp dword [esp + 0xe0], 0
je 0x10003432
mov edx, str.http:__www.haozop.com_
lea eax, [esp + 0x158]
call fcn.10001ec0
push 0
lea edx, [esp + 0xd0]
push edx
or eax, 0xffffffff
lea esi, [esp + 0x160]
mov byte [esp + 0x38c], 9
call fcn.100023d0
push 0x3c
lea eax, [esp + 0x78]
push 0
push eax
call sub.MSVCR80.dll_memset
mov esi, dword [esp + 0x178]
add esi, 0x20
xor ecx, ecx
add esp, 0xc
mov eax, esi
mov edx, 2
mul edx
seto cl
mov dword [esp + 0x74], 0x3c
neg ecx
or ecx, eax
push ecx
call fcn.1003ec98
add esp, 4
lea ecx, [esi + esi]
push ecx
push 0
push eax
mov dword [esp + 0xb4], eax
call sub.MSVCR80.dll_memset
mov eax, dword [esp + 0x168]
add esi, 0xffffffff
add esp, 0xc
cmp dword [esp + 0x170], 8
mov dword [esp + 0xac], esi
jae 0x10003353
lea eax, [esp + 0x15c]
mov ecx, dword [esp + 0x16c]
lea edx, [esp + 0x74]
push edx
push 0x80000000
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x100033db
mov edx, dword [esp + 0xa8]
lea eax, [esp + 0x120]
call fcn.10001ec0
mov byte [esp + 0x384], 0xa
cmp dword [esp + 0x134], 0
je 0x100033c7
lea ebx, [esp + 0x3c]
lea edi, [esp + 0x120]
call fcn.100022a0
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x74]
push ecx
mov eax, edi
call fcn.10003560
lea edx, [esp + 0xcc]
push edx
mov ecx, edi
call fcn.10003630
lea ecx, [esp + 0x120]
mov byte [esp + 0x384], 9
call fcn.10001f30
mov eax, dword [esp + 0xa8]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
lea ecx, [esp + 0xcc]
push ecx
lea edx, [esp + 0x108]
push edx
lea eax, [esp + 0x128]
push eax
call fcn.10003810
mov esi, dword [esp + 0x20]
push eax
mov byte [esp + 0x388], 0xb
call fcn.10003710
lea esi, [esp + 0x120]
call fcn.10004640
lea ecx, [esp + 0x158]
call fcn.10001f30
lea ecx, [esp + 0xcc]
call fcn.10001f30
lea ecx, [esp + 0x104]
call fcn.10001f30
mov edi, dword [esp + 0x14]
xor ebx, ebx
lea ecx, [esp + 0xe8]
mov byte [esp + 0x384], 1
call fcn.10001f30
jmp 0x10003030
push ebp
mov word [ebp], bx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
lea ecx, [esp + 0xb0]
call fcn.10001f30
lea ecx, [esp + 0x30]
call fcn.10004870
mov al, 1
jmp 0x100034a6
lea ecx, [esp + 0xb0]
call fcn.10001f30
lea ecx, [esp + 0x30]
call fcn.10004870
xor al, al
mov ecx, dword [esp + 0x37c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x360]
xor ecx, esp
call fcn.1003ec9d
add esp, 0x374
ret 0xc