Function at 0x458ce0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xc414
call fcn.0046f7a0
mov eax, dword [0x4b06f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push 0xffe
push eax
mov word [ebp - 0x8414], ax
lea eax, [ebp - 0x8412]
push eax
call fcn.0046fe20
xor eax, eax
push 0xffe
push eax
mov word [ebp - 0x9414], ax
lea eax, [ebp - 0x9412]
push eax
call fcn.0046fe20
xor eax, eax
push 0xffe
push eax
mov word [ebp - 0x320c], ax
lea eax, [ebp - 0x320a]
push eax
call fcn.0046fe20
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0046fe20
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x3414], ax
lea eax, [ebp - 0x3412]
push eax
call fcn.0046fe20
xor eax, eax
push 0xffe
push eax
mov word [ebp - 0xc414], ax
lea eax, [ebp - 0xc412]
push eax
call fcn.0046fe20
add esp, 0x48
xor eax, eax
mov word [ebp - 0xa414], ax
push 0xffe
push eax
lea eax, [ebp - 0xa412]
push eax
call fcn.0046fe20
xor eax, eax
push 0xffe
push eax
mov word [ebp - 0x4414], ax
lea eax, [ebp - 0x4412]
push eax
call fcn.0046fe20
xor eax, eax
push 0xffe
push eax
mov word [ebp - 0x5414], ax
lea eax, [ebp - 0x5412]
push eax
call fcn.0046fe20
xor eax, eax
push 0xffe
push eax
mov word [ebp - 0x120c], ax
lea eax, [ebp - 0x120a]
push eax
call fcn.0046fe20
xor eax, eax
push 0xffe
push eax
mov word [ebp - 0x220c], ax
lea eax, [ebp - 0x220a]
push eax
call fcn.0046fe20
xor eax, eax
push 0xffe
push eax
mov word [ebp - 0xb414], ax
lea eax, [ebp - 0xb412]
push eax
call fcn.0046fe20
add esp, 0x48
xor eax, eax
mov word [ebp - 0x7414], ax
push 0xffe
push eax
lea eax, [ebp - 0x7412]
push eax
call fcn.0046fe20
xor eax, eax
push 0xffe
push eax
mov word [ebp - 0x6414], ax
lea eax, [ebp - 0x6412]
push eax
call fcn.0046fe20
push 0x2c
push 0x800
lea eax, [ebp - 0x9414]
push eax
push 0x800
lea eax, [ebp - 0x8414]
push eax
push esi
call fcn.0043da30
add esp, 0x30
test eax, eax
je 0x459041
lea eax, [ebp - 0x8414]
push str._SETUPVAR_READ_
push eax
call fcn.00470c8b
add esp, 8
test eax, eax
jne 0x459193
push 0x2c
push 0x800
lea eax, [ebp - 0x4414]
push eax
push 0x800
lea eax, [ebp - 0x5414]
push eax
lea eax, [ebp - 0x9414]
push eax
call fcn.0043da30
add esp, 0x18
test eax, eax
je 0x459041
lea eax, [ebp - 0x5414]
push 0x800
push eax
call fcn.00460070
push 0x2c
push 0x800
lea eax, [ebp - 0x320c]
push eax
lea eax, [ebp - 0x4414]
push 0x800
push eax
push eax
call fcn.0043da30
add esp, 0x20
test eax, eax
je 0x459041
lea eax, [ebp - 0x320c]
push 0x800
push eax
call fcn.00460070
push 0x2c
push 0x800
lea eax, [ebp - 0x120c]
push eax
lea eax, [ebp - 0x320c]
push 0x800
push eax
push eax
call fcn.0043da30
add esp, 0x20
test eax, eax
je 0x459041
push 0x2c
push 0x800
lea eax, [ebp - 0x220c]
push eax
lea eax, [ebp - 0x120c]
push 0x800
push eax
push eax
call fcn.0043da30
lea eax, [ebp - 0x4414]
push 0x4942fc
push eax
call fcn.00470c8b
add esp, 0x20
test eax, eax
jne 0x458fdd
lea eax, [ebp - 0x320c]
push eax
lea eax, [ebp - 0x5414]
push eax
call fcn.00470c8b
add esp, 8
test eax, eax
jne 0x459013
lea eax, [ebp - 0x120c]
push eax
push 0x4b60c0
call fcn.0046efb0
add esp, 8
test eax, eax
jne 0x459041
lea eax, [ebp - 0x120c]
jmp 0x459031
lea eax, [ebp - 0x4414]
push 0x494308
push eax
call fcn.00470c8b
add esp, 8
test eax, eax
jne 0x459082
lea eax, [ebp - 0x320c]
push eax
lea eax, [ebp - 0x5414]
push eax
call fcn.00470c8b
add esp, 8
test eax, eax
jne 0x458fbd
lea eax, [ebp - 0x220c]
push eax
push 0x4b60c0
call fcn.0046efb0
add esp, 8
test eax, eax
jne 0x459041
lea eax, [ebp - 0x220c]
push eax
push 0x64
push 0x4b60c0
call fcn.0046ef44
add esp, 0xc
lea eax, [ebp - 0x8414]
push str._INIT_
push eax
call fcn.00470c8b
add esp, 8
pop esi
test eax, eax
jne 0x459060
mov word [0x4b60c0], ax
push 0x4b60c0
push str.ScriptIF____Condition_s
call fcn.004699e0
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
xor eax, eax
call fcn.0046f33a
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x4414]
push 0x494300
push eax
call fcn.00470c8b
add esp, 8
test eax, eax
jne 0x4590bd
lea eax, [ebp - 0x320c]
push eax
lea eax, [ebp - 0x5414]
push eax
call fcn.00470c8b
add esp, 8
test eax, eax
jns 0x459013
jmp 0x458fbd
lea eax, [ebp - 0x4414]
push 0x494304
push eax
call fcn.00470c8b
add esp, 8
test eax, eax
jne 0x4590f8
lea eax, [ebp - 0x320c]
push eax
lea eax, [ebp - 0x5414]
push eax
call fcn.00470c8b
add esp, 8
test eax, eax
jle 0x459013
jmp 0x458fbd
lea eax, [ebp - 0x4414]
push 0x49897c
push eax
call fcn.00470c8b
add esp, 8
test eax, eax
jne 0x459133
lea eax, [ebp - 0x320c]
push eax
lea eax, [ebp - 0x5414]
push eax
call fcn.0046efb0
add esp, 8
test eax, eax
je 0x459013
jmp 0x458fbd
lea eax, [ebp - 0x4414]
push 0x498980
push eax
call fcn.00470c8b
add esp, 8
test eax, eax
jne 0x459041
lea ecx, [ebp - 0x320c]
lea edx, [ecx + 2]
jmp 0x459160
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x459160
sub ecx, edx
lea eax, [ebp - 0x320c]
sar ecx, 1
push ecx
push eax
lea eax, [ebp - 0x5414]
push eax
call fcn.00470862
add esp, 0xc
test eax, eax
je 0x459013
jmp 0x458fbd
lea eax, [ebp - 0x8414]
push str._INIFILE_READ_
push eax
call fcn.00470c8b
add esp, 8
test eax, eax
jne 0x45940b
push 0x2c
push 0x800
lea eax, [ebp - 0xc414]
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x9414]
push eax
call fcn.0043da30
add esp, 0x18
test eax, eax
je 0x459041
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00460070
push 0x2c
push 0x800
lea eax, [ebp - 0xa414]
push eax
lea eax, [ebp - 0xc414]
push 0x800
push eax
push eax
call fcn.0043da30
add esp, 0x20
test eax, eax
je 0x459041
push 0x2c
push 0x800
lea eax, [ebp - 0x4414]
push eax
lea eax, [ebp - 0xa414]
push 0x800
push eax
push eax
call fcn.0043da30
add esp, 0x18
test eax, eax
je 0x459041
push 0x2c
push 0x800
lea eax, [ebp - 0x320c]
push eax
lea eax, [ebp - 0x4414]
push 0x800
push eax
push eax
call fcn.0043da30
add esp, 0x18
test eax, eax
je 0x459041
lea eax, [ebp - 0x320c]
push 0x800
push eax
call fcn.00460070
push 0x2c
push 0x800
lea eax, [ebp - 0x120c]
push eax
lea eax, [ebp - 0x320c]
push 0x800
push eax
push eax
call fcn.0043da30
add esp, 0x20
test eax, eax
je 0x459041
push 0x2c
push 0x800
lea eax, [ebp - 0x220c]
push eax
lea eax, [ebp - 0x120c]
push 0x800
push eax
push eax
call fcn.0043da30
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
push 0x800
lea eax, [ebp - 0x5414]
push eax
push 0x48d8a4
lea eax, [ebp - 0xa414]
push eax
lea eax, [ebp - 0xc414]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x45931a
push 0x48d8a4
lea eax, [ebp - 0x5414]
push 0x800
push eax
call fcn.00470452
add esp, 0xc
lea eax, [ebp - 0x4414]
push 0x4942fc
push eax
call fcn.00470c8b
add esp, 8
test eax, eax
je 0x458fa3
lea eax, [ebp - 0x4414]
push 0x494308
push eax
call fcn.00470c8b
add esp, 8
test eax, eax
je 0x458ff9
lea eax, [ebp - 0x4414]
push 0x494300
push eax
call fcn.00470c8b
add esp, 8
test eax, eax
je 0x45909a
lea eax, [ebp - 0x4414]
push 0x494304
push eax
call fcn.00470c8b
add esp, 8
test eax, eax
je 0x4590d5
lea eax, [ebp - 0x4414]
push 0x49897c
push eax
call fcn.00470c8b
add esp, 8
test eax, eax
jne 0x4593ba
lea eax, [ebp - 0x320c]
push eax
lea eax, [ebp - 0x5414]
push eax
call fcn.0046efb0
jmp 0x45900c
lea eax, [ebp - 0x4414]
push 0x498980
push eax
call fcn.00470c8b
add esp, 8
test eax, eax
jne 0x459041
lea ecx, [ebp - 0x320c]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4593e0
sub ecx, edx
lea eax, [ebp - 0x320c]
sar ecx, 1
push ecx
push eax
lea eax, [ebp - 0x5414]
push eax
call fcn.00470862
add esp, 0xc
jmp 0x45900f
lea eax, [ebp - 0x8414]
push str._REGKEY_READ_
push eax
call fcn.00470c8b
add esp, 8
test eax, eax
jne 0x459680
push 0x2c
push 0x800
lea eax, [ebp - 0x7414]
push eax
push 0x800
lea eax, [ebp - 0xb414]
push eax
lea eax, [ebp - 0x9414]
push eax
call fcn.0043da30
add esp, 0x18
test eax, eax
je 0x459041
lea eax, [ebp - 0xb414]
push 1
push eax
call fcn.00430b00
mov esi, eax
lea eax, [ebp - 0x7414]
push 0x800
push eax
call fcn.00460070
push 0x2c
push 0x800
lea eax, [ebp - 0x6414]
push eax
lea eax, [ebp - 0x7414]
push 0x800
push eax
push eax
call fcn.0043da30
add esp, 0x28
test eax, eax
je 0x459041
lea eax, [ebp - 0x6414]
push 0x800
push eax
call fcn.00460070
push 0x2c
push 0x800
lea eax, [ebp - 0x4414]
push eax
lea eax, [ebp - 0x6414]
push 0x800
push eax
push eax
call fcn.0043da30
add esp, 0x20
test eax, eax
je 0x459041
push 0x2c
push 0x800
lea eax, [ebp - 0x320c]
push eax
lea eax, [ebp - 0x4414]
push 0x800
push eax
push eax
call fcn.0043da30
add esp, 0x18
test eax, eax
je 0x459041
lea eax, [ebp - 0x320c]
push 0x800
push eax
call fcn.00460070
push 0x800
lea eax, [ebp - 0x5414]
push eax
lea eax, [ebp - 0x6414]
push eax
lea eax, [ebp - 0x7414]
push eax
push esi
call fcn.00430ca0
add esp, 0x1c
test eax, eax
jne 0x45955c
push 0x48d8a4
lea eax, [ebp - 0x5414]
push 0x800
push eax
call fcn.00470452
add esp, 0xc
push 0x2c
push 0x800
lea eax, [ebp - 0x120c]
push eax
lea eax, [ebp - 0x320c]
push 0x800
push eax
push eax
call fcn.0043da30
add esp, 0x18
test eax, eax
je 0x459041
push 0x2c
push 0x800
lea eax, [ebp - 0x220c]
push eax
lea eax, [ebp - 0x120c]
push 0x800
push eax
push eax
call fcn.0043da30
lea eax, [ebp - 0x4414]
push 0x4942fc
push eax
call fcn.00470c8b
add esp, 0x20
test eax, eax
je 0x458fa3
lea eax, [ebp - 0x4414]
push 0x494308
push eax
call fcn.00470c8b
add esp, 8
test eax, eax
je 0x458ff9
lea eax, [ebp - 0x4414]
push 0x494300
push eax
call fcn.00470c8b
add esp, 8
test eax, eax
je 0x45909a
lea eax, [ebp - 0x4414]
push 0x494304
push eax
call fcn.00470c8b
add esp, 8
test eax, eax
je 0x4590d5
lea eax, [ebp - 0x4414]
push 0x49897c
push eax
call fcn.00470c8b
add esp, 8
test eax, eax
jne 0x459647
lea eax, [ebp - 0x320c]
push eax
lea eax, [ebp - 0x5414]
push eax
call fcn.0046efb0
jmp 0x45900c
lea eax, [ebp - 0x4414]
push 0x498980
push eax
call fcn.00470c8b
add esp, 8
test eax, eax
jne 0x459041
lea ecx, [ebp - 0x320c]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x459670
jmp 0x4593eb
lea eax, [ebp - 0x8414]
push str._REGKEY_EXIST_
push eax
call fcn.00470c8b
add esp, 8
test eax, eax
jne 0x459811
push 0x2c
push 0x800
lea eax, [ebp - 0x7414]
push eax
push 0x800
lea eax, [ebp - 0xb414]
push eax
lea eax, [ebp - 0x9414]
push eax
call fcn.0043da30
add esp, 0x18
test eax, eax
je 0x459041
lea eax, [ebp - 0xb414]
push 1
push eax
call fcn.00430b00
push 0x2c
mov esi, eax
lea eax, [ebp - 0x6414]
push 0x800
push eax
lea eax, [ebp - 0x7414]
push 0x800
push eax
push eax
call fcn.0043da30
add esp, 0x20
test eax, eax
je 0x459041
push 0x2c
push 0x800
lea eax, [ebp - 0x320c]
push eax
lea eax, [ebp - 0x6414]
push 0x800
push eax
push eax
call fcn.0043da30
add esp, 0x18
test eax, eax
je 0x459041
lea eax, [ebp - 0x320c]
push 0x800
push eax
call fcn.00460070
push 0x2c
push 0x800
lea eax, [ebp - 0x120c]
push eax
lea eax, [ebp - 0x320c]
push 0x800
push eax
push eax
call fcn.0043da30
add esp, 0x20
test eax, eax
je 0x459041
push 0x2c
push 0x800
lea eax, [ebp - 0x220c]
push eax
lea eax, [ebp - 0x120c]
push 0x800
push eax
push eax
call fcn.0043da30
add esp, 0x18
lea eax, [ebp - 0x320c]
cmp word [ebp - 0x6414], 0
push str._TRUE_
push eax
jne 0x4597d0
call fcn.00470c8b
add esp, 8
test eax, eax
lea eax, [ebp - 0x7414]
push eax
push esi
jne 0x4597c6
call fcn.00430f10
jmp 0x45900c
call fcn.00430f10
jmp 0x458fb6
call fcn.00470c8b
add esp, 8
test eax, eax
lea eax, [ebp - 0x5414]
push 0x800
push eax
lea eax, [ebp - 0x6414]
push eax
lea eax, [ebp - 0x7414]
push eax
push esi
jne 0x459804
call fcn.00430ca0
add esp, 0x14
jmp 0x45900f
call fcn.00430ca0
add esp, 0x14
jmp 0x458fb9
lea eax, [ebp - 0x8414]
push str._FILEKEY_EXIST_
push eax
call fcn.00470c8b
add esp, 8
test eax, eax
je 0x459aca
lea eax, [ebp - 0x8414]
push str._DIRKEY_EXIST_
push eax
call fcn.00470c8b
add esp, 8
test eax, eax
je 0x459aca
lea eax, [ebp - 0x8414]
push str._FILE_EXIST_
push eax
call fcn.00470c8b
add esp, 8
test eax, eax
jne 0x45991f
push 0x2c
push 0x800
lea eax, [ebp - 0x320c]
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x9414]
push eax
call fcn.0043da30
add esp, 0x18
test eax, eax
je 0x459041
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00460070
push 0x2c
push 0x800
lea eax, [ebp - 0x120c]
push eax
lea eax, [ebp - 0x320c]
push 0x800
push eax
push eax
call fcn.0043da30
add esp, 0x20
test eax, eax
je 0x459041
push 0x2c
push 0x800
lea eax, [ebp - 0x220c]
push eax
lea eax, [ebp - 0x120c]
push 0x800
push eax
push eax
call fcn.0043da30
lea eax, [ebp - 0x320c]
push str._TRUE_
push eax
call fcn.00470c8b
add esp, 0x20
neg eax
sbb esi, esi
lea eax, [ebp - 0x20c]
inc esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, esi
jmp 0x458fbb
lea eax, [ebp - 0x8414]
push str._DIR_EXIST_
push eax
call fcn.00470c8b
add esp, 8
test eax, eax
jne 0x4599f5
push 0x2c
push 0x800
lea eax, [ebp - 0x320c]
push eax
push 0x104
lea eax, [ebp - 0x3414]
push eax
lea eax, [ebp - 0x9414]
push eax
call fcn.0043da30
add esp, 0x18
test eax, eax
je 0x459041
lea eax, [ebp - 0x3414]
push 0x104
push eax
call fcn.00460070
push 0x2c
push 0x800
lea eax, [ebp - 0x120c]
push eax
lea eax, [ebp - 0x320c]
push 0x800
push eax
push eax
call fcn.0043da30
add esp, 0x20
test eax, eax
je 0x459041
push 0x2c
push 0x800
lea eax, [ebp - 0x220c]
push eax
lea eax, [ebp - 0x120c]
push 0x800
push eax
push eax
call fcn.0043da30
lea eax, [ebp - 0x320c]
push str._TRUE_
push eax
call fcn.00470c8b
add esp, 0x20
neg eax
sbb esi, esi
lea eax, [ebp - 0x3414]
inc esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, esi
jmp 0x458fbb
lea eax, [ebp - 0x8414]
push str._MODULE_EXIST_
push eax
call fcn.00470c8b
add esp, 8
test eax, eax
jne 0x459041
push 0x2c
push 0x800
lea eax, [ebp - 0x320c]
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x9414]
push eax
call fcn.0043da30
add esp, 0x18
test eax, eax
je 0x459041
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00460070
push 0x2c
push 0x800
lea eax, [ebp - 0x120c]
push eax
lea eax, [ebp - 0x320c]
push 0x800
push eax
push eax
call fcn.0043da30
add esp, 0x20
test eax, eax
je 0x459041
push 0x2c
push 0x800
lea eax, [ebp - 0x220c]
push eax
lea eax, [ebp - 0x120c]
push 0x800
push eax
push eax
call fcn.0043da30
lea eax, [ebp - 0x320c]
push str._TRUE_
push eax
call fcn.00470c8b
add esp, 0x20
neg eax
sbb esi, esi
lea eax, [ebp - 0x20c]
inc esi
push eax
call fcn.004554f0
cmp eax, esi
jmp 0x458fbb
push 0x2c
push 0x800
lea eax, [ebp - 0x7414]
push eax
push 0x800
lea eax, [ebp - 0xb414]
push eax
lea eax, [ebp - 0x9414]
push eax
call fcn.0043da30
add esp, 0x18
test eax, eax
je 0x459041
push dword [0x4b0520]
lea eax, [ebp - 0xb414]
push eax
call fcn.00430b00
push 0x2c
mov esi, eax
lea eax, [ebp - 0x6414]
push 0x800
push eax
lea eax, [ebp - 0x7414]
push 0x800
push eax
push eax
call fcn.0043da30
add esp, 0x20
test eax, eax
je 0x459041
push 0x2c
push 0x800
lea eax, [ebp - 0x320c]
push eax
lea eax, [ebp - 0x6414]
push 0x800
push eax
push eax
call fcn.0043da30
add esp, 0x18
test eax, eax
je 0x459041
lea eax, [ebp - 0x320c]
push 0x800
push eax
call fcn.00460070
push 0x104
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x6414]
push eax
lea eax, [ebp - 0x7414]
push eax
push esi
call fcn.00430ca0
add esp, 0x1c
test eax, eax
jne 0x459bb6
push 0x48d8a4
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00470452
add esp, 0xc
push 0x2c
push 0x800
lea eax, [ebp - 0x120c]
push eax
lea eax, [ebp - 0x320c]
push 0x800
push eax
push eax
call fcn.0043da30
add esp, 0x18
jmp 0x4598ca