Function at 0x42fd67
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
push ebx
push edi
push 0x104
lea eax, [ebp - 0x22c]
push eax
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
mov ebx, dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
push edi
push 0x5497a0
call ebx
push str.___Begin_bundle_install___
call fcn.0041ff68
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x20], edi
mov dword [esp], 0x1000000
call fcn.004a489b
mov dword [ebp - 4], eax
cmp eax, edi
jne 0x42fdd0
push str.INSTALLDEBUG:_LoadFile_of_current_exe_failed_n
call fcn.0041ff68
pop ecx
xor al, al
jmp 0x42fec9
push esi
push edi
push 0x80
push 4
pop edx
lea ecx, [ebp - 0x22c]
call fcn.0047246a
mov esi, eax
cmp esi, 0xffffffff
jne 0x42fdf3
push str.V8_bundle:_Failed_to_open_exe_n
jmp 0x42fe1b
mov edx, dword [str..payload]
push edi
mov ecx, esi
call fcn.00473a6f
push esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 0x1c]
or eax, dword [ebp - 0x18]
jne 0x42fe30
push str.V8_bundle:_Failed_to_get_bundle_offset_n
call fcn.0041ff68
pop ecx
mov ecx, dword [ebp - 4]
mov dl, 1
call fcn.0046b197
jmp 0x42fec6
mov edx, str..zip
xor ecx, ecx
call fcn.00472575
push dword [ebp - 0x20]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
call fcn.0048e806
mov edx, dword [ebp - 4]
mov ecx, eax
call fcn.004a4926
mov ecx, dword [ebp - 4]
mov dl, 1
mov byte [ebp - 0xd], al
call fcn.0046b197
cmp byte [ebp - 0xd], 0
jne 0x42fe6e
push str.Failed_to_save_temporary_V8_bundle_n
jmp 0x42fe8e
push dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
push dword [ebp - 0x1c]
call fcn.0048e806
mov ecx, eax
call fcn.004de991
mov esi, eax
cmp esi, edi
jne 0x42fe96
push str.No_V8_bundle_found_n
call fcn.0041ff68
pop ecx
jmp 0x42febe
push str.Found_V8_bundle_n
call fcn.0041ff68
pop ecx
mov ecx, esi
call fcn.004debf5
test al, al
jne 0x42fecd
push str.Failed_to_read_V8_bundle_directory_n
call fcn.0041ff68
pop ecx
mov ecx, esi
call fcn.004de9fd
lea ecx, [ebp - 0x14]
call fcn.0048e50a
xor al, al
pop esi
pop edi
pop ebx
leave
ret
mov ecx, 0x4f3840
call fcn.0048880a
push edi
push eax
call ebx
cmp dword [esi + 0x18], edi
jne 0x42ff00
push str.V8_Bundle_found__but_no_files_in_bundle__n
call fcn.0041ff68
pop ecx
mov ecx, esi
call fcn.004de9fd
xor bl, bl
lea ecx, [ebp - 0x14]
call fcn.0048e50a
mov al, bl
jmp 0x42fec8
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
mov edi, str.ui.btapp
mov eax, dword [esi + 0x10]
mov ecx, dword [ebp - 8]
mov ebx, dword [ecx + eax]
mov ecx, ebx
call fcn.0048bfe7
push eax
lea ecx, [ebp - 4]
call fcn.0048e7e6
lea ecx, [ebp - 4]
call fcn.0048e806
mov edx, edi
mov ecx, eax
call fcn.0048d60c
test al, al
jne 0x42ff85
lea ecx, [ebp - 4]
call fcn.0048e50a
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
add dword [ebp - 8], 0x14
cmp eax, dword [esi + 0x18]
jne 0x42ff0b
mov ecx, esi
call fcn.004de9fd
push edi
lea eax, [ebp - 0x24]
push str.Failed_to_find_bundled_btapp:__s
push eax
call fcn.0048ee25
add esp, 0xc
lea ecx, [ebp - 0x24]
call fcn.0048e806
push eax
call fcn.0041ff68
pop ecx
lea ecx, [ebp - 0x24]
call fcn.0048e50a
jmp 0x42fef2
lea eax, [ebp - 0x18]
push eax
mov ecx, ebx
call fcn.0048bfe7
mov edx, eax
mov ecx, esi
call fcn.004dec35
mov ecx, str.b.btapp
mov edi, eax
call fcn.0048c00a
mov ecx, eax
call fcn.004887e3
push dword [ebp - 0x18]
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], eax
call fcn.0048e806
mov edx, edi
mov ecx, eax
call fcn.004a4926
mov bl, al
test bl, bl
je 0x42ffe2
lea ecx, [ebp - 0xc]
call fcn.0048e806
push eax
lea ecx, [ebp - 4]
call fcn.0048e806
push eax
push str.Installing_bundle:__s_to__s
jmp 0x42fff5
push str.apps.btapp
lea ecx, [ebp - 4]
call fcn.0048e806
push eax
push str.Failed_to_unpack_bundled_btapp:__s_to:__s
lea eax, [ebp - 8]
push eax
call fcn.0048ee25
add esp, 0x10
lea ecx, [ebp - 8]
call fcn.0048e806
push eax
call fcn.0041ff68
pop ecx
lea ecx, [ebp - 8]
call fcn.0048e50a
mov dl, 1
mov ecx, edi
call fcn.0046b197
mov ecx, esi
call fcn.004de9fd
lea ecx, [ebp - 0xc]
call fcn.0048e50a
lea ecx, [ebp - 4]
call fcn.0048e50a
jmp 0x42fef4