Function at 0x10003cda
Capabilities:
Connect to http server
Create http request
Parse url
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push edi
mov edi, ecx
mov eax, dword [edi + 4]
xor ebx, ebx
cmp eax, ebx
mov byte [ebp - 1], bl
je 0x10003eb9
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
push esi
call fcn.10009b06
push esi
mov dword [ebp - 0xc], eax
call fcn.10009b06
push esi
mov dword [ebp - 8], eax
call fcn.10009b06
add esp, 0xc
cmp dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], eax
je 0x10003e9c
cmp dword [ebp - 8], ebx
je 0x10003e93
cmp eax, ebx
je 0x10003e93
push 0x3c
lea eax, [ebp - 0x5c]
push ebx
push eax
call fcn.1000a030
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x10]
add esp, 0xc
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x5c]
push eax
push ebx
push ebx
push dword [edi + 4]
mov dword [ebp - 0x5c], 0x3c
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], esi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x10003e93
push dword [ebp - 0x10]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push ebx
push ebx
push ebx
push 1
push 0x10014565
call dword [sym.imp.WININET.dll_InternetOpenA]
cmp eax, ebx
mov dword [ebp - 0x20], eax
je 0x10003e93
mov cl, byte [ebp + 8]
push ebx
neg cl
push ebx
push 3
push ebx
push ebx
sbb ecx, ecx
and ecx, 0x16b
add ecx, 0x50
push ecx
push dword [ebp - 0xc]
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
cmp eax, ebx
mov dword [ebp - 0x1c], eax
je 0x10003e8a
cmp dword [edi + 8], ebx
mov eax, 0x10014560
jne 0x10003de0
mov eax, 0x1001455c
push ebx
push 0x4000200
push ebx
push ebx
push ebx
push dword [ebp - 8]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x10003e81
mov ecx, dword [edi + 8]
xor eax, eax
cmp ecx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
je 0x10003e27
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push ecx
call esi
mov dword [ebp - 0x14], eax
mov eax, str.Content_Type:_application_x_www_form_urlencoded
push eax
mov dword [ebp - 0x18], eax
call esi
push dword [ebp - 0x14]
push dword [edi + 8]
push eax
push dword [ebp - 0x18]
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, ebx
je 0x10003e78
push ebx
lea eax, [ebp - 0x18]
push eax
lea esi, [edi + 0x10]
push esi
push 0x13
push dword [ebp + 8]
mov dword [ebp - 0x18], 0x20
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
mov al, byte [esi]
cmp al, 0x34
je 0x10003e78
cmp al, 0x35
je 0x10003e78
push dword [ebp + 8]
mov ecx, edi
call fcn.10003ba1
mov byte [ebp - 1], al
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x1c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x20]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0xc]
call fcn.1000aa36
pop ecx
cmp dword [ebp - 8], ebx
pop esi
je 0x10003eab
push dword [ebp - 8]
call fcn.1000aa36
pop ecx
cmp dword [ebp - 0x10], ebx
je 0x10003eb9
push dword [ebp - 0x10]
call fcn.1000aa36
pop ecx
mov al, byte [ebp - 1]
pop edi
pop ebx
leave
ret 4