Function at 0x42eb42
Capabilities:
Copy file

Disassembly:
push 0x94
mov eax, 0x619d08
call fcn.005b83bf
mov esi, ecx
xor ebx, ebx
lea ecx, [ebp - 0xa0]
push ebx
push ebx
push 0x13e
mov edi, str.HPXS::CScanAppConfig::SetCurrentIniPath
mov dword [ebp - 4], ebx
push edi
push 0x1299334
push dword [0x12992f8]
call fcn.0041f881
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0x18]
mov byte [ebp - 4], 1
test eax, eax
je 0x42edb9
lea ecx, [ebp + 8]
call fcn.0047c1c5
test al, al
je 0x42ebb0
lea ecx, [esi + 0x90]
lea eax, [ebp + 8]
cmp ecx, eax
je 0x42ed6b
jmp 0x42ed5b
cmp byte [ebp + 0x20], 0
je 0x42edb9
cmp byte [esi + 0xf3], 0
je 0x42ecd6
mov byte [ebp - 4], 0x18
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 8
cmovae eax, dword [ebp + 8]
push eax
push edi
push str._s_Copying_default_ini_file_to__s
push 0x14d
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 1
push 0x200
push eax
call fcn.0041fc07
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0047b84f
add esp, 0x20
xor edx, edx
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x28]
call fcn.0047bcf1
test eax, eax
jns 0x42ec26
push edi
push str._s_Failed_to_create_the_ini_folder
push 0x153
jmp 0x42ec67
mov byte [ebp - 4], 0x26
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 8
cmovae ecx, dword [ebp + 8]
mov byte [ebp - 4], 0x2b
lea eax, [esi + 0xa8]
mov byte [ebp - 4], 0x29
cmp dword [eax + 0x14], 8
jb 0x42ec4b
mov eax, dword [eax]
push ebx
push ecx
push eax
mov byte [ebp - 4], 0x1b
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x42ec7d
push edi
push str._s_Failed_to_copy_the_ini_file
push 0x159
lea eax, [ebp - 0xa0]
push 0x200
push eax
call fcn.0041fc07
add esp, 0x14
jmp 0x42ecac
lea ecx, [esi + 0x90]
lea eax, [ebp + 8]
cmp ecx, eax
je 0x42ec97
push 0xffffffffffffffff
push ebx
push eax
mov byte [ebp - 4], 0x1b
call fcn.0041c022
lea ecx, [esi + 0x114]
mov eax, dword [ecx]
lea edx, [ebp + 8]
push edx
call dword [eax + 4]
test al, al
je 0x42ecbe
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x3e
call fcn.00416b1a
jmp 0x42eccd
push ebx
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x48
call fcn.00416b1a
mov byte [ebp - 4], 1
jmp 0x42edb9
push ebx
push 0x80
push 1
mov byte [ebp - 4], 0x4d
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 8
mov ecx, 0x129accc
push ebx
cmovae eax, dword [ebp + 8]
push ebx
push 0x40000000
mov byte [ebp - 4], 1
push eax
mov eax, dword [0x129accc]
call dword [eax + 0x9c]
mov edi, eax
cmp edi, 0xffffffff
je 0x42ed82
mov byte [ebp - 4], 0x50
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 8
cmovae eax, dword [ebp + 8]
push eax
push str.HPXS::CScanAppConfig::SetCurrentIniPath
push str._s_Created_new_empty_ini_file__s
push 0x169
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 1
push 0x200
push eax
call fcn.0041fc07
add esp, 0x18
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esi + 0x90]
lea eax, [ebp + 8]
cmp ecx, eax
je 0x42ed6b
push 0xffffffffffffffff
push ebx
lea eax, [ebp + 8]
mov byte [ebp - 4], 1
push eax
call fcn.0041c022
lea ecx, [esi + 0x114]
mov eax, dword [ecx]
lea edx, [ebp + 8]
push edx
call dword [eax + 4]
test al, al
je 0x42edb9
mov bl, 1
jmp 0x42edb9
mov byte [ebp - 4], 0x60
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 8
cmovae eax, dword [ebp + 8]
push eax
push str.HPXS::CScanAppConfig::SetCurrentIniPath
push str._s_Failed_to_create_new_empty_ini_file__s
push 0x171
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 1
push 0x200
push eax
call fcn.0041fc07
add esp, 0x18
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0
call fcn.0041f95a
push 0
push 1
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0x63
call fcn.00416b1a
or dword [ebp - 4], 0xffffffff
mov al, bl
call fcn.005b8369
ret 0x1c