Function at 0x40265b
Capabilities:
Copy file

Disassembly:
push 0x254
mov eax, 0x4b1b2c
call fcn.0048d810
mov ebx, ecx
call fcn.00401944
add ebx, 0x38
cmp dword [ebx + 0x14], 8
mov dword [ebp - 0xec], ebx
jb 0x402684
mov eax, dword [ebx]
jmp 0x402686
mov eax, ebx
push eax
push 0x68
call fcn.0041ae60
pop ecx
pop ecx
test al, al
jne 0x40270d
cmp dword [ebx + 0x14], 8
jb 0x4026a4
mov eax, dword [ebx]
mov dword [ebp - 0xdc], eax
jmp 0x4026aa
mov dword [ebp - 0xdc], ebx
push 0x142
push str.install.cpp
lea esi, [ebp - 0x1a8]
call fcn.00414f70
and dword [ebp - 4], 0
mov esi, eax
call fcn.00405810
mov esi, eax
test esi, esi
je 0x4026eb
lea eax, [esi + 0x10]
test eax, eax
je 0x4026dc
lea eax, [esi + 0x20]
jmp 0x4026de
xor eax, eax
push str.failed_to_unzip_extensions_to
push eax
call fcn.00407256
pop ecx
pop ecx
lea ecx, [ebp - 0xdc]
call fcn.00405834
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1a8]
call fcn.00415130
xor al, al
call fcn.0048d893
ret
and dword [ebp - 0xe8], 0
lea eax, [ebp - 0xe8]
lea esi, [ebp - 0x2c]
call fcn.00419170
xor edi, edi
inc edi
mov dword [ebp - 4], edi
cmp dword [ebp - 0x1c], 0
jne 0x402778
push 0x14a
push str.install.cpp
lea esi, [ebp - 0x1a8]
call fcn.00414f70
push str.install_path_is_empty
push ecx
mov esi, eax
mov byte [ebp - 4], 2
call fcn.00405810
pop ecx
mov esi, eax
call fcn.00405900
lea ecx, [ebp - 0x1a8]
mov byte [ebp - 4], 1
call fcn.00415130
push 0
push edi
lea ecx, [ebp - 0x2c]
call fcn.00403d84
jmp 0x402705
mov edi, 0x4b9d50
push edi
lea ecx, [ebp - 0x2c]
call fcn.00403c9b
push 0xffffffffffffffff
push 0
push 0x4dc09c
lea ecx, [ebp - 0x2c]
call fcn.00404303
mov eax, dword [ebp - 0x2c]
push 8
pop esi
cmp dword [ebp - 0x18], esi
jae 0x4027a5
lea eax, [ebp - 0x2c]
call fcn.004191e0
test al, al
jne 0x40284b
mov ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x4027bd
lea ecx, [ebp - 0x2c]
call fcn.004193e0
test al, al
jne 0x40284b
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x4027d5
lea eax, [ebp - 0x2c]
push 0x155
push str.install.cpp
lea esi, [ebp - 0x1a8]
mov dword [ebp - 0xdc], eax
call fcn.00414f70
mov esi, eax
mov byte [ebp - 4], 3
call fcn.00405810
mov esi, eax
test esi, esi
je 0x40281c
lea eax, [esi + 0x10]
test eax, eax
je 0x40280d
lea eax, [esi + 0x20]
jmp 0x40280f
xor eax, eax
push 0x4b9d54
push eax
call fcn.00407256
pop ecx
pop ecx
lea ecx, [ebp - 0xdc]
call fcn.00405834
lea ecx, [ebp - 0x1a8]
mov byte [ebp - 4], 1
call fcn.00415130
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00403d84
mov al, bl
jmp 0x402707
mov byte [ebp - 0xd5], 1
mov dword [ebp - 0xdc], 0x4de170
mov dword [ebp - 0xe8], esi
jmp 0x40286a
mov ebx, dword [ebp - 0xec]
lea eax, [ebp - 0x48]
push edi
push eax
call fcn.004054c5
mov byte [ebp - 4], 4
push dword [ebp - 0xdc]
lea ecx, [ebp - 0x80]
push ecx
mov ecx, eax
call fcn.004058c0
add esp, 0x10
push 0
push 1
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 6
call fcn.00403d84
lea eax, [ebp - 0xd4]
push edi
push eax
lea ebx, [ebp - 0x2c]
call fcn.004054c5
mov byte [ebp - 4], 7
push dword [ebp - 0xdc]
lea ecx, [ebp - 0x64]
push ecx
mov ecx, eax
call fcn.004058c0
add esp, 0x10
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 9
call fcn.00403d84
cmp dword [ebp - 0x50], 8
mov ecx, dword [ebp - 0x64]
jae 0x4028e4
lea ecx, [ebp - 0x64]
cmp dword [ebp - 0x6c], 8
mov eax, dword [ebp - 0x80]
jae 0x4028f0
lea eax, [ebp - 0x80]
push esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x402964
mov eax, dword [ebp - 0xdc]
cmp dword [eax + 0x14], 8
jb 0x40290b
mov eax, dword [eax]
push 0x164
push str.install.cpp
lea esi, [ebp - 0x1a8]
mov dword [ebp - 0xe4], eax
call fcn.00414f70
push str.failed_to_set_copy_exentsion_file
push ecx
mov esi, eax
mov byte [ebp - 4], 0xa
call fcn.00405810
pop ecx
mov esi, eax
call fcn.00405900
lea ecx, [ebp - 0xe4]
mov esi, eax
call fcn.00405834
lea ecx, [ebp - 0x1a8]
mov byte [ebp - 4], 9
call fcn.00415130
mov byte [ebp - 0xd5], 0
xor esi, esi
xor eax, eax
push str.SoftwareNetBoxKometaExtensions_
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], ax
call fcn.00403d5d
lea eax, [ebp - 0x9c]
push edi
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xb
call fcn.00405536
mov byte [ebp - 4], 0xc
mov ebx, dword [ebp - 0xdc]
add ebx, 0x1c
lea edx, [ebx + 0x1c]
push edx
lea ecx, [ebp - 0xb8]
push ecx
mov ecx, eax
call fcn.004058c0
add esp, 0x10
mov byte [ebp - 4], 0xd
cmp dword [ebx + 0x14], 8
jb 0x4029c5
mov edx, dword [ebx]
jmp 0x4029c7
mov edx, ebx
cmp dword [eax + 0x14], 8
jb 0x4029d1
mov ecx, dword [eax]
jmp 0x4029d3
mov ecx, eax
push 0x4b9dcc
mov eax, edx
call fcn.00415ba0
pop ecx
push esi
test eax, eax
push 1
lea ecx, [ebp - 0xb8]
setne byte [ebp - 0xdd]
call fcn.00403d84
push esi
push 1
lea ecx, [ebp - 0x9c]
call fcn.00403d84
push esi
push 1
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 9
call fcn.00403d84
cmp byte [ebp - 0xdd], 0
je 0x402a95
cmp dword [ebx - 8], 8
mov eax, dword [ebp - 0xdc]
jb 0x402a2b
mov eax, dword [eax]
push 0x16b
push str.install.cpp
lea esi, [ebp - 0x1a8]
mov dword [ebp - 0xe4], eax
call fcn.00414f70
mov esi, eax
mov byte [ebp - 4], 0xe
call fcn.00405810
mov esi, eax
test esi, esi
je 0x402a72
lea eax, [esi + 0x10]
test eax, eax
je 0x402a63
lea eax, [esi + 0x20]
jmp 0x402a65
xor eax, eax
push str.failed_to_set_registry_version_for_extension
push eax
call fcn.00407256
pop ecx
pop ecx
lea ecx, [ebp - 0xe4]
call fcn.00405834
lea ecx, [ebp - 0x1a8]
mov byte [ebp - 4], 9
call fcn.00415130
mov byte [ebp - 0xd5], 0
xor esi, esi
xor eax, eax
push str.SoftwareNetBoxKometaExtensions_
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], ax
call fcn.00403d5d
lea eax, [ebp - 0xb8]
push edi
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xf
call fcn.00405536
lea edx, [ebx + 0x1c]
push edx
lea ecx, [ebp - 0x9c]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x10
call fcn.004058c0
add esp, 0x10
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x50], 8
mov edx, dword [ebp - 0x64]
jae 0x402aef
lea edx, [ebp - 0x64]
cmp dword [eax + 0x14], 8
jb 0x402af9
mov ecx, dword [eax]
jmp 0x402afb
mov ecx, eax
push 0x4b9e84
mov eax, edx
call fcn.00415ba0
pop ecx
push esi
test eax, eax
push 1
lea ecx, [ebp - 0x9c]
setne byte [ebp - 0xdd]
call fcn.00403d84
push esi
push 1
lea ecx, [ebp - 0xb8]
call fcn.00403d84
push esi
push 1
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 9
call fcn.00403d84
cmp byte [ebp - 0xdd], 0
je 0x402bac
cmp dword [ebx - 8], 8
mov eax, dword [ebp - 0xdc]
jb 0x402b53
mov eax, dword [eax]
push 0x171
push str.install.cpp
lea esi, [ebp - 0x260]
mov dword [ebp - 0xe4], eax
call fcn.00414f70
push str.failed_to_set_registry_path_for_extension
push ecx
mov esi, eax
mov byte [ebp - 4], 0x12
call fcn.00405810
pop ecx
mov esi, eax
call fcn.00405900
lea ecx, [ebp - 0xe4]
mov esi, eax
call fcn.00405834
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 9
call fcn.00415130
mov byte [ebp - 0xd5], 0
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0x64]
call fcn.00403d84
push esi
push 1
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 1
call fcn.00403d84
add dword [ebp - 0xdc], 0x54
dec dword [ebp - 0xe8]
jne 0x402864
mov bl, byte [ebp - 0xd5]
jmp 0x402838