Function at 0x405070
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40a3a5
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x40f008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
lea ecx, [ebp - 0x28]
push 0
mov dword [ebp - 0x28], 0
push 0x40b3e3
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00406d00
mov dword [ebp - 4], 0
cmp byte [0x40f724], 0
je 0x405102
sub esp, 0x18
mov ecx, esp
push 0xa
push str.Debug_MODE
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.00406d00
call fcn.00402bd0
add esp, 0x18
cmp dword [ebp + 8], 1
jne 0x405132
sub esp, 0x18
mov ecx, esp
push 0x1c
push str.1_Argument_required_::__URL_
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.00406d00
jmp 0x4053eb
mov edx, dword [esi + 4]
mov ecx, edx
lea esi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405140
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00406d00
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov ebx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x18]
cmovae ecx, ebx
push 3
push 0x40b75c
push 0
mov edx, esi
call fcn.00407cd0
add esp, 0xc
cmp eax, 0xffffffff
je 0x4053bb
cmp byte [0x40f724], 0
je 0x4051ef
sub esp, 0x18
mov ecx, esp
push 0x13
push str.URL_correct_proceed
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.00406d00
call fcn.00402bd0
mov edx, dword [ebp - 0x18]
mov eax, 0x7fffffff
sub eax, edx
mov ecx, esp
mov dword [ebp - 0x5c], ecx
cmp eax, 5
jb 0x405446
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push edx
cmovae eax, dword [ebp - 0x28]
push eax
push 5
push str.URL:
push ecx
push dword [ebp - 0x5c]
call fcn.00408760
call fcn.00402bd0
add esp, 0x18
push 4
push str.down
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
call fcn.00406d00
cmp dword [ebp - 0x60], 0x10
lea ecx, [ebp - 0x58]
lea eax, [ebp - 0x74]
cmovae eax, dword [ebp - 0x74]
push ecx
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__stat64i32]
mov ecx, dword [ebp - 0x60]
add esp, 8
test eax, eax
setne bl
cmp ecx, 0x10
jb 0x405267
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40525d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40525d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004090e1
add esp, 8
test bl, bl
jne 0x4052c3
push str.down
lea ecx, [ebp - 0x40]
call fcn.00407540
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.004020a0
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x4052c3
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4052b9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4052b9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004090e1
add esp, 8
push 0
push str.down
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x40]
push 0x40b3e3
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00406d00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x74]
push 0xa
mov dword [ebp - 0x74], 0
push str.Voe_DL.exe
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
call fcn.00406d00
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
lea edx, [ebp - 0x74]
lea ecx, [ebp - 0x28]
call fcn.004023a0
mov byte [ebp - 4], 2
add esp, 4
mov ecx, dword [ebp - 0x60]
cmp ecx, 0x10
jb 0x405372
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405368
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405419
push ecx
push edx
call fcn.004090e1
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x4053a6
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40539c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405419
push ecx
push edx
call fcn.004090e1
add esp, 8
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00406500
call fcn.00402ec0
jmp 0x4053f0
sub esp, 0x18
mov eax, 0x7fffffff
sub eax, esi
mov ecx, esp
mov dword [ebp - 0x5c], ecx
cmp eax, 0xb
jb 0x405446
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, ebx
push eax
push 0xb
push str.Wrong_url:
push ecx
push dword [ebp - 0x5c]
call fcn.00408760
call fcn.00402cf0
mov ecx, dword [ebp - 0x14]
add esp, 0x18
cmp ecx, 0x10
jb 0x405429
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40541f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40541f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004090e1
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004090a3
mov esp, ebp
pop ebp
ret
call fcn.00401170
int3