Function at 0x41a18b
Capabilities:
Create directory

Disassembly:
push 0x30
mov eax, 0x46b0d7
call fcn.004508b2
push str.DownloadFilesDirectly...
lea ecx, [ebp - 0x18]
call fcn.004012e2
xor ebx, ebx
push ebx
lea eax, [ebp - 0x18]
push eax
push 2
mov dword [ebp - 4], ebx
call fcn.00410d56
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017ba
mov esi, dword [ebp + 8]
add esi, 8
mov eax, dword [esi]
push ebx
push eax
push ebx
mov dword [ebp - 0x24], esi
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov edi, dword [0x4b27ec]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
call fcn.004191e5
push 1
push 1
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
call fcn.00409590
cmp edi, ebx
mov dword [ebp - 0x14], ebx
jle 0x41a38b
push dword [ebp - 0x14]
mov ecx, 0x4b27e4
call fcn.00406a88
mov edi, eax
mov eax, dword [edi]
mov dword [ebp - 0x18], edi
cmp eax, ebx
je 0x41a37c
cmp dword [eax + 0x18], ebx
jne 0x41a37c
push esi
lea ecx, [ebp - 0x10]
call fcn.00401326
mov dword [ebp - 4], 1
mov eax, dword [edi]
add eax, 4
mov eax, dword [eax]
push dword [eax - 0xc]
lea ecx, [ebp - 0x10]
push eax
call fcn.00401163
mov eax, dword [edi]
lea ecx, [eax + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.00406b64
mov ebx, dword [ebp + 8]
mov ecx, edi
call fcn.00416e9b
test eax, eax
je 0x41a2a7
push str.File_already_exist_and_valid:
lea ecx, [ebp - 0x1c]
call fcn.004012e2
mov byte [ebp - 4], 2
mov eax, dword [edi]
push 0
add eax, 8
push eax
lea eax, [ebp - 0x1c]
push eax
push 2
call fcn.00410886
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017ba
mov eax, dword [edi]
jmp 0x41a31e
mov eax, dword [edi]
push 0
push dword [ebp - 0x2c]
add eax, 0xc
push dword [ebp - 0x30]
push 1
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
call fcn.004198ae
cmp dword [0x4b2798], 0
jne 0x41a396
test eax, eax
je 0x41a403
mov eax, dword [edi]
add eax, 4
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004157ad
mov byte [ebp - 4], 3
mov eax, dword [eax]
mov ecx, dword [edi]
mov edi, dword [ecx + 0x14]
mov esi, dword [ebp - 0x10]
mov ebx, eax
call fcn.00420f8b
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004017ba
test esi, esi
jne 0x41a3a5
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
mov dword [eax + 0x18], 1
mov ebx, dword [0x4b2bec]
test ebx, ebx
je 0x41a36b
push 0
push 1
call fcn.00409590
mov eax, dword [edi]
mov eax, dword [eax + 0x14]
mov edi, dword [ebx]
cdq
add dword [ebp - 0x30], eax
push 0
push 0x64
adc dword [ebp - 0x2c], edx
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
call fcn.004542a0
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push edx
push eax
call fcn.00459260
push eax
mov ecx, ebx
call dword [edi + 0x188]
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004017ba
xor ebx, ebx
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x28]
jl 0x41a209
xor eax, eax
inc eax
call fcn.0045098a
ret 4
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004017ba
xor eax, eax
jmp 0x41a38e
push str._invalid_after_BB_download
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00406977
add esp, 0xc
push 0x1fc98
mov ecx, esi
mov edx, eax
mov ebx, 0x4b2bac
mov byte [ebp - 4], 4
call fcn.0040f2d9
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004017ba
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
and dword [eax + 0x18], 0
lea eax, [ebp + 0xb]
push eax
push esi
push str.Signature_Validation_Error
mov ecx, 0x4b26d8
mov byte [ebp + 0xb], 0
call fcn.00406c2e
jmp 0x41a396
push str.__BB_download_failed
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00406977
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x2240c
mov ecx, eax
mov edx, esi
mov ebx, 0x4b2bac
call fcn.0040f2d9
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004017ba
mov eax, dword [edi]
and dword [eax + 0x18], 0
jmp 0x41a396