Function at 0x4055a0
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x17ec
call fcn.00432740
mov eax, dword [0x460640]
xor eax, esp
mov dword [esp + 0x17e8], eax
mov eax, dword [esp + 0x17f4]
push ebx
push ebp
mov dword [esp + 0x10], eax
mov eax, dword [0x45ecd0]
push esi
cdq
push edi
mov ebx, eax
mov eax, dword [0x45ece4]
push 0xd
mov ebp, edx
cdq
push 0x3dbf610d
push edx
push eax
call fcn.00432020
push 3
push 0xce4a7dc6
push ebp
push ebx
mov edi, eax
call fcn.00432020
push 0x13
push 0x392bae29
push ebp
mov esi, eax
push ebx
sub esi, edi
call fcn.00432020
push 8
push 0x42a7b17d
push ebp
push ebx
add esi, eax
call fcn.00432020
mov ecx, dword [0x45ece0]
mov edx, dword [0x45ecc8]
imul ecx, ecx, 0xafbbe1e
imul edx, edx, 0x31b5823a
add esi, eax
mov eax, dword [0x45ecdc]
add esi, ecx
push 0x14
sub esi, edx
cdq
push 0x76aab896
push edx
push eax
mov dword [0x45ecc8], esi
call fcn.00432020
mov dword [esp + 0x1c], eax
mov eax, dword [0x45ecd8]
push 3
cdq
push 0xce4a7dc6
push edx
push eax
call fcn.00432020
push 0x10
push 0xe4325444
mov edi, eax
mov eax, dword [esp + 0x24]
push ebp
push ebx
sub edi, eax
call fcn.00432020
sub edi, eax
mov eax, esi
imul eax, eax, 0x3dbf610d
add edi, eax
mov eax, dword [0x45ecd8]
imul eax, eax, 0x76aab896
add edi, eax
mov eax, dword [0x45ece8]
mov ecx, eax
mov ebp, dword [0x45ece4]
imul ecx, ecx, 0x471ee414
add edi, ecx
mov ecx, dword [esp + 0x1800]
sub edi, ebp
add edi, 0x31b5823a
test ecx, ecx
mov dword [0x45ecd0], edi
je 0x405a38
lea ebx, [ecx + 1]
jmp 0x4056d0
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x4056d0
sub ecx, ebx
mov dword [esp + 0x10], ecx
je 0x405a38
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x405a38
lea ebx, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x4056f2
sub ecx, ebx
mov dword [esp + 0x10], ecx
je 0x405a38
mov ebp, dword [0x45ece0]
cdq
mov dword [esp + 0x10], eax
push 8
mov dword [esp + 0x18], edx
mov eax, ebp
cdq
push 0x974b287b
push edx
push eax
call fcn.00432020
mov ebx, eax
mov eax, dword [0x45ecd4]
push 0x13
cdq
push 0x2c2da253
push edx
push eax
call fcn.00432020
mov edx, dword [esp + 0x14]
push 0x14
push 0x471ee414
sub ebx, eax
mov eax, dword [esp + 0x18]
push edx
push eax
call fcn.00432020
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push 0x13
push 0x392bae29
push ecx
push edx
add ebx, eax
call fcn.00432020
imul ebp, ebp, 0x68b4d785
imul esi, esi, 0x2c2da253
sub ebx, eax
sub ebx, ebp
mov ebp, dword [0x45ece8]
mov eax, ebp
imul eax, eax, 0x31b5823a
add ebx, eax
mov eax, dword [esp + 0x1800]
add ebx, esi
lea esi, [esp + 0xff8]
mov dword [0x45ecd8], ebx
sub esi, eax
mov cl, byte [eax]
mov byte [esi + eax], cl
inc eax
test cl, cl
jne 0x4057a3
lea ecx, [esp + 0xff8]
push ecx
call fcn.00405350
mov eax, dword [0x45eccc]
add esp, 4
push 0xffffffffffffffef
cdq
push 0x1bcdabbc
push edx
add ebp, edi
push eax
imul ebp, ebp, 0x1bcdabbc
call fcn.00432020
mov edx, dword [esp + 0x14]
push 0xf
push 0x3c2325f6
mov esi, eax
mov eax, dword [esp + 0x18]
push edx
push eax
sub esi, ebp
call fcn.00432020
imul ebx, ebx, 0x42a7b17d
mov ecx, dword [0x45ecdc]
mov edx, dword [0x45ecd4]
imul ecx, ecx, 0x31b5823a
push str.C:_WINDoWS_system32driversetc_serViCe5.ini
imul edx, edx, 0x471ee414
add esi, eax
push 0x800
add esi, ebx
lea eax, [esp + 0x800]
push eax
add esi, ecx
mov ecx, dword [esp + 0x24]
push 0x44ee59
push ecx
sub esi, edx
push str.GameType1
mov dword [0x45ece0], esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x7f8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405850
sub eax, edx
mov dword [esp + 0x10], eax
je 0x4059ce
mov eax, dword [0x45ecc8]
cdq
mov edi, eax
mov eax, dword [str._r_____r____]
push 8
mov ebx, edx
cdq
push 0x42a7b17d
push edx
push eax
call fcn.00432020
mov edx, dword [0x45ecd8]
mov esi, dword [0x45ecd0]
lea ebp, [edx + esi]
imul ebp, ebp, 0x392bae29
push 0x13
push 0x2c2da253
push ebx
push edi
sub ebp, eax
call fcn.00432020
push 8
push 0x974b287b
push ebx
push edi
add ebp, eax
call fcn.00432020
imul esi, esi, 0x2c2da253
add ebp, eax
mov eax, dword [0x45ece4]
imul eax, eax, 0x31b5823a
lea ecx, [esp + 0x7f8]
push ecx
add ebp, eax
lea edx, [esp + 0x2c]
push 0x1f4
sub ebp, esi
push edx
mov dword [0x45ece8], ebp
call fcn.00410e30
add esp, 0xc
test eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], 0
jle 0x4059ce
mov esi, dword [0x45eccc]
mov eax, esi
cdq
mov edi, eax
mov eax, dword [0x45ecd4]
push 0xf
mov ebx, edx
cdq
push 0x3c2325f6
push ebx
mov ebp, eax
push edi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], edx
call fcn.00432020
mov ecx, dword [esp + 0x24]
push 0x13
push 0x2c2da253
push ecx
push ebp
mov dword [esp + 0x2c], eax
call fcn.00432020
push 0x14
push 0x76aab896
mov ebp, eax
mov eax, dword [esp + 0x24]
push ebx
push edi
sub ebp, eax
call fcn.00432020
mov edx, dword [esp + 0x24]
push 0x14
push 0x76aab896
add ebp, eax
mov eax, dword [esp + 0x28]
push edx
push eax
call fcn.00432020
imul esi, esi, 0x392bae29
mov ecx, dword [0x45ecdc]
mov edx, dword [0x45ece8]
imul ecx, ecx, 0x3dbf610d
imul edx, edx, 0x471ee414
sub ebp, eax
add ebp, ecx
add ebp, edx
add ebp, esi
mov esi, dword [esp + 0x18]
mov eax, dword [esp + esi*4 + 0x28]
push eax
lea ecx, [esp + 0xffc]
push ecx
mov dword [str._r_____r____], ebp
call fcn.00432b50
add esp, 8
test eax, eax
jne 0x405a53
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
mov dword [esp + 0x18], esi
jl 0x405901
mov esi, dword [0x45ecdc]
mov edi, dword [str._r_____r____]
mov eax, esi
cdq
push 0x13
mov ebx, eax
mov eax, dword [0x45ecd8]
push 0x2c2da253
push edx
lea ebp, [edi + eax]
push ebx
imul ebp, ebp, 0x3dbf610d
mov dword [esp + 0x34], edx
call fcn.00432020
mov ecx, dword [esp + 0x24]
push 8
push 0x974b287b
push ecx
push ebx
add ebp, eax
call fcn.00432020
imul esi, esi, 0x392bae29
imul edi, edi, 0x2c2da253
mov ecx, dword [0x45ece0]
sub ebp, eax
add esi, ecx
add esi, ebp
lea edx, [edi + esi + 0x31b5823a]
mov dword [0x45ecd4], edx
xor eax, eax
mov ecx, dword [esp + 0x17f8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00431e3d
add esp, 0x17ec
ret
mov eax, dword [0x45ecd4]
cdq
mov esi, eax
mov eax, dword [0x45eccc]
push 8
mov edi, edx
cdq
push 0x974b287b
push edx
push eax
call fcn.00432020
push 0x13
push 0x2c2da253
push edi
push esi
mov ebx, eax
call fcn.00432020
push 0xd
push 0x3dbf610d
push edi
push esi
add ebx, eax
call fcn.00432020
mov edx, dword [0x45ece4]
mov ecx, dword [0x45ece0]
imul edx, edx, 0x31b5823a
add ebx, eax
imul ecx, ecx, 0x392bae29
mov eax, dword [0x45ece8]
imul eax, eax, 0x471ee414
sub ebx, edx
sub ebx, eax
add ebx, ecx
sub ebx, dword [str._r_____r____]
sub ebx, 0x1bcdabbc
mov dword [0x45eccc], ebx
mov eax, 1
jmp 0x405a3a