Function at 0x5ab913
Capabilities:
Create directory
Move file

Disassembly:
push ebp
sub esp, 0x74
mov eax, 0x6bfa24
call fcn.00651da4
sub esp, 0x1c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp], ebx
push dword [0x79e878]
call fcn.0047fc5b
mov edi, eax
test edi, edi
je 0x5abc49
push edi
call fcn.0047f367
test al, al
jne 0x5ab956
push edi
call fcn.0047f32c
jmp 0x5abc49
push 0x6d2ccc
lea eax, [ebp - 0x28]
push eax
call fcn.0047014f
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], ebx
jae 0x5ab973
lea eax, [ebp - 0x28]
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
xor eax, eax
mov dword [ebp + 0x68], 7
mov dword [ebp + 0x64], ebx
mov word [ebp + 0x54], ax
mov esi, ebx
mov dword [ebp + 0x74], esi
mov eax, ebx
mov byte [ebp - 4], 2
mov dword [ebp + 0x6c], eax
cmp dword [edi + 0x34], eax
je 0x5abbbd
lea ecx, [edi + 0x24]
push eax
call fcn.004733af
mov ebx, eax
cmp dword [ebx + 0x14], 0x10
jb 0x5ab9b5
mov ebx, dword [ebx]
push ebx
lea eax, [ebp + 0x34]
push eax
call fcn.0047aca8
cmp dword [ebp + 0x48], 8
mov eax, dword [ebp + 0x34]
mov byte [ebp - 4], 3
jae 0x5ab9cf
lea eax, [ebp + 0x34]
push 0x6d2aac
push eax
call fcn.0047aeb4
test al, al
je 0x5abb61
lea eax, [ebp + 0x50]
push eax
push ebx
push edi
call fcn.005ac158
push 0
mov ebx, eax
lea eax, [ebp + 0x1c]
push 0x6d2aac
push eax
call fcn.0045c940
push eax
lea ecx, [ebp + 0x54]
call fcn.004281d1
push 0
push 1
lea ecx, [ebp + 0x1c]
call fcn.004284eb
cmp dword [ebp + 0x68], 8
mov eax, dword [ebp + 0x54]
jae 0x5aba20
lea eax, [ebp + 0x54]
push dword [ebp + 0x50]
push ebx
push eax
call fcn.004601c3
test al, al
je 0x5abb38
and dword [ebp + 0x2c], 0
xor eax, eax
mov dword [ebp + 0x30], 7
mov word [ebp + 0x1c], ax
lea eax, [ebp + 0x1c]
mov byte [ebp - 4], 4
push eax
sub esp, 0x18
lea eax, [ebp + 0x54]
mov ecx, esp
push eax
call fcn.0042812e
lea eax, [ebp + 0x4c]
push eax
call fcn.00486ed6
push eax
lea ecx, [ebp + 0x74]
mov byte [ebp - 4], 5
call fcn.00486653
mov ecx, dword [ebp + 0x4c]
mov byte [ebp - 4], 6
test ecx, ecx
je 0x5aba7f
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp + 0x74]
mov byte [ebp - 4], 4
test esi, esi
je 0x5abaff
lea eax, [esi + 0xcc]
cmp dword [eax + 0x14], 0x10
jb 0x5aba98
mov eax, dword [eax]
push eax
lea eax, [ebp + 4]
push eax
call fcn.00480d8a
cmp dword [ebp + 0x18], 8
mov ecx, dword [ebp + 4]
mov byte [ebp - 4], 7
jae 0x5abab2
lea ecx, [ebp + 4]
cmp dword [ebp + 0x68], 8
mov eax, dword [ebp + 0x54]
jae 0x5ababe
lea eax, [ebp + 0x54]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
test eax, eax
jne 0x5abaf1
cmp dword [ebp + 0x18], 8
mov ecx, dword [ebp + 4]
jae 0x5abad6
lea ecx, [ebp + 4]
cmp dword [ebp + 0x68], 8
mov eax, dword [ebp + 0x54]
jae 0x5abae2
lea eax, [ebp + 0x54]
push ecx
push eax
push str.Failed_to_install_bundled_btapp:__s_to:__s
call fcn.0047995d
add esp, 0xc
push 0
push 1
lea ecx, [ebp + 4]
call fcn.004284eb
jmp 0x5abb26
cmp dword [ebp + 0x30], 8
mov ecx, dword [ebp + 0x1c]
jae 0x5abb0b
lea ecx, [ebp + 0x1c]
cmp dword [ebp + 0x48], 8
mov eax, dword [ebp + 0x34]
jae 0x5abb17
lea eax, [ebp + 0x34]
push ecx
push eax
push str.Bundled_btapp___s__is_ill_formed:__s
call fcn.0047995d
add esp, 0xc
push 0
push 1
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 3
call fcn.004284eb
jmp 0x5abb92
cmp dword [ebp + 0x68], 8
mov ecx, dword [ebp + 0x54]
jae 0x5abb44
lea ecx, [ebp + 0x54]
cmp dword [ebp + 0x48], 8
mov eax, dword [ebp + 0x34]
jae 0x5abb50
lea eax, [ebp + 0x34]
push ecx
push eax
push str.Failed_to_unpack_bundled_btapp:__s_to:__s
call fcn.0047995d
add esp, 0xc
jmp 0x5abb92
push 0x7234e4
lea ecx, [ebp + 0x34]
call fcn.0043637b
test eax, eax
jne 0x5abb9a
lea eax, [ebp + 0x70]
push eax
push ebx
push edi
call fcn.005ac158
cmp dword [ebp + 0x70], 0
mov ebx, eax
je 0x5abb92
test ebx, ebx
je 0x5abb92
push dword [ebp + 0x70]
push ebx
call fcn.005abf99
push 1
push ebx
call fcn.0045c46f
push 0
push 1
lea ecx, [ebp + 0x34]
mov byte [ebp - 4], 2
call fcn.004284eb
mov eax, dword [ebp + 0x6c]
lea ecx, [edi + 0x24]
inc eax
mov dword [ebp + 0x6c], eax
cmp eax, dword [edi + 0x34]
jne 0x5ab9a5
push edi
call fcn.0047f32c
test esi, esi
je 0x5abbdb
lea eax, [esi + 0xcc]
push eax
lea ecx, [ebp + 4]
call fcn.0040fa4b
xor ebx, ebx
inc ebx
jmp 0x5abbeb
push 0x756a0c
lea ecx, [ebp + 0x1c]
call fcn.0040f49f
push 2
pop ebx
push eax
mov ecx, 0x7c2780
call fcn.0040f0f2
test bl, 2
je 0x5abc0a
push 0
push 1
lea ecx, [ebp + 0x1c]
and ebx, 0xfffffffd
call fcn.0040facf
mov dword [ebp - 4], 2
test bl, 1
je 0x5abc22
push 0
push 1
lea ecx, [ebp + 4]
call fcn.0040facf
mov byte [ebp - 4], 9
test esi, esi
je 0x5abc31
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push 0
push 1
lea ecx, [ebp + 0x54]
call fcn.004284eb
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.004284eb
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
lea esp, [ebp + 0x78]
pop ebp
ret