Function at 0x5a30e2
Capabilities:
Create directory

Disassembly:
push ebp
sub esp, 0x68
mov eax, 0x6b2073
call fcn.006426c4
sub esp, 0x238
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x244]
xor ebx, ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
push ebx
push 0x7b0490
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
push str.___Begin_bundle_install___
call fcn.005a2c98
push 0x1000000
lea eax, [ebp + 0x64]
mov dword [ebp + 0x64], ebx
push eax
lea eax, [ebp - 0x244]
push eax
call fcn.004638b5
mov esi, eax
test esi, esi
jne 0x5a3153
push str.INSTALLDEBUG:_LoadFile_of_current_exe_failed_n
call fcn.005a2c98
xor al, al
jmp 0x5a340e
push 0x80
push 4
lea eax, [ebp - 0x244]
push eax
call fcn.00461def
mov edi, eax
cmp edi, 0xffffffff
jne 0x5a3181
push str.V8_bundle:_Failed_to_open_exe_n
call fcn.005a2c98
push 1
push esi
call fcn.00460614
jmp 0x5a314c
push ebx
push dword [0x78d844]
push edi
call fcn.00483bef
mov ebx, eax
mov dword [ebp + 0x60], edx
push edi
mov dword [ebp + 0x68], ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov edi, dword [ebp + 0x60]
mov ecx, ebx
or ecx, edi
jne 0x5a31ad
push str.V8_bundle:_Failed_to_get_bundle_offset_n
jmp 0x5a3172
push str..zip
push 0
lea eax, [ebp]
push eax
call fcn.00460dc6
and dword [ebp - 4], 0
cmp dword [ebp + 0x14], 8
mov eax, dword [ebp]
jae 0x5a31cd
lea eax, [ebp]
push dword [ebp + 0x64]
push esi
push eax
call fcn.00463f7b
push 1
push esi
mov bl, al
call fcn.00460614
test bl, bl
jne 0x5a31ec
push str.Failed_to_save_temporary_V8_bundle_n
jmp 0x5a320e
push edi
push dword [ebp + 0x68]
lea eax, [ebp]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00427fbe
call fcn.00483047
mov esi, eax
test esi, esi
jne 0x5a3215
push str.No_V8_bundle_found_n
call fcn.005a2c98
jmp 0x5a3239
push str.Found_V8_bundle_n
call fcn.005a2c98
push esi
call fcn.004830f7
test al, al
jne 0x5a3240
push str.Failed_to_read_V8_bundle_directory_n
call fcn.005a2c98
push esi
call fcn.004830bc
xor bl, bl
jmp 0x5a3400
push 0x6c4d54
lea eax, [ebp - 0x3c]
push eax
call fcn.00473f1c
cmp dword [ebp - 0x28], 8
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 1
jae 0x5a325e
lea eax, [ebp - 0x3c]
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
cmp dword [esi + 0x34], 0
jne 0x5a3284
push str.V8_Bundle_found__but_no_files_in_bundle__n
call fcn.005a2c98
push esi
call fcn.004830bc
xor bl, bl
jmp 0x5a33f4
xor ebx, ebx
lea eax, [esi + 0x24]
push ebx
mov ecx, eax
call fcn.0053d231
mov edi, eax
cmp dword [edi + 0x14], 0x10
jb 0x5a329b
mov edi, dword [edi]
push edi
lea eax, [ebp + 0x48]
push eax
call fcn.0047e93b
cmp dword [ebp + 0x5c], 8
mov eax, dword [ebp + 0x48]
mov byte [ebp - 4], 2
jae 0x5a32b5
lea eax, [ebp + 0x48]
push 0x715160
push eax
call fcn.0047eb47
test al, al
jne 0x5a3319
push 0
push 1
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], 1
call fcn.004285f6
inc ebx
lea eax, [esi + 0x24]
cmp ebx, dword [esi + 0x34]
jne 0x5a3289
push esi
call fcn.004830bc
push 0x715160
lea eax, [ebp - 0x24]
push str.Failed_to_find_bundled
push eax
call fcn.00465d7f
add esp, 0xc
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 6
jae 0x5a3309
lea eax, [ebp - 0x24]
push eax
call fcn.005a2c98
xor bl, bl
lea ecx, [ebp - 0x24]
jmp 0x5a33eb
lea eax, [ebp + 0x68]
push eax
push edi
push esi
call fcn.005a35df
mov edi, eax
lea eax, [ebp + 0x18]
push str.b.btapp
push eax
call fcn.00473fd0
cmp dword [ebp + 0x2c], 8
mov eax, dword [ebp + 0x18]
mov byte [ebp - 4], 3
jae 0x5a3344
lea eax, [ebp + 0x18]
push dword [ebp + 0x68]
push edi
push eax
call fcn.00463f7b
mov bl, al
test bl, bl
je 0x5a3385
cmp dword [ebp + 0x2c], 8
mov ecx, dword [ebp + 0x18]
jae 0x5a3360
lea ecx, [ebp + 0x18]
cmp dword [ebp + 0x5c], 8
mov eax, dword [ebp + 0x48]
jae 0x5a336c
lea eax, [ebp + 0x48]
push ecx
push eax
lea eax, [ebp + 0x30]
push str.Installing_bundle:__s_to__s
push eax
call fcn.00465d7f
add esp, 0x10
mov byte [ebp - 4], 4
jmp 0x5a33ac
cmp dword [ebp + 0x5c], 8
mov eax, dword [ebp + 0x48]
jae 0x5a3391
lea eax, [ebp + 0x48]
push str.apps.btapp
push eax
lea eax, [ebp + 0x30]
push str.Failed_to_unpack_bundled
push eax
call fcn.00465d7f
add esp, 0x10
mov byte [ebp - 4], 5
cmp dword [ebp + 0x44], 8
mov eax, dword [ebp + 0x30]
jae 0x5a33b8
lea eax, [ebp + 0x30]
push eax
call fcn.005a2c98
push 0
push 1
lea ecx, [ebp + 0x30]
mov byte [ebp - 4], 3
call fcn.004285f6
push 1
push edi
call fcn.00460614
push esi
call fcn.004830bc
push 0
push 1
lea ecx, [ebp + 0x18]
call fcn.004285f6
lea ecx, [ebp + 0x48]
push 0
push 1
call fcn.004285f6
push 0
push 1
lea ecx, [ebp - 0x3c]
call fcn.004285f6
push 0
push 1
lea ecx, [ebp]
call fcn.004285f6
mov al, bl
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
lea esp, [ebp + 0x6c]
pop ebp
ret