Function at 0x408620
Capabilities:
Connect to http server
Create http request
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44429e
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4576e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48], ecx
mov eax, dword [ebp - 0x48]
add eax, 0x44
je 0x40865b
mov ecx, dword [ebp - 0x48]
movsx edx, byte [ecx + 0x44]
test edx, edx
jne 0x408662
xor eax, eax
jmp 0x408972
lea ecx, [ebp - 0x30]
call fcn.00401c80
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0x85c]
push ecx
mov edx, dword [ebp - 0x48]
add edx, 0x758
push edx
mov eax, dword [ebp - 0x48]
add eax, 0x654
push eax
push str.Start_upload_dump._ServerAddr:_s_ServerSite:_s_ServerPort:_d__n
lea ecx, [ebp - 0x30]
push ecx
call fcn.004054f0
add esp, 0x14
lea ecx, [ebp - 0x30]
call fcn.00401da0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 0x2c], str.shipin7_http_server
mov edx, dword [ebp - 0x48]
add edx, 0x654
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x48]
add eax, 0x758
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x28]
call fcn.0041e4c1
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x18], 0
push 0
push 0x40201
mov ecx, dword [ebp - 0x48]
call fcn.004091f0
push 0
push 0x20
mov ecx, dword [ebp - 0x48]
add ecx, 0x44
push ecx
lea ecx, [ebp - 0x28]
call fcn.0041e937
test eax, eax
jne 0x40874c
push 0
push 0x80040201
mov ecx, dword [ebp - 0x48]
call fcn.004091f0
mov dword [ebp - 0x40], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0041e5c9
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00401d40
mov eax, dword [ebp - 0x40]
jmp 0x408972
push 5
push 0x40200
mov ecx, dword [ebp - 0x48]
call fcn.004091f0
mov dword [ebp - 0x34], 1
mov ecx, dword [ebp - 0x48]
call fcn.00409720
test eax, eax
je 0x408773
jmp 0x408901
push 0
push 0x40202
mov ecx, dword [ebp - 0x48]
call fcn.004091f0
push 0
push 0
push 0
push 0
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4087b8
push 0
push 0x80040202
mov ecx, dword [ebp - 0x48]
call fcn.004091f0
mov dword [ebp - 0x34], 0
jmp 0x4088cf
mov ecx, dword [ebp - 0x48]
call fcn.00409720
test eax, eax
je 0x4087c9
jmp 0x408901
push 0
push 0x40203
mov ecx, dword [ebp - 0x48]
call fcn.004091f0
push 0
push 0
push 3
push 0
push 0
mov eax, dword [ebp - 0x48]
movzx ecx, word [eax + 0x85c]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x40881f
push 0
push 0x80040203
mov ecx, dword [ebp - 0x48]
call fcn.004091f0
mov dword [ebp - 0x34], 0
jmp 0x4088cf
mov ecx, dword [ebp - 0x48]
call fcn.00409720
test eax, eax
je 0x408830
jmp 0x408901
push 0
push 0x40204
mov ecx, dword [ebp - 0x48]
call fcn.004091f0
push 0
push 0x4000000
push 0
push 0
push 0
mov ecx, dword [ebp - 0x3c]
push ecx
push 0x4479dc
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x408880
push 0
push 0x80040204
mov ecx, dword [ebp - 0x48]
call fcn.004091f0
mov dword [ebp - 0x34], 0
jmp 0x4088cf
push 0xa
push 0x40200
mov ecx, dword [ebp - 0x48]
call fcn.004091f0
mov ecx, dword [ebp - 0x48]
call fcn.00409720
test eax, eax
je 0x40889d
jmp 0x408901
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x48]
call fcn.00408990
test eax, eax
jne 0x4088c7
push 0
push 0x80040205
mov ecx, dword [ebp - 0x48]
call fcn.004091f0
mov dword [ebp - 0x34], 0
xor edx, edx
jne 0x408762
mov ecx, dword [ebp - 0x48]
call fcn.00409720
test eax, eax
je 0x4088dd
jmp 0x408901
cmp dword [ebp - 0x34], 0
je 0x408901
push 0x64
push 0x40200
mov ecx, dword [ebp - 0x48]
call fcn.004091f0
push 0
push 0x40300
mov ecx, dword [ebp - 0x48]
call fcn.004091f0
cmp dword [ebp - 0x18], 0
je 0x408918
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x38], 0
je 0x40892f
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x38], 0
cmp dword [ebp - 0x14], 0
je 0x408946
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x28]
call fcn.0041e45b
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0041e5c9
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00401d40
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret