Function at 0x1002c350
Capabilities:
Connect to http server

Disassembly:
sub esp, 0x30
xor eax, eax
push ebx
mov dword [esp + 0x2c], eax
push ebp
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x3c]
xor ebp, ebp
push esi
cmp eax, ebp
push edi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], 0x1004a2f8
mov dword [esp + 0x24], 0x1004a30c
mov dword [esp + 0x30], 0x8048c100
je 0x1002c3ad
mov ecx, dword [esp + 0x48]
push ecx
push ebp
push 0x8010
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push ebp
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [esp + 0x14], ebp
lea ebx, [esp + 0x20]
mov edx, dword [ebx]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
mov esi, dword [esp + 0x4c]
not ecx
dec ecx
push ecx
push edx
push esi
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
je 0x1002c3e7
inc ebp
add ebx, 4
cmp ebp, 2
jb 0x1002c3bc
cmp ebp, 2
mov dword [esp + 0x14], ebp
jne 0x1002c3fa
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x30
ret
mov edi, dword [esp + ebp*4 + 0x20]
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x20], edi
repne scasb al, byte es:[edi]
mov ebp, dword [sym.imp.MSVCRT.dll_strchr]
push 0x2f
not ecx
dec ecx
add ecx, esi
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x1002c428
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, dword [esp + 0x20]
mov ebx, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 0x2f
mov edi, ecx
or ecx, 0xffffffff
add edi, esi
push ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call ebp
mov byte [eax], 0
mov eax, dword [esp + 0x1c]
add esp, 8
test eax, eax
jne 0x1002c48e
mov dword [esp + 0x18], 0x1bb
mov dword [esp + 0x30], 0x80c8e100
push 0x40
push ebx
mov esi, ebx
call ebp
add esp, 8
test eax, eax
je 0x1002c4e1
push 0x3a
push ebx
call ebp
add esp, 8
test eax, eax
je 0x1002c4e1
push 0x3a
push ebx
call ebp
push 0x40
push ebx
mov byte [eax], 0
mov dword [esp + 0x3c], ebx
call ebp
mov byte [eax], 0
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [ecx + ebx + 1]
or ecx, 0xffffffff
mov edi, edx
mov dword [esp + 0x28], edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea esi, [ecx + edx + 1]
push 0x3a
push esi
call ebp
add esp, 8
test eax, eax
je 0x1002c513
push 0x3a
push esi
call ebp
mov byte [eax], 0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ecx + esi + 1]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 0xc
mov dword [esp + 0x18], eax
mov edi, dword [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
push 0x2f
repne scasb al, byte es:[edi]
mov edi, dword [esp + 0x50]
not ecx
dec ecx
add ecx, edi
push ecx
call ebp
push esi
lea ecx, [esp + 0x1c]
push edi
push ecx
mov dword [esp + 0x60], eax
call fcn.10021220
mov edx, dword [esp + 0x24]
add esp, 0x14
mov edi, eax
push 0x1002bc40
push edx
call dword [sym.imp.WININET.dll_InternetSetStatusCallback]
mov ebp, dword [esp + 0x50]
test edi, edi
je 0x1002c5d0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
push 0
push 0
push 3
push eax
mov eax, dword [esp + 0x20]
push ecx
push edx
push esi
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
test eax, eax
mov dword [esp + 0x34], eax
je 0x1002c5d0
mov ecx, dword [esp + 0x48]
push 3
push 0x4e20
push ecx
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x50]
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x60]
push edx
not ecx
mov edx, dword [esp + 0x5c]
dec ecx
push ecx
mov ecx, dword [esp + 0x44]
push ebp
push 0xa0000000
push 0xffffffffffffffff
push eax
push ecx
push edx
lea eax, [esp + 0x60]
push esi
push eax
call fcn.1002be60
add esp, 0x34
test eax, eax
je 0x1002c5d0
mov edi, 1
jmp 0x1002c5d2
xor edi, edi
mov ecx, dword [esp + 0x10]
push 0
push ecx
call dword [sym.imp.WININET.dll_InternetSetStatusCallback]
mov eax, dword [esp + 0x3c]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
test eax, eax
je 0x1002c62a
mov edx, dword [esp + 0x34]
push edx
call esi
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x48]
push ebp
push ecx
push edx
push eax
mov dword [esp + 0x48], 0
call fcn.1002c350
mov ecx, dword [esp + 0x50]
add esp, 0x14
mov dword [esp + 0x1c], eax
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1002c650
test edi, edi
je 0x1002c643
mov edx, dword [esp + 0x38]
push edx
call fcn.10021650
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x1002c650
mov eax, dword [esp + 0x44]
push eax
call fcn.10021470
add esp, 4
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1002c65b
push eax
call esi
mov eax, dword [esp + 0x34]
test eax, eax
je 0x1002c666
push eax
call esi
test ebx, ebx
je 0x1002c671
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret