Function at 0x410490
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
xor ebx, ebx
mov esi, ecx
mov edi, edx
mov dword [ebp + 0x18], 0xf
mov dword [ebp + 0x14], ebx
mov byte [ebp + 4], bl
push 2
push 0x47cd54
lea ecx, [ebp]
mov dword [ebp - 4], ebx
call fcn.004056d0
mov eax, dword [ebp + 0x438]
sub eax, ebx
je 0x410512
sub eax, 1
je 0x410509
sub eax, 1
jne 0x410521
push 8
push str.https:__
jmp 0x410519
push 7
push str.http:__
jmp 0x410519
push 6
push str.ftp:__
lea ecx, [ebp]
call fcn.004056d0
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x410526
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]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x410583
sub eax, ecx
push eax
lea eax, [ebp + 0x41c]
push eax
lea ecx, [ebp]
call fcn.004056d0
push 3
push 0x47cd74
lea ecx, [ebp]
call fcn.004056d0
mov eax, edi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4105b0
sub eax, ecx
push eax
push edi
lea ecx, [ebp]
call fcn.004056d0
cmp dword [ebp + 0x18], 0x10
jb 0x41060b
mov ebx, dword [ebp + 4]
test ebx, ebx
je 0x410610
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jg 0x410610
lea eax, [esi + esi]
call fcn.00453210
mov edi, esp
test edi, edi
je 0x410610
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 0x410612
lea ebx, [ebp + 4]
jmp 0x4105d0
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 0x4106ba
lea eax, [esi + esi]
call fcn.00453210
mov edi, esp
test edi, edi
je 0x4106ba
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 0x4106bc
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 0x4106db
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