Function at 0x5d3e8d
Capabilities:
Create directory

Disassembly:
push ebp
sub esp, 0x6c
mov eax, 0x6e5a10
call fcn.006899cc
sub esp, 0x238
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x244]
xor esi, esi
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
push esi
push 0x7e5618
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
push str.___Begin_bundle_install___
mov ebx, 0x6f60f4
push ebx
call fcn.0048e961
pop ecx
pop ecx
push 0x1000000
lea eax, [ebp + 0x68]
mov dword [ebp + 0x68], esi
push eax
lea eax, [ebp - 0x244]
push eax
call fcn.00472f8b
mov edi, eax
test edi, edi
jne 0x5d3f09
push str.INSTALLDEBUG:_LoadFile_of_current_exe_failed_n
push ebx
call fcn.0048e961
pop ecx
pop ecx
xor al, al
jmp 0x5d41f5
push 0x80
push 4
lea eax, [ebp - 0x244]
push eax
call fcn.00470c47
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x5d3f3e
push str.V8_bundle:_Failed_to_open_exe_n
push 0x6f60f4
call fcn.0048e961
pop ecx
pop ecx
push 1
push edi
call fcn.0046f19e
jmp 0x5d3f02
push esi
push dword [0x7c0bcc]
push ebx
call fcn.00498885
push ebx
mov dword [ebp + 0x6c], eax
mov dword [ebp + 0x64], edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp + 0x6c]
or eax, dword [ebp + 0x64]
jne 0x5d3f67
push str.V8_bundle:_Failed_to_get_bundle_offset_n
jmp 0x5d3f28
push str..zip
push esi
lea eax, [ebp]
push eax
call fcn.0046f6b4
push 8
pop ecx
lea eax, [ebp]
mov dword [ebp - 4], ecx
cmp dword [ebp + 0x14], ecx
jb 0x5d3f87
mov eax, dword [ebp]
push dword [ebp + 0x68]
push edi
push eax
call fcn.0047369e
push 1
push edi
mov bl, al
call fcn.0046f19e
test bl, bl
jne 0x5d3fb7
push str.Failed_to_save_temporary_V8_bundle_n
push 0x6f60f4
call fcn.0048e961
pop ecx
pop ecx
xor ebx, ebx
jmp 0x5d41eb
push dword [ebp + 0x64]
xor ebx, ebx
lea eax, [ebp]
push dword [ebp + 0x6c]
sub esp, 0x18
mov ecx, esp
push eax
mov dword [ecx], ebx
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.00448193
call fcn.00497bb0
mov esi, eax
test esi, esi
jne 0x5d3ff6
push str.No_V8_bundle_found_n
push 0x6f60f4
call fcn.0048e961
pop ecx
pop ecx
jmp 0x5d41eb
push str.Found_V8_bundle_n
mov edi, 0x6f60f4
push edi
call fcn.0048e961
pop ecx
pop ecx
push esi
call fcn.00497c52
test al, al
jne 0x5d402a
push str.Failed_to_read_V8_bundle_directory_n
push edi
call fcn.0048e961
pop ecx
pop ecx
push esi
call fcn.00497c2d
jmp 0x5d41eb
push 0x6f6c7c
lea eax, [ebp - 0x3c]
push eax
call fcn.004848ce
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x11
jb 0x5d4048
mov eax, dword [ebp - 0x3c]
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
cmp dword [esi + 0x38], ebx
jne 0x5d406d
push str.V8_Bundle_found__but_no_files_in_bundle__n
push edi
call fcn.0048e961
pop ecx
pop ecx
push esi
call fcn.00497c2d
jmp 0x5d41e3
mov edx, ebx
mov dword [ebp + 0x6c], ebx
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x30]
add eax, edx
dec ecx
and ecx, eax
mov eax, dword [esi + 0x2c]
mov edi, dword [eax + ecx*4]
cmp dword [edi + 0x14], 0x10
jb 0x5d408b
mov edi, dword [edi]
push edi
lea eax, [ebp + 0x48]
push eax
call fcn.0048fdc9
cmp dword [ebp + 0x5c], 8
lea eax, [ebp + 0x48]
mov byte [ebp - 4], 0x14
jb 0x5d40a5
mov eax, dword [ebp + 0x48]
push str.ui.btapp
push eax
call fcn.00490018
test al, al
jne 0x5d410d
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], 0x11
call fcn.0044823e
mov edx, dword [ebp + 0x6c]
inc edx
mov dword [ebp + 0x6c], edx
cmp edx, dword [esi + 0x38]
jne 0x5d4072
push esi
call fcn.00497c2d
push str.ui.btapp
lea eax, [ebp - 0x24]
push str.Failed_to_find_bundled_btapp:__s
push eax
call fcn.00475719
add esp, 0xc
cmp dword [ebp - 0x10], 8
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0x1c
jb 0x5d40f8
mov eax, dword [ebp - 0x24]
push eax
push 0x6f60f4
call fcn.0048e961
pop ecx
pop ecx
lea ecx, [ebp - 0x24]
jmp 0x5d41de
lea eax, [ebp + 0x6c]
push eax
push edi
push esi
call fcn.004de1be
mov edi, eax
lea eax, [ebp + 0x18]
push str.b.btapp
push eax
call fcn.004849d5
cmp dword [ebp + 0x2c], 8
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 0x15
jb 0x5d4138
mov ecx, dword [ebp + 0x18]
push dword [ebp + 0x6c]
push edi
push ecx
call fcn.0047369e
mov bl, al
test bl, bl
je 0x5d4179
cmp dword [ebp + 0x2c], 8
lea ecx, [ebp + 0x18]
jb 0x5d4154
mov ecx, dword [ebp + 0x18]
cmp dword [ebp + 0x5c], 8
lea eax, [ebp + 0x48]
jb 0x5d4160
mov eax, dword [ebp + 0x48]
push ecx
push eax
lea eax, [ebp + 0x30]
push str.Installing_bundle:__s_to__s
push eax
call fcn.00475719
add esp, 0x10
mov byte [ebp - 4], 0x16
jmp 0x5d41a0
cmp dword [ebp + 0x5c], 8
lea eax, [ebp + 0x48]
jb 0x5d4185
mov eax, dword [ebp + 0x48]
push str.apps.btapp
push eax
lea eax, [ebp + 0x30]
push str.Failed_to_unpack_bundled_btapp:__s_to:__s
push eax
call fcn.00475719
add esp, 0x10
mov byte [ebp - 4], 0x19
cmp dword [ebp + 0x44], 8
lea eax, [ebp + 0x30]
jb 0x5d41ac
mov eax, dword [ebp + 0x30]
push eax
push 0x6f60f4
call fcn.0048e961
pop ecx
pop ecx
lea ecx, [ebp + 0x30]
mov byte [ebp - 4], 0x15
call fcn.0044823e
push 1
push edi
call fcn.0046f19e
push esi
call fcn.00497c2d
lea ecx, [ebp + 0x18]
call fcn.0044823e
lea ecx, [ebp + 0x48]
call fcn.0044823e
lea ecx, [ebp - 0x3c]
call fcn.0044823e
lea ecx, [ebp]
call fcn.0044823e
mov al, bl
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add ebp, 0x70
leave
ret