Function at 0x41aba0
Capabilities:
Create directory
Get disk size
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x565968
mov eax, dword fs:[0]
push eax
sub esp, 0x760
mov eax, dword [0x5d72e0]
xor eax, esp
mov dword [esp + 0x758], eax
push ebx
push esi
push edi
mov eax, dword [0x5d72e0]
xor eax, esp
push eax
lea eax, [esp + 0x770]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.0041fc60
xor esi, esi
cmp eax, esi
je 0x41b0ff
mov ecx, dword [ebx + 4]
push esi
push ecx
mov ecx, eax
call fcn.0041c9c0
cmp eax, esi
je 0x41b12b
cmp dword [eax + 0x1e4], esi
jbe 0x41b12b
cmp dword [ebx + 0x3c], 0
mov ecx, 0x16e
mov esi, eax
lea edi, [esp + 0x1ac]
rep movsd dword es:[edi], dword [esi]
jg 0x41b131
mov edx, dword [ebx + 0xc]
cmp edx, dword [ebx + 0x28]
lea edi, [ebx + 0xc]
mov dword [esp + 0x1c], edi
jl 0x41ac44
mov eax, 1
jmp 0x41b107
push 0x57e9e8
lea ecx, [esp + 0x2c]
call fcn.004019c0
lea esi, [ebx + 0x1c]
push edi
mov ecx, esi
mov dword [esp + 0x77c], 0
call fcn.0041a9b0
add eax, 8
push 0x581e08
push eax
call fcn.00531bf0
add esp, 8
test eax, eax
lea ecx, [esp + 0x28]
je 0x41ac88
push 0x581e08
jmp 0x41ac8d
push str.h264
call fcn.00401980
push edi
lea eax, [esp + 0x40]
push eax
mov ecx, esi
call fcn.0041a050
mov ecx, dword [esi + 4]
lea edx, [esp + 0x14]
mov dword [esp + 0x18], ecx
push edx
lea ecx, [esp + 0x40]
mov dword [esp + 0x18], esi
call fcn.004f6990
test al, al
je 0x41acd9
lea ecx, [esp + 0x28]
mov dword [ebx + 0x28], 0
mov dword [edi], 0
call fcn.004015d0
xor eax, eax
jmp 0x41b107
lea ecx, [esp + 0x3c]
call fcn.0041c380
mov esi, eax
add esi, 4
mov ecx, 0x2f
lea edi, [esp + 0x5c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x30]
call fcn.0049aaa0
lea ecx, [esp + 0x20]
call fcn.00401e90
lea ecx, [esp + 0x24]
call fcn.00401e90
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x77c], 3
call fcn.0049aef0
push 0
push 0
lea ecx, [esp + 0x2c]
call fcn.00401740
push eax
call fcn.0053289b
add esp, 8
cmp eax, 0xffffffff
jne 0x41ad52
push 0
push 0
lea ecx, [esp + 0x2c]
call fcn.00401740
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, dword [esp + 0x60]
shl eax, 0xa
cdq
mov edi, eax
mov eax, dword [esp + 0x24]
mov byte [esp + 0x2c], 0
mov byte [esp + 0x2d], 0x3a
mov byte [esp + 0x2e], 0x5c
mov byte [esp + 0x2f], 0
cmp dword [eax - 0xc], 0
mov esi, edx
jge 0x41ad86
push 0x80070057
call fcn.00401000
mov cl, byte [eax]
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x50]
mov byte [esp + 0x30], cl
push eax
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x41ae00
mov eax, dword [esp + 0x48]
cmp eax, esi
ja 0x41ae00
jb 0x41adbc
mov ecx, dword [esp + 0x44]
cmp ecx, edi
ja 0x41ae00
mov edx, dword [esp + 0x1c]
mov dword [edx], 0
lea ecx, [esp + 0x24]
mov dword [ebx + 0x28], 0
call fcn.004015d0
lea ecx, [esp + 0x20]
call fcn.004015d0
lea ecx, [esp + 0x30]
mov byte [esp + 0x778], 0
call fcn.0049a910
lea ecx, [esp + 0x28]
call fcn.004015d0
xor eax, eax
jmp 0x41b107
mov eax, dword [esp + 0x6d4]
push eax
call fcn.004fb9f0
mov esi, eax
add esp, 4
test esi, esi
jne 0x41ae1e
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
jmp 0x41adc6
lea ecx, [esp + 0x1c]
call fcn.00401e90
lea eax, [esp + 0x6e0]
mov byte [esp + 0x778], 4
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x41ae40
sub eax, edx
je 0x41ae5a
lea edx, [esp + 0x6e0]
push edx
jmp 0x41af82
push 0x90
lea eax, [esp + 0x120]
push 0
push eax
call fcn.00530d30
mov ecx, dword [esp + 0x39c]
mov edx, dword [esi]
mov edx, dword [edx + 0x3c]
add esp, 0xc
push 0
push 0x90
lea eax, [esp + 0x124]
push eax
push 0xffffffffffffffff
push 0x14
push 0
push ecx
mov ecx, esi
call edx
test eax, eax
jle 0x41af7a
lea eax, [esp + 0x189]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x41aeb0
sub eax, edx
je 0x41af7a
lea ecx, [esp + 0x14]
call fcn.00401e90
lea eax, [esp + 0x189]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x77c], 5
call fcn.00401980
push 0x3a
lea ecx, [esp + 0x18]
call fcn.00419ea0
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x20]
call fcn.00402060
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 0xc]
add eax, 1
push eax
push 0
lea ecx, [esp + 0x1c]
call fcn.00401740
push eax
lea eax, [esp + 0x6e8]
push eax
call fcn.00530db0
mov edx, dword [esp + 0x1b8]
add esp, 0xc
lea ecx, [esp + 0x1ac]
push ecx
push edx
call fcn.0041fc60
mov ecx, eax
call fcn.0041cab0
test eax, eax
jle 0x41af67
push 0
push eax
call fcn.0041fc60
mov ecx, eax
call fcn.0041c9c0
test eax, eax
jne 0x41af67
lea eax, [esp + 0x1f0]
push eax
lea ecx, [esp + 0x20]
call fcn.00401980
lea ecx, [esp + 0x14]
mov byte [esp + 0x778], 4
call fcn.004015d0
jmp 0x41af8b
lea ecx, [esp + 0x1f0]
push ecx
lea ecx, [esp + 0x20]
call fcn.00401980
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0xe4]
push edx
mov edx, dword [esp + 0xe4]
push eax
mov eax, dword [esp + 0xe0]
push ecx
mov ecx, dword [esp + 0xe0]
push edx
mov edx, dword [esp + 0xe0]
push eax
push ecx
push edx
push 0
lea ecx, [esp + 0x3c]
call fcn.00401740
push eax
mov eax, dword [esp + 0x44]
push eax
lea ecx, [esp + 0x44]
push str._s_s_04d_02d_02d_02d_02d_02d._s
push ecx
call fcn.004020e0
add esp, 0x2c
lea ecx, [esp + 0x20]
call fcn.00402fa0
mov ecx, eax
call fcn.00401ec0
mov edi, dword [esi]
push ebx
push 0x41aa80
push 0
lea ecx, [esp + 0x2c]
call fcn.00401740
mov ecx, dword [esp + 0x398]
push eax
mov eax, dword [esp + 0x1b8]
lea edx, [esp + 0x68]
push edx
mov edx, dword [edi + 0x6c]
push eax
push ecx
mov ecx, esi
call edx
test eax, eax
mov dword [ebx + 0x3c], eax
jg 0x41b07b
mov eax, dword [esi]
mov edx, dword [eax + 0xb0]
mov ecx, esi
call edx
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.00401e90
push 0
lea ecx, [esp + 0x24]
mov byte [esp + 0x77c], 6
call fcn.00401740
push eax
mov eax, dword [ebx + 0x3c]
push eax
push esi
lea ecx, [esp + 0x1fc]
push ecx
lea edx, [esp + 0x24]
push str._n_s_Download_Error:_d___ld___s_n
push edx
call fcn.004020e0
mov eax, dword [esp + 0x2c]
add esp, 0x18
push eax
jmp 0x41b0bb
lea ecx, [esp + 0x14]
call fcn.00401e90
push 0
lea ecx, [esp + 0x24]
mov byte [esp + 0x77c], 7
call fcn.00401740
mov ecx, dword [ebx + 0x3c]
push eax
push ecx
lea edx, [esp + 0x1f8]
push edx
lea eax, [esp + 0x20]
push str._n_s_Download_Start:__ld____s_n
push eax
call fcn.004020e0
mov ecx, dword [esp + 0x28]
add esp, 0x14
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [esp + 0x14]
call fcn.004015d0
lea ecx, [esp + 0x1c]
call fcn.004015d0
lea ecx, [esp + 0x24]
call fcn.004015d0
lea ecx, [esp + 0x20]
call fcn.004015d0
lea ecx, [esp + 0x30]
mov byte [esp + 0x778], 0
call fcn.0049a910
lea ecx, [esp + 0x28]
call fcn.004015d0
xor eax, eax
cmp dword [ebx + 0x3c], eax
setg al
mov ecx, dword [esp + 0x770]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x758]
xor ecx, esp
call fcn.0053042b
mov esp, ebp
pop ebp
ret
mov dword [ebx + 0x28], esi
mov dword [ebx + 0xc], esi
xor eax, eax
jmp 0x41b107