Function at 0x41af5c
Capabilities:
Create directory

Disassembly:
push 0x30
mov eax, 0x46ef69
call fcn.004529c4
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.004117b0
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.00419fb5
push 1
push 1
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
call fcn.0040a096
cmp edi, ebx
mov dword [ebp - 0x14], ebx
jle 0x41b15c
push dword [ebp - 0x14]
mov ecx, 0x4b77e4
call fcn.0040768c
mov edi, eax
mov eax, dword [edi]
mov dword [ebp - 0x18], edi
cmp eax, ebx
je 0x41b14d
cmp dword [eax + 0x18], ebx
jne 0x41b14d
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 main
mov eax, dword [edi]
lea ecx, [eax + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.00407768
mov ebx, dword [ebp + 8]
mov ecx, edi
call fcn.00417861
test eax, eax
je 0x41b078
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.004112e0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017df
mov eax, dword [edi]
jmp 0x41b0ef
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.0041a67e
cmp dword [0x4b7798], 0
jne 0x41b167
test eax, eax
je 0x41b1d4
mov eax, dword [edi]
add eax, 4
push eax
lea eax, [ebp - 0x20]
push eax
call main
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 main
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004017df
test esi, esi
jne 0x41b176
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 [0x4b7c00]
test ebx, ebx
je 0x41b13c
push 0
push 1
call fcn.0040a096
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.004563b0
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push edx
push eax
call fcn.0045b370
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 0x41afda
xor eax, eax
inc eax
call fcn.00452a9c
ret 4
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004017df
xor eax, eax
jmp 0x41b15f
push str._invalid_after_BB_download
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0040740d
add esp, 0xc
push 0x1fc98
mov ecx, esi
mov edx, eax
mov ebx, 0x4b7bc0
mov byte [ebp - 4], 4
call fcn.0040fd33
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 main
jmp 0x41b167
push str.__BB_download_failed
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0040740d
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, 0x4b7bc0
call fcn.0040fd33
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004017df
mov eax, dword [edi]
and dword [eax + 0x18], 0
jmp 0x41b167