Function at 0x41738e
Capabilities:
Check if file exists

Disassembly:
push 0x12c
mov eax, 0x46b7ea
call fcn.0042dc0b
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 0x118]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x138], esi
mov dword [ebp - 0x134], ebx
mov dword [ebp - 0x128], eax
call fcn.0040699e
and dword [ebp - 4], 0
lea ecx, [ebp - 0x124]
call fcn.0040699e
lea ecx, [ebp - 0x120]
call fcn.0040699e
and dword [ebp - 0x11c], 0
mov byte [ebp - 4], 2
test esi, esi
je 0x41764c
test edi, edi
je 0x41764c
test ebx, ebx
je 0x41764c
push ebx
push edi
push esi
lea eax, [ebp - 0x118]
push str.IN_Operations::_RegKeyListOp_:_Entering__RegKeyListOp___parameters:__s___s___s
push eax
call fcn.00406b1a
mov esi, dword [ebp - 0x118]
add esp, 0x14
cmp dword [esi - 4], 1
jle 0x41744c
push dword [esi - 0xc]
lea ecx, [ebp - 0x118]
call fcn.00406aae
mov esi, dword [ebp - 0x118]
push 4
mov ebx, 0x493f4c
push esi
mov ecx, ebx
call fcn.0040c5b8
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x4174b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x118]
push str.PathFileExists___failed._Error:__d
push eax
call fcn.00406b1a
mov esi, dword [ebp - 0x118]
add esp, 0xc
cmp dword [esi - 4], 1
jle 0x4174a1
push dword [esi - 0xc]
lea ecx, [ebp - 0x118]
call fcn.00406aae
mov esi, dword [ebp - 0x118]
push 7
mov ecx, ebx
push esi
call fcn.0040c5b8
jmp 0x417663
push 0x4731a8
lea eax, [ebp - 0x11c]
push edi
push eax
call fcn.00438651
add esp, 0xc
test eax, eax
je 0x417503
push eax
push edi
lea eax, [ebp - 0x118]
push str.IN_Operations::_RegKeyListOp_:_Failed_to_open_registry_key_list__s._Error:__d
push eax
call fcn.00406b1a
mov esi, dword [ebp - 0x118]
add esp, 0x10
cmp dword [esi - 4], 1
jle 0x4174ff
push dword [esi - 0xc]
lea ecx, [ebp - 0x118]
call fcn.00406aae
mov esi, dword [ebp - 0x118]
push 4
jmp 0x4174a3
mov bl, 1
jmp 0x4175ea
push dword [ebp - 0x11c]
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.004388ad
add esp, 0xc
test eax, eax
jne 0x41753c
push dword [ebp - 0x11c]
call fcn.004387bf
pop ecx
test eax, eax
jne 0x417600
lea eax, [ebp - 0x114]
push eax
call fcn.00436130
pop ecx
push eax
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x124]
call fcn.0040e094
lea ecx, [ebp - 0x124]
call fcn.00414ea9
mov ecx, eax
call fcn.00414e42
push eax
lea ecx, [ebp - 0x120]
call fcn.00413753
mov edi, dword [ebp - 0x120]
push 0x487527
push edi
call fcn.004359a0
pop ecx
pop ecx
test eax, eax
je 0x4175dd
cmp dword [edi - 0xc], 0
jl 0x4176a6
cmp byte [edi], 0x3b
je 0x4175dd
push dword [edi - 0xc]
lea ecx, [ebp - 0x120]
call fcn.00406be3
push dword [ebp - 0x128]
push 0
push dword [ebp - 0x12c]
push dword [ebp - 0x130]
push dword [ebp - 0x134]
push eax
push dword [ebp - 0x138]
call fcn.004176b1
add esp, 0x1c
neg al
sbb al, al
and bl, al
push 0xffffffffffffffff
lea ecx, [ebp - 0x120]
call fcn.0040df9d
push dword [ebp - 0x11c]
call fcn.00438793
pop ecx
test eax, eax
je 0x41750a
jmp 0x417665
push dword [ebp - 0x11c]
call fcn.004387bf
push eax
lea eax, [ebp - 0x118]
push str.Unable_to_read_file._Error:__d
push eax
call fcn.00406b1a
mov esi, dword [ebp - 0x118]
add esp, 0x10
cmp dword [esi - 4], 1
jle 0x417640
push dword [esi - 0xc]
lea ecx, [ebp - 0x118]
call fcn.00406aae
mov esi, dword [ebp - 0x118]
push 7
mov ecx, 0x493f4c
jmp 0x4174a5
push 4
push str.IN_Operations::_RegKeyListOp_:_Invalid_parameters
mov ecx, 0x493f4c
call fcn.0040c5b8
mov esi, dword [ebp - 0x118]
xor bl, bl
cmp dword [ebp - 0x11c], 0
je 0x41767a
push dword [ebp - 0x11c]
call fcn.0043870f
pop ecx
mov ecx, dword [ebp - 0x120]
lea ecx, [ecx - 0x10]
call fcn.00406c57
mov ecx, dword [ebp - 0x124]
add ecx, 0xfffffff0
call fcn.00406c57
lea ecx, [esi - 0x10]
call fcn.00406c57
mov al, bl
call fcn.0042dbb5
ret
push 0x80070057
call fcn.00406a91
int3