Function at 0x433e76
Capabilities:
Copy file

Disassembly:
push 0x94
mov eax, 0x65da87
call fcn.005bea6f
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 0x12fac90
push dword [0x12fa964]
call fcn.004203f9
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0x18]
mov byte [ebp - 4], 1
test eax, eax
je 0x4340ed
lea ecx, [ebp + 8]
call fcn.00482808
test al, al
je 0x433ee4
lea ecx, [esi + 0x90]
lea eax, [ebp + 8]
cmp ecx, eax
je 0x43409f
jmp 0x43408f
cmp byte [ebp + 0x20], 0
je 0x4340ed
cmp byte [esi + 0xf3], 0
je 0x43400a
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.0042077f
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00481e91
add esp, 0x20
xor edx, edx
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x28]
call fcn.00482334
test eax, eax
jns 0x433f5a
push edi
push str._s_Failed_to_create_the_ini_folder
push 0x153
jmp 0x433f9b
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 0x433f7f
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 0x433fb1
push edi
push str._s_Failed_to_copy_the_ini_file
push 0x159
lea eax, [ebp - 0xa0]
push 0x200
push eax
call fcn.0042077f
add esp, 0x14
jmp 0x433fe0
lea ecx, [esi + 0x90]
lea eax, [ebp + 8]
cmp ecx, eax
je 0x433fcb
push 0xffffffffffffffff
push ebx
push eax
mov byte [ebp - 4], 0x1b
call fcn.0041c9a7
lea ecx, [esi + 0x114]
mov eax, dword [ecx]
lea edx, [ebp + 8]
push edx
call dword [eax + 4]
test al, al
je 0x433ff2
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x3e
call fcn.0041746a
jmp 0x434001
push ebx
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x48
call fcn.0041746a
mov byte [ebp - 4], 1
jmp 0x4340ed
push ebx
push 0x80
push 1
mov byte [ebp - 4], 0x4d
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 8
mov ecx, 0x12fc910
push ebx
cmovae eax, dword [ebp + 8]
push ebx
push 0x40000000
mov byte [ebp - 4], 1
push eax
mov eax, dword [0x12fc910]
call dword [eax + 0x9c]
mov edi, eax
cmp edi, 0xffffffff
je 0x4340b6
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.0042077f
add esp, 0x18
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esi + 0x90]
lea eax, [ebp + 8]
cmp ecx, eax
je 0x43409f
push 0xffffffffffffffff
push ebx
lea eax, [ebp + 8]
mov byte [ebp - 4], 1
push eax
call fcn.0041c9a7
lea ecx, [esi + 0x114]
mov eax, dword [ecx]
lea edx, [ebp + 8]
push edx
call dword [eax + 4]
test al, al
je 0x4340ed
mov bl, 1
jmp 0x4340ed
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.0042077f
add esp, 0x18
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0
call fcn.004204d2
push 0
push 1
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0x63
call fcn.0041746a
or dword [ebp - 4], 0xffffffff
mov al, bl
call fcn.005bea19
ret 0x1c