Function at 0x410710
Capabilities:
Print debug messages

Disassembly:
push ebp
lea ebp, [esp - 0x42c]
sub esp, 0x42c
push 0xffffffffffffffff
push 0x46e098
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x48b998]
xor eax, ebp
mov dword [ebp + 0x428], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0x43c]
xor eax, eax
mov esi, ecx
mov edi, edx
mov dword [ebp + 0x18], 0xf
mov dword [ebp + 0x14], eax
mov byte [ebp + 4], al
push 2
push 0x47cd54
lea ecx, [ebp]
mov dword [ebp - 4], eax
call fcn.004056d0
mov eax, dword [ebp + 0x438]
sub eax, 0
je 0x410799
sub eax, 1
je 0x410790
sub eax, 1
jne 0x4107a8
push 8
push str.https:__
jmp 0x4107a0
push 7
push str.http:__
jmp 0x4107a0
push 6
push str.ftp:__
lea ecx, [ebp]
call fcn.004056d0
mov eax, esi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4107b0
sub eax, edx
push eax
push esi
lea ecx, [ebp]
call fcn.004056d0
push 1
push 0x47c5c0
lea ecx, [ebp]
call fcn.004056d0
mov ecx, dword [ebp + 0x434]
push ecx
push 0x47c480
xor eax, eax
lea edx, [ebp + 0x41c]
push 0xa
push edx
mov word [ebp + 0x41c], ax
mov dword [ebp + 0x41e], eax
mov dword [ebp + 0x422], eax
call fcn.0044d461
lea eax, [ebp + 0x41c]
add esp, 0x10
lea ecx, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x410810
sub eax, ecx
push eax
lea eax, [ebp + 0x41c]
push eax
lea ecx, [ebp]
call fcn.004056d0
mov eax, edi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x410830
sub eax, edx
push eax
push edi
lea ecx, [ebp]
call fcn.004056d0
push 3
push 0x47cd74
lea ecx, [ebp]
call fcn.004056d0
mov eax, ebx
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x410857
sub eax, ecx
push eax
push ebx
lea ecx, [ebp]
call fcn.004056d0
cmp dword [ebp + 0x18], 0x10
jb 0x4108b2
mov ebx, dword [ebp + 4]
test ebx, ebx
je 0x4108b7
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jg 0x4108b7
lea eax, [esi + esi]
call fcn.00453210
mov edi, esp
test edi, edi
je 0x4108b7
push esi
push edi
push 0xffffffffffffffff
xor ecx, ecx
push ebx
push ecx
push 3
mov word [edi], cx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, edi
jmp 0x4108b9
lea ebx, [ebp + 4]
jmp 0x410877
xor eax, eax
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push eax
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0
lea edx, [ebp - 0x10]
push edx
push 0x400
mov esi, eax
push esi
push 0x47cd78
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push 0x900
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
xor eax, eax
push 0x3fe
push eax
lea ecx, [ebp + 0x1e]
push ecx
mov word [ebp + 0x1c], ax
call fcn.0044d020
mov edx, dword [ebp - 0x10]
push edx
push esi
push esi
push str.__d__0x_08x___s
lea eax, [ebp + 0x1c]
push 0x400
push eax
call fcn.0044d461
add esp, 0x24
lea ecx, [ebp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jg 0x410961
lea eax, [esi + esi]
call fcn.00453210
mov edi, esp
test edi, edi
je 0x410961
push esi
push edi
push 0xffffffffffffffff
lea eax, [ebp + 0x1c]
xor edx, edx
push eax
push edx
push 3
mov word [edi], dx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, edi
jmp 0x410963
xor eax, eax
push eax
call ebx
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp + 0x18], 0x10
jb 0x410982
mov edx, dword [ebp + 4]
push edx
call fcn.0042bced
add esp, 4
lea esp, [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x428]
xor ecx, ebp
call fcn.0044b1f7
add ebp, 0x42c
mov esp, ebp
pop ebp
ret