Function at 0x454d70
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46f0a5
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4a0b70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], ecx
push str.DownloadFilesDirectly...
lea ecx, [ebp - 0x28]
call fcn.00401ee0
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x28]
push eax
push 2
call fcn.00467240
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00405260
push 0
mov ecx, dword [ebp - 0x44]
add ecx, 0xc
call fcn.00401fc0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov ecx, 0x4a4b78
call fcn.004067f0
mov ecx, eax
call fcn.00407ad0
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
call fcn.00406d70
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
jmp 0x454e12
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x14]
jge 0x45501a
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.004076c0
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx], 0
je 0x455015
mov edx, dword [ebp - 0x44]
add edx, 0xc
push edx
lea ecx, [ebp - 0x20]
call fcn.00401fa0
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call fcn.00402de0
push eax
lea ecx, [ebp - 0x20]
call fcn.00401920
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x1c]
mov ecx, dword [edx]
call fcn.00406710
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call fcn.00407b10
push eax
lea ecx, [ebp - 0x20]
call fcn.00401fc0
push eax
call fcn.00450d10
add esp, 8
test eax, eax
jne 0x454fc9
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx]
call fcn.00406730
push eax
lea edx, [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x44]
call fcn.00454930
mov dword [ebp - 0x24], eax
mov ecx, 0x4a4b78
call fcn.004030e0
test eax, eax
je 0x454eda
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00405260
mov eax, dword [ebp - 0x2c]
jmp 0x45501f
cmp dword [ebp - 0x24], 0
je 0x454fa0
push str.Downloaded_successfully_in_DownloadFilesDirectly:
lea ecx, [ebp - 0x30]
call fcn.00401ee0
mov byte [ebp - 4], 2
push 0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x30]
push ecx
push 2
call fcn.00466c70
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.00405260
mov edx, dword [ebp - 0x1c]
mov ecx, dword [edx]
call fcn.00407b10
push eax
lea ecx, [ebp - 0x20]
call fcn.00401fc0
push eax
call fcn.00450d10
add esp, 8
test eax, eax
je 0x454f43
push 1
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call fcn.004066f0
jmp 0x454f9e
push 0
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx]
call fcn.004066f0
push str.Downloaded_file_is_not_valid_in_DownloadFilesDirectly:
lea ecx, [ebp - 0x34]
call fcn.00401ee0
mov byte [ebp - 4], 3
push 0
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x34]
push eax
push 2
call fcn.00466c70
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.00405260
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00405260
mov eax, dword [ebp - 0x38]
jmp 0x45501f
jmp 0x454fc7
push 0
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx]
call fcn.004066f0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00405260
mov eax, dword [ebp - 0x3c]
jmp 0x45501f
jmp 0x455006
push 1
mov edx, dword [ebp - 0x1c]
mov ecx, dword [edx]
call fcn.004066f0
push str.File_already_exists_and_valid:
lea ecx, [ebp - 0x40]
call fcn.00401ee0
mov byte [ebp - 4], 4
push 0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x40]
push ecx
push 2
call fcn.00466c70
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00405260
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00405260
jmp 0x454e09
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret