Function at 0x599fd6
Capabilities:
Create directory
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x67ba3a
call fcn.006313fc
sub esp, 0x2a4
push ebx
push ebp
push esi
push edi
push 0x104
lea eax, [esp + 0xb0]
xor ebx, ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
mov ebp, dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
push ebx
push 0x75edc0
call ebp
push str.___Begin_bundle_install___
call fcn.00599b51
push 0x1000000
lea eax, [esp + 0x18]
mov dword [esp + 0x18], ebx
push eax
lea eax, [esp + 0xb4]
push eax
call fcn.00460a7d
mov esi, eax
test esi, esi
jne 0x59a04a
push str.INSTALLDEBUG:_LoadFile_of_current_exe_failed_n
call fcn.00599b51
xor al, al
jmp 0x59a368
push 0x80
push 4
lea eax, [esp + 0xb4]
push eax
call fcn.0045eeaa
mov edi, eax
cmp edi, 0xffffffff
jne 0x59a079
push str.V8_bundle:_Failed_to_open_exe_n
call fcn.00599b51
push 1
push esi
call fcn.0045d916
jmp 0x59a043
push ebx
push dword [0x73f7e4]
push edi
call fcn.0047f618
mov ebx, eax
mov dword [esp + 0x18], edx
push edi
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov edi, dword [esp + 0x18]
mov ecx, ebx
or ecx, edi
jne 0x59a0a8
push str.V8_bundle:_Failed_to_get_bundle_offset_n
jmp 0x59a06a
push str..zip
push 0
lea eax, [esp + 0x6c]
push eax
call fcn.0045ddbc
and dword [esp + 0x2bc], 0
cmp dword [esp + 0x78], 8
mov eax, dword [esp + 0x64]
jae 0x59a0d0
lea eax, [esp + 0x64]
push dword [esp + 0x14]
push esi
push eax
call fcn.0046111c
push 1
push esi
mov bl, al
call fcn.0045d916
test bl, bl
jne 0x59a0f0
push str.Failed_to_save_temporary_V8_bundle_n
jmp 0x59a114
push edi
push dword [esp + 0x14]
lea eax, [esp + 0x6c]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00422efb
call fcn.0047e944
mov esi, eax
test esi, esi
jne 0x59a11b
push str.No_V8_bundle_found_n
call fcn.00599b51
jmp 0x59a13f
push str.Found_V8_bundle_n
call fcn.00599b51
push esi
call fcn.0047e9e2
test al, al
jne 0x59a146
push str.Failed_to_read_V8_bundle_directory_n
call fcn.00599b51
push esi
call fcn.0047e9aa
xor bl, bl
jmp 0x59a359
push 0x68a6a4
lea eax, [esp + 0x80]
push eax
call fcn.0046e883
cmp dword [esp + 0x90], 8
mov eax, dword [esp + 0x7c]
mov byte [esp + 0x2bc], 1
jae 0x59a172
lea eax, [esp + 0x7c]
push 0
push eax
call ebp
cmp dword [esi + 0x34], 0
jne 0x59a194
push str.V8_Bundle_found__but_no_files_in_bundle__n
call fcn.00599b51
push esi
call fcn.0047e9aa
xor bl, bl
jmp 0x59a349
xor ebx, ebx
push ebx
lea ecx, [esi + 0x24]
call fcn.004f47a5
mov edi, eax
cmp dword [edi + 0x14], 0x10
jb 0x59a1a9
mov edi, dword [edi]
push edi
lea eax, [esp + 0x20]
push eax
call fcn.0047a1e1
cmp dword [esp + 0x30], 8
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x2bc], 2
jae 0x59a1cb
lea eax, [esp + 0x1c]
push str.ui.btapp
push eax
call fcn.0047a3ed
test al, al
jne 0x59a249
push 0
push 1
lea ecx, [esp + 0x24]
mov byte [esp + 0x2c4], 1
call fcn.0042341c
inc ebx
cmp ebx, dword [esi + 0x34]
jne 0x59a196
push esi
call fcn.0047e9aa
push str.ui.btapp
lea eax, [esp + 0x98]
push str.Failed_to_find_bundled_btapp:__s
push eax
call fcn.0047224d
add esp, 0xc
cmp dword [esp + 0xa8], 8
mov eax, dword [esp + 0x94]
mov byte [esp + 0x2bc], 6
jae 0x59a235
lea eax, [esp + 0x94]
push eax
call fcn.00599b51
xor bl, bl
lea ecx, [esp + 0x94]
jmp 0x59a340
lea eax, [esp + 0x10]
push eax
push edi
push esi
call fcn.004d929b
mov edi, eax
lea eax, [esp + 0x4c]
push str.b.btapp
push eax
call fcn.0046e937
mov eax, dword [esp + 0x4c]
push 8
pop ebp
mov byte [esp + 0x2bc], 3
cmp dword [esp + 0x60], ebp
jae 0x59a27f
lea eax, [esp + 0x4c]
push dword [esp + 0x10]
push edi
push eax
call fcn.0046111c
mov bl, al
test bl, bl
je 0x59a2ca
mov ecx, dword [esp + 0x4c]
cmp dword [esp + 0x60], ebp
jae 0x59a29e
lea ecx, [esp + 0x4c]
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x30], ebp
jae 0x59a2ac
lea eax, [esp + 0x1c]
push ecx
push eax
lea eax, [esp + 0x3c]
push str.Installing_bundle:__s_to__s
push eax
call fcn.0047224d
add esp, 0x10
mov byte [esp + 0x2bc], 4
jmp 0x59a2f8
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x30], ebp
jae 0x59a2d8
lea eax, [esp + 0x1c]
push str.apps.btapp
push eax
lea eax, [esp + 0x3c]
push str.Failed_to_unpack_bundled_btapp:__s_to:__s
push eax
call fcn.0047224d
add esp, 0x10
mov byte [esp + 0x2bc], 5
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], ebp
jae 0x59a306
lea eax, [esp + 0x34]
push eax
call fcn.00599b51
push 0
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2c4], 3
call fcn.0042341c
push 1
push edi
call fcn.0045d916
push esi
call fcn.0047e9aa
push 0
push 1
lea ecx, [esp + 0x54]
call fcn.0042341c
lea ecx, [esp + 0x1c]
push 0
push 1
call fcn.0042341c
push 0
push 1
lea ecx, [esp + 0x84]
call fcn.0042341c
push 0
push 1
lea ecx, [esp + 0x6c]
call fcn.0042341c
mov al, bl
mov ecx, dword [esp + 0x2b4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
leave
ret