Function at 0x431388
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45a9b3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x130
push edi
mov dword [ebp - 0x13c], ecx
push 0x472610
mov ecx, dword [ebp - 0x13c]
add ecx, 0x424
call fcn.004504e6
push eax
mov ecx, dword [ebp - 0x13c]
add ecx, 0x208
call fcn.00450496
push 0x472614
mov ecx, dword [ebp - 0x13c]
add ecx, 0x428
call fcn.004504e6
push eax
mov ecx, dword [ebp - 0x13c]
add ecx, 0x20c
call fcn.00450496
push 0x472618
mov ecx, dword [ebp - 0x13c]
add ecx, 0x42c
call fcn.004504e6
push eax
mov ecx, dword [ebp - 0x13c]
add ecx, 0x210
call fcn.00450496
push 0x47261c
mov ecx, dword [ebp - 0x13c]
add ecx, 0x430
call fcn.004504e6
push eax
mov ecx, dword [ebp - 0x13c]
add ecx, 0x214
call fcn.00450496
push 0x472620
mov ecx, dword [ebp - 0x13c]
add ecx, 0x27c
call fcn.004504e6
push 0x472624
mov ecx, dword [ebp - 0x13c]
add ecx, 0x280
call fcn.004504e6
push 0x472628
mov ecx, dword [ebp - 0x13c]
add ecx, 0x284
call fcn.004504e6
push 0x47262c
mov ecx, dword [ebp - 0x13c]
add ecx, 0x288
call fcn.004504e6
push 0x472630
mov ecx, dword [ebp - 0x13c]
add ecx, 0x22c
call fcn.004504e6
push 0x472634
mov ecx, dword [ebp - 0x13c]
add ecx, 0x230
call fcn.004504e6
push 0x472638
mov ecx, dword [ebp - 0x13c]
add ecx, 0x234
call fcn.004504e6
push 0x47263c
mov ecx, dword [ebp - 0x13c]
add ecx, 0x238
call fcn.004504e6
push 0x472640
mov ecx, dword [ebp - 0x13c]
add ecx, 0x258
call fcn.004504e6
push 0x472644
mov ecx, dword [ebp - 0x13c]
add ecx, 0x25c
call fcn.004504e6
push 0x472648
mov ecx, dword [ebp - 0x13c]
add ecx, 0x260
call fcn.004504e6
push 0x47264c
mov ecx, dword [ebp - 0x13c]
add ecx, 0x264
call fcn.004504e6
mov eax, dword [ebp - 0x13c]
mov dword [eax + 0x2cc], 0
mov ecx, dword [ebp - 0x13c]
mov dword [ecx + 0x2d0], 0
mov edx, dword [ebp - 0x13c]
mov dword [edx + 0x2d4], 0
mov eax, dword [ebp - 0x13c]
mov dword [eax + 0x2d8], 0
push 0x46fbd8
push 0x44e
mov ecx, dword [ebp - 0x13c]
call fcn.0044f907
mov ecx, eax
call fcn.0044f9c6
lea ecx, [ebp - 0x10]
call fcn.00404cc0
mov dword [ebp - 4], 0
mov byte [ebp - 0x114], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x113]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, dword [str.ISP__PSI.ini]
push ecx
mov edx, dword [ebp - 0x13c]
mov eax, dword [edx + 0x490]
push eax
push str._s_s
lea ecx, [ebp - 0x10]
push ecx
call fcn.0044b146
add esp, 0x10
mov edx, dword [ebp - 0x13c]
cmp dword [edx + 0x2a4], 0
jne 0x431b13
push 0
push 0x4b2
mov ecx, dword [ebp - 0x13c]
call fcn.0044f907
mov ecx, eax
call fcn.0044fac7
push 0
push 0x4b3
mov ecx, dword [ebp - 0x13c]
call fcn.0044f907
mov ecx, eax
call fcn.0044fac7
push 0x104
push 0
lea eax, [ebp - 0x114]
push eax
call fcn.0043d9d0
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.00404d20
push eax
push 0x104
lea ecx, [ebp - 0x114]
push ecx
push 0
mov edx, dword [str.file1_name]
push edx
mov eax, dword [str.Setting]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x114]
push ecx
push 0x46fbf4
mov edx, dword [ebp - 0x13c]
add edx, 0x424
push edx
call fcn.0044b146
add esp, 0xc
push 0x104
push 0
lea eax, [ebp - 0x114]
push eax
call fcn.0043d9d0
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.00404d20
push eax
push 0x104
lea ecx, [ebp - 0x114]
push ecx
push 0
mov edx, dword [str.file2_name]
push edx
mov eax, dword [str.Setting]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x114]
push ecx
push 0x46fbf8
mov edx, dword [ebp - 0x13c]
add edx, 0x428
push edx
call fcn.0044b146
add esp, 0xc
push 0x104
push 0
lea eax, [ebp - 0x114]
push eax
call fcn.0043d9d0
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.00404d20
push eax
push 0x104
lea ecx, [ebp - 0x114]
push ecx
push 0
mov edx, dword [str.file3_name]
push edx
mov eax, dword [str.Setting]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x114]
push ecx
push 0x46fbfc
mov edx, dword [ebp - 0x13c]
add edx, 0x42c
push edx
call fcn.0044b146
add esp, 0xc
push 0x104
push 0
lea eax, [ebp - 0x114]
push eax
call fcn.0043d9d0
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.00404d20
push eax
push 0x104
lea ecx, [ebp - 0x114]
push ecx
push 0
mov edx, dword [str.file4_name]
push edx
mov eax, dword [str.Setting]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x114]
push ecx
push 0x46fc00
mov edx, dword [ebp - 0x13c]
add edx, 0x430
push edx
call fcn.0044b146
add esp, 0xc
push 0x104
push 0
lea eax, [ebp - 0x114]
push eax
call fcn.0043d9d0
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.00404d20
push eax
push 0x104
lea ecx, [ebp - 0x114]
push ecx
push 0
mov edx, dword [str.file5_name]
push edx
mov eax, dword [str.Setting]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x114]
push ecx
push 0x46fc04
mov edx, dword [ebp - 0x13c]
add edx, 0x434
push edx
call fcn.0044b146
add esp, 0xc
push 0x104
push 0
lea eax, [ebp - 0x114]
push eax
call fcn.0043d9d0
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.00404d20
push eax
push 0x104
lea ecx, [ebp - 0x114]
push ecx
push 0
mov edx, dword [str.file6_name]
push edx
mov eax, dword [str.Setting]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x114]
push ecx
push 0x46fc08
mov edx, dword [ebp - 0x13c]
add edx, 0x438
push edx
call fcn.0044b146
add esp, 0xc
push 0x104
push 0
lea eax, [ebp - 0x114]
push eax
call fcn.0043d9d0
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.00404d20
push eax
push 0x104
lea ecx, [ebp - 0x114]
push ecx
push 0
mov edx, dword [str.file7_name]
push edx
mov eax, dword [str.Setting]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x114]
push ecx
push 0x46fc0c
mov edx, dword [ebp - 0x13c]
add edx, 0x43c
push edx
call fcn.0044b146
add esp, 0xc
push 0x104
push 0
lea eax, [ebp - 0x114]
push eax
call fcn.0043d9d0
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.00404d20
push eax
push 0x104
lea ecx, [ebp - 0x114]
push ecx
push 0
mov edx, dword [str.file8_name]
push edx
mov eax, dword [str.Setting]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x114]
push ecx
push 0x46fc10
mov edx, dword [ebp - 0x13c]
add edx, 0x440
push edx
call fcn.0044b146
add esp, 0xc
push 0x104
push 0
lea eax, [ebp - 0x114]
push eax
call fcn.0043d9d0
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.00404d20
push eax
push 0x104
lea ecx, [ebp - 0x114]
push ecx
push 0
mov edx, dword [str.file9_name]
push edx
mov eax, dword [str.Setting]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x114]
push ecx
push 0x46fc14
mov edx, dword [ebp - 0x13c]
add edx, 0x444
push edx
call fcn.0044b146
add esp, 0xc
mov eax, dword [ebp - 0x13c]
cmp dword [eax + 0x1d4], 0
je 0x4319ce
mov ecx, dword [ebp - 0x13c]
cmp dword [ecx + 0x1d4], 3
jne 0x431a68
push 0x472650
mov ecx, dword [ebp - 0x13c]
add ecx, 0x42c
call fcn.004504e6
push 0x472654
mov ecx, dword [ebp - 0x13c]
add ecx, 0x430
call fcn.004504e6
push 0x472658
mov ecx, dword [ebp - 0x13c]
add ecx, 0x434
call fcn.004504e6
push 0x47265c
mov ecx, dword [ebp - 0x13c]
add ecx, 0x438
call fcn.004504e6
push 0x472660
mov ecx, dword [ebp - 0x13c]
add ecx, 0x43c
call fcn.004504e6
push 0x472664
mov ecx, dword [ebp - 0x13c]
add ecx, 0x440
call fcn.004504e6
push 0x472668
mov ecx, dword [ebp - 0x13c]
add ecx, 0x444
call fcn.004504e6
mov edx, dword [ebp - 0x13c]
cmp dword [edx + 0x1d4], 1
je 0x431a8a
mov eax, dword [ebp - 0x13c]
cmp dword [eax + 0x1d4], 4
jne 0x431b0e
push 0x47266c
mov ecx, dword [ebp - 0x13c]
add ecx, 0x430
call fcn.004504e6
push 0x472670
mov ecx, dword [ebp - 0x13c]
add ecx, 0x434
call fcn.004504e6
push 0x472674
mov ecx, dword [ebp - 0x13c]
add ecx, 0x438
call fcn.004504e6
push 0x472678
mov ecx, dword [ebp - 0x13c]
add ecx, 0x43c
call fcn.004504e6
push 0x47267c
mov ecx, dword [ebp - 0x13c]
add ecx, 0x440
call fcn.004504e6
push 0x472680
mov ecx, dword [ebp - 0x13c]
add ecx, 0x444
call fcn.004504e6
jmp 0x431d8c
mov ecx, dword [ebp - 0x13c]
cmp dword [ecx + 0x2a4], 1
jne 0x431d8c
push 0x104
push 0
lea edx, [ebp - 0x114]
push edx
call fcn.0043d9d0
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.00404d20
push eax
push 0x104
lea eax, [ebp - 0x114]
push eax
push 0
mov ecx, dword [str.binfile_name]
push ecx
mov edx, dword [str.Setting]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x114]
push eax
push 0x46fc18
mov ecx, dword [ebp - 0x13c]
add ecx, 0x424
push ecx
call fcn.0044b146
add esp, 0xc
push 1
push 0x4b2
mov ecx, dword [ebp - 0x13c]
call fcn.0044f907
mov ecx, eax
call fcn.0044fac7
push 1
push 0x4b3
mov ecx, dword [ebp - 0x13c]
call fcn.0044f907
mov ecx, eax
call fcn.0044fac7
mov ecx, dword [ebp - 0x13c]
add ecx, 0x424
call fcn.0040cec0
test eax, eax
je 0x431bff
push 0x472684
push 0x4b3
mov ecx, dword [ebp - 0x13c]
call fcn.0044f907
mov ecx, eax
call fcn.0044f9c6
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0045035d
jmp 0x431d9b
lea ecx, [ebp - 0x138]
call fcn.004508ba
mov byte [ebp - 4], 1
mov dword [ebp - 0x128], 0
lea ecx, [ebp - 0x11c]
call fcn.00404cc0
mov byte [ebp - 4], 2
push 0
push 0
mov ecx, dword [ebp - 0x13c]
add ecx, 0x424
call fcn.00404d20
push eax
lea ecx, [ebp - 0x138]
call fcn.004509cc
test eax, eax
jne 0x431c9a
push 0x472688
push 0x4b3
mov ecx, dword [ebp - 0x13c]
call fcn.0044f907
mov ecx, eax
call fcn.0044f9c6
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x11c]
call fcn.0045035d
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x138]
call fcn.0045090f
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0045035d
jmp 0x431d9b
push 0
push 0
lea ecx, [ebp - 0x138]
call fcn.00450b6e
lea ecx, [ebp - 0x138]
call fcn.00450cc6
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x124], 0
jmp 0x431cd5
mov edx, dword [ebp - 0x124]
add edx, 1
mov dword [ebp - 0x124], edx
mov eax, dword [ebp - 0x124]
cmp eax, dword [ebp - 0x118]
jae 0x431d13
push 1
lea ecx, [ebp - 0x120]
push ecx
lea ecx, [ebp - 0x138]
call fcn.00450ae9
mov edx, dword [ebp - 0x120]
and edx, 0xff
mov eax, dword [ebp - 0x128]
add eax, edx
mov dword [ebp - 0x128], eax
jmp 0x431cc6
mov ecx, dword [ebp - 0x128]
and ecx, 0xffff
mov dword [ebp - 0x128], ecx
mov edx, dword [ebp - 0x128]
push edx
push 0x46fc1c
lea eax, [ebp - 0x11c]
push eax
call fcn.0044b146
add esp, 0xc
lea ecx, [ebp - 0x11c]
call fcn.00450824
lea ecx, [ebp - 0x11c]
call fcn.00404d20
push eax
push 0x4b3
mov ecx, dword [ebp - 0x13c]
call fcn.0044f907
mov ecx, eax
call fcn.0044f9c6
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x11c]
call fcn.0045035d
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x138]
call fcn.0045090f
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0045035d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret