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

Disassembly:
sub esp, 0x20c
mov eax, dword [0x46ad0c]
push esi
push edi
add ecx, 0x104
push ecx
mov dword [esp + 0x214], eax
lea eax, [esp + 0x110]
push 0x45c28c
push eax
call fcn.0044b73f
mov esi, dword [esp + 0x224]
push str.wnwg
push esi
call fcn.0044c2c5
add esp, 0x14
test eax, eax
jne 0x403311
lea edi, [esp + 0x10c]
dec edi
mov edi, edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4032e0
mov ecx, dword [str.wnwbwnwb.ini]
mov edx, dword [0x45d4e8]
mov eax, dword [0x45d4ec]
mov dword [edi], ecx
mov cx, word [0x45d4f0]
mov dword [edi + 4], edx
mov dword [edi + 8], eax
mov word [edi + 0xc], cx
jmp 0x403432
push str.wnnz
push esi
call fcn.0044c2c5
add esp, 8
test eax, eax
jne 0x403356
lea edi, [esp + 0x10c]
dec edi
jmp 0x403330
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x403330
mov edx, dword [str.wnimewnime.ini]
mov eax, dword [0x45d4d0]
mov ecx, dword [0x45d4d4]
mov dword [edi], edx
mov edx, dword [0x45d4d8]
jmp 0x403429
push str.wnie
push esi
call fcn.0044c2c5
add esp, 8
test eax, eax
jne 0x4033a0
lea edi, [esp + 0x10c]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x403370
mov eax, dword [str.wniewnie.ini]
mov ecx, dword [0x45d4b8]
mov edx, dword [0x45d4bc]
mov dword [edi], eax
mov ax, word [0x45d4c0]
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov word [edi + 0xc], ax
jmp 0x403432
push str.wnpy
push esi
call fcn.0044c2c5
add esp, 8
test eax, eax
jne 0x4033ee
lea edi, [esp + 0x10c]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4033c0
mov ecx, dword [str.wnpywnpy.ini]
mov edx, dword [0x45d4a8]
mov eax, dword [0x45d4ac]
mov dword [edi], ecx
mov cx, word [0x45d4b0]
mov dword [edi + 4], edx
mov dword [edi + 8], eax
mov word [edi + 0xc], cx
jmp 0x403432
push str.wnsrf
push esi
call fcn.0044c2c5
add esp, 8
test eax, eax
jne 0x403432
lea edi, [esp + 0x10c]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x403408
mov edx, dword [str.wnsrfwnsrf.ini]
mov eax, dword [0x45d490]
mov ecx, dword [0x45d494]
mov dword [edi], edx
mov edx, dword [0x45d498]
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
lea eax, [esp + 0x10c]
push eax
push 0x104
lea ecx, [esp + 0x10]
push ecx
push 0x45c46f
push str.InstallPath
push str.Globals
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 8]
push 0x45c46f
push edx
call fcn.0044c2c5
add esp, 8
test eax, eax
jne 0x403486
pop edi
pop esi
mov ecx, dword [esp + 0x208]
call fcn.0044b7c8
add esp, 0x20c
ret 4
push str.wnwg
push esi
call fcn.0044c2c5
add esp, 8
test eax, eax
jne 0x4034c6
lea edi, [esp + 8]
dec edi
lea ecx, [ecx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4034a0
mov eax, dword [str.wnwb.exe]
mov ecx, dword [0x45d470]
mov dl, byte [0x45d474]
mov dword [edi], eax
mov dword [edi + 4], ecx
mov byte [edi + 8], dl
jmp 0x4035d9
push str.wnnz
push esi
call fcn.0044c2c5
add esp, 8
test eax, eax
jne 0x40350e
lea edi, [esp + 8]
dec edi
lea ecx, [ecx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4034e0
mov eax, dword [str.dll32wn.ime]
mov ecx, dword [0x45d460]
mov edx, dword [0x45d464]
mov dword [edi], eax
mov al, byte [0x45d468]
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov byte [edi + 0xc], al
jmp 0x4035d9
push str.wnie
push esi
call fcn.0044c2c5
add esp, 8
test eax, eax
jne 0x40354b
lea edi, [esp + 8]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x403525
mov ecx, dword [str.wnie.exe]
mov edx, dword [0x45d454]
mov al, byte [0x45d458]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov byte [edi + 8], al
jmp 0x4035d9
push str.wnpy
push esi
call fcn.0044c2c5
add esp, 8
test eax, eax
jne 0x403599
lea edi, [esp + 8]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x403562
mov ecx, dword [str.dll32wnpy.ime]
mov edx, dword [0x45d444]
mov eax, dword [0x45d448]
mov dword [edi], ecx
mov cx, word [0x45d44c]
mov dword [edi + 4], edx
mov dl, byte [0x45d44e]
mov dword [edi + 8], eax
mov word [edi + 0xc], cx
mov byte [edi + 0xe], dl
jmp 0x4035d9
push str.wnsrf
push esi
call fcn.0044c2c5
add esp, 8
test eax, eax
jne 0x4035d9
lea edi, [esp + 8]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4035b0
mov eax, dword [str.dll32wnsrf.ime]
mov ecx, dword [0x45d434]
mov edx, dword [0x45d438]
mov dword [edi], eax
mov eax, dword [0x45d43c]
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov dword [edi + 0xc], eax
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov ecx, dword [esp + 0x210]
neg eax
sbb eax, eax
pop edi
neg eax
pop esi
call fcn.0044b7c8
add esp, 0x20c
ret 4