Function at 0x4052cd
Capabilities:
Connect to http server
Create http request
Send file using ftp

Disassembly:
push 0x194
mov eax, 0x489420
call fcn.00458e5d
mov eax, dword [ebp + 8]
mov dword [ebp - 0x184], eax
mov eax, dword [ebp + 0xc]
push str.Sending_files_via_FTP..._n_n
mov esi, ecx
mov dword [ebp - 0x180], eax
call fcn.00450ee8
pop ecx
push 7
pop eax
xor ecx, ecx
xor edx, edx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], ecx
mov word [ebp - 0x64], dx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa8], ecx
mov word [ebp - 0xb8], dx
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x8c], ecx
mov word [ebp - 0x9c], dx
mov dword [ebp - 0xc0], eax
xor eax, eax
mov dword [ebp - 0xc4], ecx
mov word [ebp - 0xd4], ax
or edi, 0xffffffff
mov byte [ebp - 4], 3
xor ebx, ebx
cmp dword [esi + 0x220], ecx
push edi
lea ecx, [ebp - 0x68]
push ecx
je 0x4053a5
lea eax, [esi + 0x20c]
call fcn.0040191e
mov eax, dword [esi + 0x228]
push edi
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0x16c], eax
lea eax, [esi + 0x22c]
push ecx
call fcn.0040191e
push edi
lea ecx, [ebp - 0xa0]
lea eax, [esi + 0x248]
push ecx
call fcn.0040191e
lea eax, [esi + 0x264]
jmp 0x4053ea
lea eax, [esi + 0xf0]
call fcn.0040191e
mov eax, dword [esi + 0x128]
push edi
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0x16c], eax
lea eax, [esi + 0xb8]
push ecx
xor ebx, ebx
call fcn.0040191e
push edi
lea ecx, [ebp - 0xa0]
lea eax, [esi + 0xd4]
push ecx
call fcn.0040191e
lea eax, [esi + 0x10c]
push edi
lea ecx, [ebp - 0xd8]
push ecx
xor ebx, ebx
call fcn.0040191e
cmp dword [ebp - 0x50], 8
mov eax, dword [ebp - 0x64]
jae 0x405405
lea eax, [ebp - 0x64]
push dword [ebp - 0x16c]
push eax
push str.WrapperAPP::FtpUpload__
push str._s_Report_result_to_ftp:___S:_d
push 0x3c1
push ecx
call fcn.0041ef10
pop ecx
push eax
mov ebx, 0x800040
mov ecx, str..SupportWrapper.cpp
call fcn.0041f0d0
add esp, 0x18
lea eax, [ebp - 0x68]
push eax
lea esi, [ebp - 0xf4]
call fcn.004017f2
mov esi, 0x49bef4
push esi
mov byte [ebp - 4], 4
call fcn.00450a1d
pop ecx
push eax
push esi
xor eax, eax
lea ecx, [ebp - 0xf4]
call fcn.00409006
cmp eax, 0xffffffff
jne 0x405479
push str.ftp:__
lea eax, [ebp - 0xf4]
push eax
call fcn.00407dfb
lea edi, [ebp - 0x168]
call fcn.00401000
mov byte [ebp - 4], 5
cmp dword [ebp - 0xdc], 8
mov ecx, dword [ebp - 0xf0]
jae 0x40549d
lea ecx, [ebp - 0xf0]
lea edi, [ebp - 0x168]
call fcn.004288a0
mov eax, edi
push eax
lea esi, [ebp - 0x110]
call fcn.004017f2
xor ecx, ecx
xor ebx, ebx
mov byte [ebp - 4], 6
inc ecx
xor eax, eax
cmp dword [ebp - 0x154], ebx
je 0x405523
push 0x3c
lea eax, [ebp - 0x4c]
push ebx
push eax
call fcn.004504c0
add esp, 0xc
push 0xa
push 0x1e
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x14c]
call fcn.00452cd7
add esp, 0x10
test eax, eax
jne 0x40550b
push 0x49bf0c
mov eax, esi
push eax
call fcn.00401817
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
push eax
call fcn.00401817
cmp dword [ebp - 0xf8], 8
mov eax, dword [ebp - 0x10c]
push 3
pop ecx
jae 0x405523
lea eax, [ebp - 0x10c]
push 0x4000000
push ebx
push eax
push ecx
push 0x49bf10
call dword [sym.imp.WININET.dll_InternetOpenW]
push ebx
push 1
lea esi, [ebp - 0x110]
mov dword [ebp - 0x178], eax
call fcn.004019bb
lea edi, [ebp - 0x168]
call fcn.00401730
push ebx
push 1
lea esi, [ebp - 0xf4]
mov byte [ebp - 4], 3
call fcn.004019bb
mov dword [ebp - 0x174], ebx
cmp dword [ebp - 0x178], ebx
jne 0x4055b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.WrapperAPP::FtpUpload__
push str._s_InternetOpen_failed__lu
push 0x3e5
call fcn.0041ef10
push eax
mov ebx, 0x800002
mov ecx, str..SupportWrapper.cpp
call fcn.0041f0d0
add esp, 0x14
mov edx, 0x80020000
lea eax, [ebp - 0x174]
call fcn.00402552
jmp 0x405817
mov edx, dword [ebp - 0x9c]
push 8
pop esi
cmp dword [ebp - 0x88], esi
jae 0x4055cf
lea edx, [ebp - 0x9c]
mov ecx, dword [ebp - 0xb8]
cmp dword [ebp - 0xa4], esi
jae 0x4055e3
lea ecx, [ebp - 0xb8]
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x50], esi
jae 0x4055ee
lea eax, [ebp - 0x64]
push ebx
push 0x28000000
push 1
push edx
push ecx
push dword [ebp - 0x16c]
push eax
push dword [ebp - 0x178]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0x16c], eax
cmp eax, ebx
jne 0x405658
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.WrapperAPP::FtpUpload__
push str._s_InternetConnect_failed__lu
push 0x3f3
call fcn.0041ef10
push eax
mov ebx, 0x800002
mov ecx, str..SupportWrapper.cpp
call fcn.0041f0d0
add esp, 0x14
mov edx, 0x80020000
lea eax, [ebp - 0x174]
call fcn.00402552
jmp 0x4057f8
mov eax, dword [ebp - 0x180]
cmp dword [eax + 0x18], esi
jb 0x405668
mov ecx, dword [eax + 4]
jmp 0x40566b
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x184]
cmp dword [eax + 0x18], esi
jb 0x405683
add eax, 4
mov dword [ebp - 0x17c], eax
mov eax, dword [eax]
jmp 0x40568c
add eax, 4
mov dword [ebp - 0x17c], eax
push ecx
push eax
push str.WrapperAPP::FtpUpload__
push str._s_Uploading__S_to__S
push 0x3f8
push ecx
call fcn.0041ef10
pop ecx
mov edi, str..SupportWrapper.cpp
push eax
mov ebx, 0x800040
mov ecx, edi
call fcn.0041f0d0
push dword [ebp - 0x16c]
lea ecx, [ebp - 0xd8]
call fcn.00405137
add esp, 0x1c
test eax, eax
jne 0x4056de
mov edx, 0x80020000
lea eax, [ebp - 0x174]
call fcn.00402552
lea eax, [ebp - 0xd8]
push eax
lea esi, [ebp - 0x84]
call fcn.004017f2
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x70]
test eax, eax
jbe 0x405751
lea ebx, [eax - 1]
mov eax, esi
push 1
push eax
lea esi, [ebp - 0x1a0]
call fcn.00407f24
mov ebx, 0x49bf84
push ebx
mov esi, eax
mov byte [ebp - 4], 8
call fcn.00407f4e
push 0
test eax, eax
push 1
lea esi, [ebp - 0x1a0]
setne byte [ebp - 0x16d]
mov byte [ebp - 4], 7
call fcn.004019bb
cmp byte [ebp - 0x16d], 0
je 0x405751
push ebx
lea eax, [ebp - 0x84]
push eax
call fcn.00401817
mov eax, dword [ebp - 0x180]
push 0xffffffffffffffff
push 0
lea esi, [ebp - 0x84]
call fcn.00401aee
cmp dword [ebp - 0x6c], 8
mov ecx, dword [ebp - 0x80]
jae 0x405772
lea ecx, [ebp - 0x80]
mov eax, dword [ebp - 0x184]
cmp dword [eax + 0x18], 8
mov eax, dword [ebp - 0x17c]
jb 0x405786
mov eax, dword [eax]
push 0
push 0x802
push ecx
push eax
push dword [ebp - 0x16c]
call dword [sym.imp.WININET.dll_FtpPutFileW]
test eax, eax
jne 0x4057e9
cmp dword [ebp - 0x6c], 8
mov esi, dword [ebp - 0x80]
jae 0x4057ab
lea esi, [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.WrapperAPP::FtpUpload__
push str._s_FtpPutFile__S_failed__lu
push 0x40c
push ecx
call fcn.0041ef10
pop ecx
push eax
mov ebx, 0x800002
mov ecx, edi
call fcn.0041f0d0
add esp, 0x18
mov edx, 0x80020000
lea eax, [ebp - 0x174]
call fcn.00402552
push 0
push 1
lea esi, [ebp - 0x84]
call fcn.004019bb
cmp dword [ebp - 0x16c], 0
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
je 0x40580f
push dword [ebp - 0x16c]
call esi
push dword [ebp - 0x178]
call esi
xor ebx, ebx
xor edi, edi
push ebx
inc edi
push edi
lea esi, [ebp - 0xd8]
call fcn.004019bb
push ebx
push edi
lea esi, [ebp - 0xa0]
call fcn.004019bb
push ebx
push edi
lea esi, [ebp - 0xbc]
call fcn.004019bb
push ebx
push edi
lea esi, [ebp - 0x68]
call fcn.004019bb
mov eax, dword [ebp - 0x174]
call fcn.00458ee0
ret 8