Function at 0x40aed3
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x45c11b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x668
mov eax, dword [0x47bdb8]
push ebx
mov dword [esp + 0x668], eax
mov eax, dword [esp + 0x67c]
push ebp
push esi
add eax, 0xffff7ffd
mov ebx, 8
cmp eax, ebx
push edi
mov edi, ecx
ja case.default.0x40a7c6
jmp dword [eax*4 + 0x40b110]
call fcn.004027a0
mov ecx, eax
call fcn.00401e50
cmp eax, 7
mov dword [0x49b9b8], eax
push 0
jne 0x40a8e2
lea ecx, [esp + 0x48c]
call fcn.00401bb0
lea ecx, [esp + 0x488]
mov dword [esp + 0x680], 0
call fcn.0043c571
cmp eax, 1
jne 0x40a8c6
push 0
lea ecx, [esp + 0x29c]
call fcn.004297b0
mov eax, dword [0x49ba24]
push 0
push 0
push eax
lea ecx, [esp + 0x2a4]
mov byte [esp + 0x68c], 1
call fcn.0042a9a0
lea ecx, [esp + 0x10]
call fcn.00401580
mov ecx, dword [esp + 0x5ec]
mov edx, dword [esp + 0x5e8]
push ecx
push edx
lea eax, [esp + 0x18]
push str._s_s
push eax
mov byte [esp + 0x690], 2
call fcn.004032f0
mov ecx, dword [esp + 0x600]
mov edx, dword [esp + 0x20]
add esp, 0x10
push ecx
push edx
push 0x4620c8
lea ecx, [esp + 0x2a4]
call fcn.0042a2b0
push 0
lea ecx, [esp + 0x29c]
call fcn.00429c70
push 7
mov ecx, edi
call fcn.00409a70
lea ecx, [esp + 0x10]
call fcn.00401470
lea ecx, [esp + 0x298]
mov byte [esp + 0x680], 0
call fcn.0042a8a0
lea ecx, [esp + 0x488]
mov dword [esp + 0x680], 0xffffffff
call fcn.004015d0
jmp case.default.0x40a7c6
push 0
push 0x4681b4
lea ecx, [esp + 0x58]
call fcn.00451d41
mov ecx, 0x4a1b68
mov dword [esp + 0x680], 3
mov byte [0x49b9b4], 0
call fcn.004085a0
lea ecx, [esp + 0xf4]
call fcn.00404a70
lea ecx, [esp + 0x1fc]
mov byte [esp + 0x680], 4
call fcn.0040b1c0
lea ecx, [esp + 0x178]
mov byte [esp + 0x680], 5
call fcn.0040c030
lea ecx, [esp + 0x404]
mov byte [esp + 0x680], 6
call fcn.00401ca0
lea eax, [esp + 0xf4]
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x684], 7
call fcn.00451b20
cmp dword [0x49b9b8], 1
jne 0x40a982
lea ecx, [esp + 0x1fc]
push ecx
jmp 0x40a99b
lea edx, [esp + 0x178]
push edx
lea ecx, [esp + 0x50]
call fcn.00451b20
lea eax, [esp + 0x404]
push eax
lea ecx, [esp + 0x50]
call fcn.00451b20
or dword [esp + 0xa0], 0xa0
lea ecx, [esp + 0x4c]
mov dword [esp + 0xb0], 0x4681b4
mov dword [esp + 0xb8], 0
call fcn.004512c3
mov al, byte [0x49b9b4]
or ebp, 0xffffffff
test al, al
je 0x40aaea
lea ecx, [esp + 0x2c]
call fcn.00402e10
mov ecx, dword [0x49b9b8]
mov dword [esp + 0x2c], ecx
push 0x49b9bc
lea ecx, [esp + 0x38]
mov byte [esp + 0x684], bl
call fcn.004018d0
mov edx, dword [0x49b9b8]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.00405890
add esp, 8
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x684], 9
call fcn.00403490
lea ecx, [esp + 0x1c]
mov byte [esp + 0x680], bl
call fcn.00401470
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x49b9bc
mov dword [esp + 0x44], ebp
call fcn.00402dd0
lea ecx, [esp + 0x30]
push ecx
mov ecx, edi
call fcn.004094d0
mov edx, dword [0x49b9b8]
push edx
mov ecx, 0x49b9b4
mov esi, eax
call fcn.00407580
test esi, esi
je 0x40aad9
mov eax, dword [0x4a1eb0]
test eax, eax
je 0x40aad9
cmp dword [esi + 0x10], ebp
jne 0x40aaa2
mov eax, dword [esi]
push 0
push eax
push ecx
lea edx, [esi + 8]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.00402dd0
call fcn.00406d10
add esp, 0xc
mov dword [esi + 0x10], eax
mov eax, dword [esi]
push 1
push eax
push ecx
lea edx, [esi + 8]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.00402dd0
mov eax, dword [esi + 0x10]
push eax
call fcn.00406360
add esp, 0x10
test eax, eax
je 0x40aad9
mov ecx, dword [0x49ba1c]
push 0
push 0x20
push ecx
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x680], 7
call fcn.00402e80
call fcn.0040b140
lea ecx, [esp + 0x404]
mov byte [esp + 0x680], 6
call fcn.00401cc0
lea ecx, [esp + 0x178]
mov byte [esp + 0x680], 5
call fcn.0040c050
lea ecx, [esp + 0x1fc]
mov byte [esp + 0x680], 4
call fcn.0040b1e0
lea ecx, [esp + 0xf4]
mov byte [esp + 0x680], 3
call fcn.00404a90
lea ecx, [esp + 0x4c]
mov dword [esp + 0x680], ebp
call fcn.004519f7
jmp case.default.0x40a7c6
mov ecx, edi
call fcn.004087f0
mov esi, eax
test esi, esi
je case.default.0x40a7c6
push 0
push 4
push 0x462e08
call fcn.0044c436
cmp eax, 6
jne case.default.0x40a7c6
mov ecx, edi
call fcn.00408550
cmp eax, 0xffffffff
je case.default.0x40a7c6
cmp dword [esi], 7
push eax
mov ecx, edi
jne 0x40abee
call fcn.00408530
lea ecx, [esp + 0x10]
call fcn.00401580
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
push edx
push eax
lea ecx, [esp + 0x18]
push str._s_s
push ecx
mov dword [esp + 0x690], 0xa
call fcn.004032f0
mov edx, dword [0x49ba24]
mov eax, dword [esp + 0x20]
add esp, 0x10
push edx
push 0
push eax
push 0x4620c8
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [esp + 0x10]
call fcn.00401470
jmp case.default.0x40a7c6
call fcn.00408530
mov ecx, dword [esi]
push ecx
push ecx
add esi, 8
mov ecx, esp
mov dword [esp + 0x18], esp
push esi
call fcn.00402dd0
lea edx, [esp + 0x1c]
push edx
call fcn.004056f0
mov eax, dword [esp + 0x20]
push eax
call fcn.0041846c
add esp, 0x10
lea ecx, [esp + 0x14]
call fcn.00401470
jmp case.default.0x40a7c6
mov ecx, edi
call fcn.004087f0
mov esi, eax
test esi, esi
je case.default.0x40a7c6
mov eax, dword [esi]
cmp eax, 7
jne 0x40ad20
push 0
lea ecx, [esp + 0x29c]
call fcn.00401bb0
lea ecx, [esi + 4]
push ecx
lea ecx, [esp + 0x3fc]
mov dword [esp + 0x684], 0xb
call fcn.004018d0
lea edx, [esi + 8]
push edx
lea ecx, [esp + 0x400]
call fcn.004018d0
add esi, 0xc
push esi
lea ecx, [esp + 0x404]
call fcn.004018d0
lea ecx, [esp + 0x298]
call fcn.0043c571
cmp eax, 1
jne 0x40ad04
lea ecx, [esp + 0x10]
call fcn.00401580
mov eax, dword [esp + 0x3fc]
mov ecx, dword [esp + 0x3f8]
push eax
push ecx
lea edx, [esp + 0x18]
push str._s_s
push edx
mov byte [esp + 0x690], 0xc
call fcn.004032f0
mov eax, dword [0x49ba24]
mov ecx, dword [esp + 0x410]
mov edx, dword [esp + 0x20]
add esp, 0x10
push eax
push ecx
push edx
push 0x4620c8
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 7
mov ecx, edi
call fcn.00409a70
lea ecx, [esp + 0x10]
call fcn.00401470
lea ecx, [esp + 0x298]
mov dword [esp + 0x680], 0xffffffff
call fcn.004015d0
jmp case.default.0x40a7c6
push eax
push ecx
lea edi, [esi + 8]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edi
call fcn.00402dd0
call fcn.00405b80
add esp, 8
push 1
mov dword [esi + 0x10], eax
mov eax, dword [esi]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push edi
call fcn.00402dd0
mov ecx, dword [esi + 0x10]
push ecx
call fcn.00406360
add esp, 0x10
test eax, eax
je case.default.0x40a7c6
mov edx, dword [0x49ba1c]
push 0
push 4
push edx
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
jmp case.default.0x40a7c6
mov ecx, edi
call fcn.004087f0
mov esi, eax
test esi, esi
je case.default.0x40a7c6
cmp dword [esi], 7
jne 0x40ae60
lea ecx, [esp + 0x2c]
call fcn.00425260
push 0x4681b4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x684], 0xd
call fcn.00401b00
push 0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esi + 0xc]
push ecx
lea edx, [esi + 8]
push edx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x690], 0xe
call fcn.004258d0
lea ecx, [esp + 0x18]
mov ebx, eax
call fcn.00401470
lea ecx, [esp + 0x10]
call fcn.00401580
push ebx
lea eax, [esp + 0x14]
push 0x4620ac
push eax
mov byte [esp + 0x68c], 0xf
call fcn.004032f0
add esp, 0xc
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.004034f0
mov edx, dword [0x49ba24]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax]
push edx
push ecx
push eax
push 0x4620b0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [esp + 0x24]
call fcn.00401470
push esi
mov ecx, edi
mov dword [esi + 0x10], ebx
call fcn.00409820
lea ecx, [esp + 0x10]
call fcn.00401470
lea ecx, [esp + 0x2c]
mov dword [esp + 0x680], 0xffffffff
call fcn.00424ef0
jmp case.default.0x40a7c6
mov eax, dword [esi + 0x10]
or ebp, 0xffffffff
cmp eax, ebp
je 0x40ae96
push 0
push 4
push 0x462de0
call fcn.0044c436
cmp eax, 6
jne case.default.0x40a7c6
mov ecx, dword [esi + 0x10]
call fcn.0040a5e0
mov eax, ebp
cmp eax, ebp
mov dword [esi + 0x10], ebp
jne 0x40b0c3
mov edx, dword [esi]
push 0
push edx
push ecx
lea eax, [esi + 8]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
jmp 0x40b0b3
mov ecx, edi
call fcn.004087f0
mov esi, eax
test esi, esi
je case.default.0x40a7c6
mov eax, dword [esi]
or ebp, 0xffffffff
cmp eax, 7
mov eax, dword [esi + 0x10]
jne 0x40afb5
cmp eax, ebp
je 0x40af46
push 0
push 4
push 0x462dc0
call fcn.0044c436
cmp eax, 6
jne case.default.0x40a7c6
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call fcn.004034f0
mov edx, dword [0x49ba24]
mov eax, dword [eax]
push edx
push 0x80
lea ecx, [esp + 0x5fc]
push ecx
push 0x4620c0
push eax
push 0x4620b0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x20]
call fcn.00401470
lea edx, [esp + 0x5f4]
push edx
call fcn.004180c4
add esp, 4
mov ecx, eax
call fcn.0040a5e0
mov ecx, dword [esi + 0x10]
call fcn.0040a5e0
mov dword [esi + 0x10], ebp
lea ecx, [esp + 0x10]
call fcn.00401580
mov eax, dword [esi + 0x10]
push eax
lea ecx, [esp + 0x14]
push 0x4620ac
push ecx
mov dword [esp + 0x68c], 0x10
call fcn.004032f0
add esp, 0xc
lea edx, [esp + 0x28]
push edx
mov ecx, esi
call fcn.004034f0
mov ecx, dword [0x49ba24]
mov edx, dword [esp + 0x10]
mov eax, dword [eax]
push ecx
push edx
push eax
push 0x4620b0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [esp + 0x28]
call fcn.00401470
push esi
mov ecx, edi
call fcn.00409820
lea ecx, [esp + 0x10]
call fcn.00401470
jmp case.default.0x40a7c6
cmp eax, ebp
je 0x40affd
push 0
push 4
push 0x462dc0
call fcn.0044c436
cmp eax, 6
jne case.default.0x40a7c6
mov ecx, dword [esi]
push ecx
push ecx
lea edx, [esi + 8]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.00402dd0
call fcn.00405b80
add esp, 8
mov ecx, eax
call fcn.0040a5e0
mov ecx, dword [esi + 0x10]
call fcn.0040a5e0
mov dword [esi + 0x10], ebp
mov eax, dword [esi + 0x10]
mov ecx, dword [esi]
push eax
push ecx
push ecx
lea edx, [esi + 8]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.00402dd0
call fcn.00405cd0
add esp, 0xc
push esi
mov ecx, edi
call fcn.00409820
jmp case.default.0x40a7c6
call fcn.00456eb3
mov edi, dword [eax + 4]
push 1
push 0x462750
push 0x462750
mov ecx, edi
call fcn.00457e5e
mov esi, eax
neg esi
sbb esi, esi
inc esi
push esi
call fcn.00406670
add esp, 4
push esi
push 0x462750
push 0x462750
mov ecx, edi
call fcn.0044d9c4
jmp case.default.0x40a7c6
mov ecx, edi
call fcn.004087f0
mov esi, eax
test esi, esi
je case.default.0x40a7c6
cmp dword [esi], 7
mov ecx, dword [esi + 0x10]
jne 0x40b097
call fcn.0040a5e0
push 0x8006
mov ecx, edi
mov dword [esi + 0x10], 0xffffffff
call fcn.0040a780
jmp case.default.0x40a7c6
call fcn.0040a5e0
mov eax, dword [esi]
push 0
push eax
push ecx
lea edx, [esi + 8]
mov ecx, esp
mov dword [esp + 0x20], esp
mov dword [esi + 0x10], 0xffffffff
push edx
call fcn.00402dd0
call fcn.00406d10
add esp, 0xc
mov dword [esi + 0x10], eax
push esi
mov ecx, edi
call fcn.00409820
jmp case.default.0x40a7c6
push 0
push 0
mov ecx, edi
call fcn.00408be0
jmp case.default.0x40a7c6
push 0x40
push 3
call fcn.00409230
add esp, 8
mov ecx, dword [esp + 0x678]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x674]
call fcn.0041723c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x674
ret 4