Function at 0x422a24
Capabilities:
Create directory
Move file

Disassembly:
mov eax, 0x45d795
call fcn.004485c4
sub esp, 0x21c
push ebx
push esi
push edi
mov esi, str.fs::FF_InstallXpi_2274
xor ebx, ebx
push esi
mov dword [ebp - 0x18], ebx
call fcn.004468a0
pop ecx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], ebx
cmp dword [eax + 0x18], 0x10
jb 0x422a5c
mov ecx, dword [eax + 4]
jmp 0x422a5f
lea ecx, [eax + 4]
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 0x10
jb 0x422a6d
mov eax, dword [eax + 4]
jmp 0x422a70
add eax, 4
push ecx
push eax
push esi
push str.___s__url_s_guid_s_
push ebx
call fcn.00437bbc
xor edi, edi
add esp, 0x14
inc edi
push edi
lea ecx, [ebp - 0x7c]
call fcn.00439b00
lea eax, [ebp - 0x7c]
push eax
push str.closeff
lea eax, [ebp - 0xc4]
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0x14]
push eax
call fcn.0043ca60
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0043a160
lea ecx, [ebp - 0xc4]
mov byte [ebp - 0xd], al
mov byte [ebp - 4], 1
call fcn.0043bff0
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], bl
call fcn.0043bff0
push 0x465cf2
lea ecx, [ebp - 0x7c]
call fcn.00439a70
lea eax, [ebp - 0x7c]
push eax
push str.enableBy
lea eax, [ebp - 0xc4]
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 0x14]
push eax
call fcn.0043ca60
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.0043b640
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 7
call fcn.0043bff0
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 6
call fcn.0043bff0
cmp dword [ebp - 0x58], ebx
jbe 0x422c4b
push str._FFVer_
lea ecx, [ebp - 0xfc]
call fcn.00418739
lea eax, [ebp - 0xfc]
push eax
lea eax, [ebp - 0xe0]
push eax
mov byte [ebp - 4], 8
call fcn.0041d3e2
pop ecx
pop ecx
push ebx
push edi
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 0xa
call fcn.00417a85
cmp dword [ebp - 0xc8], 0x10
mov eax, dword [ebp - 0xdc]
mov dword [ebp + 0x14], ebx
jae 0x422b7f
lea eax, [ebp - 0xdc]
lea ecx, [ebp + 0x14]
push ecx
push 0x46a27c
push eax
call fcn.004475c1
add esp, 0xc
cmp eax, edi
jne 0x422c2f
cmp dword [ebp + 0x14], 8
jl 0x422c2f
push str.__ff8:_enable
push ebx
call fcn.00437bbc
pop ecx
pop ecx
push str.XPIEnabler.exe
lea ecx, [ebp - 0x34]
call fcn.00418739
push edi
push ebx
lea eax, [ebp - 0x34]
push eax
push edi
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x1d8]
push eax
mov byte [ebp - 4], 0xb
call fcn.004012da
push ebx
push edi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xd
call fcn.00417a85
lea eax, [ebp - 0x1d8]
push eax
push dword [ebp + 8]
call fcn.0041b8a2
test al, al
je 0x422c0d
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x178]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00417328
jmp 0x422c22
push str.__no_enabler_
push edi
call fcn.00437bbc
pop ecx
pop ecx
lea eax, [ebp - 0x6c]
call fcn.00411afe
lea esi, [ebp - 0x1d8]
call fcn.00404538
jmp 0x422c37
lea eax, [ebp - 0x6c]
call fcn.00411afe
push ebx
push edi
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 6
call fcn.00417a85
cmp dword [ebp - 0x58], ebx
seta al
or byte [ebp - 0xd], al
push str._FFProfile_
lea ecx, [ebp - 0x34]
call fcn.00418739
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0xb4]
push eax
mov byte [ebp - 4], 0xe
call fcn.0041d3e2
pop ecx
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x10
call fcn.00417a85
cmp dword [ebp - 0xa0], ebx
je 0x422f4a
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
add eax, 0x28
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.00415459
push str.extensions_
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xfc]
push eax
mov byte [ebp - 4], 0x11
call fcn.004152b2
mov esi, dword [ebp + 0x10]
push esi
push eax
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 4], 0x12
call fcn.00415459
add esp, 0x24
push ebx
push edi
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 0x14
call fcn.00417a85
cmp byte [ebp - 0xd], bl
je 0x422d08
sub esp, 0x1c
lea eax, [ebp - 0xb4]
mov ecx, esp
mov dword [ebp + 0x14], esp
push eax
call fcn.004188b1
mov ecx, dword [ebp + 8]
push edi
call fcn.004252e1
mov eax, dword [esi + 0x14]
cmp eax, 4
jb 0x422d3a
push 0xffffffffffffffff
add eax, 0xfffffffc
push eax
push esi
lea eax, [ebp - 0x34]
call fcn.0041abdd
mov byte [ebp - 4], 0x15
push str..xpi
mov ecx, eax
mov dword [ebp - 0x18], edi
call fcn.00415665
test eax, eax
mov byte [ebp + 0x17], 1
je 0x422d3d
mov byte [ebp + 0x17], bl
mov dword [ebp - 4], 0x14
test byte [ebp - 0x18], 1
je 0x422d54
push ebx
push edi
lea ecx, [ebp - 0x34]
call fcn.00417a85
cmp byte [ebp + 0x17], bl
je 0x422dbe
push str.extensions
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004152b2
add esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x422d7c
mov eax, dword [eax + 4]
jmp 0x422d7f
add eax, 4
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push ebx
push edi
lea ecx, [ebp - 0x34]
call fcn.00417a85
cmp dword [ebp - 0x38], 0x10
mov ecx, dword [ebp - 0x4c]
jae 0x422d9d
lea ecx, [ebp - 0x4c]
cmp dword [ebp - 0x80], 0x10
mov eax, dword [ebp - 0x94]
jae 0x422daf
lea eax, [ebp - 0x94]
push 0xb
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
jmp 0x422f24
cmp dword [ebp - 0x38], 0x10
mov eax, dword [ebp - 0x4c]
jae 0x422dca
lea eax, [ebp - 0x4c]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp dword [ebp - 0x80], 0x10
mov eax, dword [ebp - 0x94]
mov dword [ebp + 0x14], ebx
jae 0x422de7
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp + 0x14]
push eax
call fcn.00443c10
cmp eax, ebx
pop ecx
pop ecx
jne 0x422f10
cmp dword [ebp - 0x38], 0x10
mov eax, dword [ebp - 0x4c]
jae 0x422e07
lea eax, [ebp - 0x4c]
push eax
push dword [ebp + 0x14]
call fcn.00442957
or dword [ebp - 0x228], 0xffffffff
lea eax, [ebp - 0x228]
push eax
push dword [ebp + 0x14]
call fcn.00442991
mov esi, eax
add esp, 0x10
cmp esi, ebx
jne 0x422eab
mov eax, dword [ebp - 0x228]
cmp eax, ebx
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x228], ebx
jbe 0x422ebf
cmp esi, ebx
jne 0x422ebf
lea eax, [ebp - 0x228]
push eax
push dword [ebp + 0x14]
call fcn.00442991
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
jne 0x422e84
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x200]
push eax
push dword [ebp + 0x14]
call fcn.00443bfc
mov esi, eax
add esp, 0xc
cmp esi, ebx
je 0x422e98
push esi
push str.UnzipItemToFile
jmp 0x422e8a
push esi
push str.UnzipGetItem
push str._s_failed:__d
push edi
call fcn.00437bbc
add esp, 0x10
inc dword [ebp - 0x228]
mov eax, dword [ebp - 0x228]
cmp eax, dword [ebp + 0xc]
jb 0x422e42
jmp 0x422ebf
push esi
push str.UnzipGetItem
push str._s_failed:__d
push edi
call fcn.00437bbc
add esp, 0x10
push dword [ebp + 0x14]
call fcn.004429a1
cmp dword [ebp - 0x58], ebx
pop ecx
jbe 0x422f24
push str.__do_enable
push ebx
call fcn.00437bbc
pop ecx
pop ecx
push str.install.rdf
lea ecx, [ebp - 0x34]
call fcn.00418739
push ebx
push edi
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x16
call fcn.0042673d
add esp, 0x10
push ebx
push edi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x14
call fcn.00417a85
jmp 0x422f24
push eax
push str.UnzipOpenFile
push str._s_failed:__d
push edi
call fcn.00437bbc
add esp, 0x10
cmp byte [ebp - 0xd], bl
je 0x422f33
push dword [ebp + 8]
mov eax, edi
call fcn.00425692
push ebx
push edi
lea ecx, [ebp - 0x50]
call fcn.00417a85
push ebx
push edi
lea ecx, [ebp - 0x98]
call fcn.00417a85
push ebx
lea ecx, [ebp - 0xb4]
push edi
call fcn.00417a85
push ebx
lea ecx, [ebp - 0x6c]
push edi
call fcn.00417a85
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x14]
call fcn.0041836d
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10