Function at 0x41afc9
Capabilities:
Create directory

Disassembly:
push 0x30
mov eax, 0x46f521
call fcn.00452eb4
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.00411806
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
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 [0x4b77ec]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
call fcn.0041a022
push 1
push 1
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
call fcn.0040a0e1
cmp edi, ebx
mov dword [ebp - 0x14], ebx
jle 0x41b1c9
push dword [ebp - 0x14]
mov ecx, 0x4b77e4
call fcn.004076d7
mov edi, eax
mov eax, dword [edi]
mov dword [ebp - 0x18], edi
cmp eax, ebx
je 0x41b1ba
cmp dword [eax + 0x18], ebx
jne 0x41b1ba
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.004077b3
mov ebx, dword [ebp + 8]
mov ecx, edi
call fcn.004178ca
test eax, eax
je 0x41b0e5
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.00411336
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017df
mov eax, dword [edi]
jmp 0x41b15c
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.0041a6eb
cmp dword [0x4b7798], 0
jne 0x41b1d4
test eax, eax
je 0x41b241
mov eax, dword [edi]
add eax, 4
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004161ec
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.00421f01
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004017df
test esi, esi
jne 0x41b1e3
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 [0x4b7c18]
test ebx, ebx
je 0x41b1a9
push 0
push 1
call fcn.0040a0e1
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.004568a0
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push edx
push eax
call fcn.0045b860
push eax
mov ecx, ebx
call dword [edi + 0x188]
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004017df
xor ebx, ebx
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x28]
jl 0x41b047
xor eax, eax
inc eax
call fcn.00452f8c
ret 4
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004017df
xor eax, eax
jmp 0x41b1cc
push str._invalid_after_BB_download
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00407458
add esp, 0xc
push 0x1fc98
mov ecx, esi
mov edx, eax
mov ebx, 0x4b7bd8
mov byte [ebp - 4], 4
call fcn.0040fd89
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004017df
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, 0x4b76d8
mov byte [ebp + 0xb], 0
call fcn.0040787d
jmp 0x41b1d4
push str.__BB_download_failed
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00407458
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, 0x4b7bd8
call fcn.0040fd89
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004017df
mov eax, dword [edi]
and dword [eax + 0x18], 0
jmp 0x41b1d4