Function at 0x40a927
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x45405a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x638
mov eax, dword [0x472d88]
push ebx
mov dword [esp + 0x638], eax
mov eax, dword [esp + 0x64c]
push ebp
push esi
add eax, 0xffff7ffd
cmp eax, 8
push edi
mov edi, ecx
ja case.default.0x40a2e2
jmp dword [eax*4 + 0x40ab38]
call fcn.00402730
mov ecx, eax
call fcn.00401df0
cmp eax, 7
mov dword [0x48bf18], eax
push 0
jne 0x40a3c1
lea ecx, [esp + 0x384]
call fcn.00401b60
lea ecx, [esp + 0x380]
mov dword [esp + 0x650], 0
call fcn.00434541
cmp eax, 1
jne 0x40a3a5
push 0
lea ecx, [esp + 0x49c]
call fcn.00428420
mov eax, dword [0x48bf84]
push 0
push 0
push eax
lea ecx, [esp + 0x4a4]
mov byte [esp + 0x65c], 1
call fcn.00429610
mov ecx, dword [esp + 0x494]
mov edx, dword [esp + 0x490]
push ecx
push edx
push 0x45a0a0
lea ecx, [esp + 0x4a4]
call fcn.00428f20
push 0
lea ecx, [esp + 0x49c]
call fcn.004288e0
push 7
mov ecx, edi
call fcn.00409690
lea ecx, [esp + 0x498]
mov byte [esp + 0x650], 0
call fcn.00429510
lea ecx, [esp + 0x380]
mov dword [esp + 0x650], 0xffffffff
call fcn.004015b0
jmp case.default.0x40a2e2
push 0
push 0x46014c
lea ecx, [esp + 0x4c]
call fcn.00449d6d
mov ecx, 0x491f68
mov dword [esp + 0x650], 2
mov byte [0x48bf14], 0
call fcn.00408170
lea ecx, [esp + 0x260]
call fcn.00404370
lea ecx, [esp + 0x2e4]
mov byte [esp + 0x650], 3
call fcn.0040abe0
lea ecx, [esp + 0x1dc]
mov byte [esp + 0x650], 4
call fcn.0040ba70
mov bl, 5
lea ecx, [esp + 0x158]
mov byte [esp + 0x650], bl
call fcn.00401c20
lea eax, [esp + 0x260]
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x654], 6
call fcn.00449b4c
cmp dword [0x48bf18], 1
jne 0x40a462
lea ecx, [esp + 0x2e4]
push ecx
jmp 0x40a47b
lea edx, [esp + 0x1dc]
push edx
lea ecx, [esp + 0x44]
call fcn.00449b4c
lea eax, [esp + 0x158]
push eax
lea ecx, [esp + 0x44]
call fcn.00449b4c
or dword [esp + 0x94], 0xa0
lea ecx, [esp + 0x40]
mov dword [esp + 0xa4], 0x46014c
mov dword [esp + 0xac], 0
call fcn.004492ef
mov al, byte [0x48bf14]
or ebp, 0xffffffff
test al, al
je 0x40a5cc
lea ecx, [esp + 0x20]
call fcn.00402d80
mov ecx, dword [0x48bf18]
mov dword [esp + 0x20], ecx
push 0x48bf1c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x654], 7
call fcn.00401880
mov edx, dword [0x48bf18]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.00405400
add esp, 8
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x654], 8
call fcn.00404f50
lea ecx, [esp + 0x1c]
mov byte [esp + 0x650], 7
call fcn.00401560
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x48bf1c
mov dword [esp + 0x38], ebp
call fcn.00402d60
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
call fcn.00408ec0
mov edx, dword [0x48bf18]
push edx
mov ecx, 0x48bf14
mov esi, eax
call fcn.00407030
test esi, esi
je 0x40a5bb
mov eax, dword [0x4922b0]
test eax, eax
je 0x40a5bb
cmp dword [esi + 0x10], ebp
jne 0x40a584
mov eax, dword [esi]
push 0
push eax
push ecx
lea edx, [esi + 8]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.00402d60
call fcn.00406870
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 + 0x1c], esp
push edx
call fcn.00402d60
mov eax, dword [esi + 0x10]
push eax
call fcn.00405ec0
add esp, 0x10
test eax, eax
je 0x40a5bb
mov ecx, dword [0x48bf7c]
push 0
push 0x20
push ecx
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [esp + 0x20]
mov byte [esp + 0x650], 6
call fcn.00402df0
call fcn.0040ab60
lea ecx, [esp + 0x158]
mov byte [esp + 0x650], bl
call fcn.00401c40
lea ecx, [esp + 0x1dc]
mov byte [esp + 0x650], 4
call fcn.0040ba90
lea ecx, [esp + 0x2e4]
mov byte [esp + 0x650], 3
call fcn.0040ac00
lea ecx, [esp + 0x260]
mov byte [esp + 0x650], 2
call fcn.00404390
lea ecx, [esp + 0x40]
mov dword [esp + 0x650], ebp
call fcn.00449a23
jmp case.default.0x40a2e2
mov ecx, edi
call fcn.00408350
mov esi, eax
test esi, esi
je case.default.0x40a2e2
push 0
push 4
push 0x45adb4
call fcn.00444462
cmp eax, 6
jne case.default.0x40a2e2
mov ecx, edi
call fcn.00408130
cmp eax, 0xffffffff
je case.default.0x40a2e2
cmp dword [esi], 7
push eax
mov ecx, edi
jne 0x40a697
call fcn.00408110
mov edx, dword [0x48bf84]
mov eax, dword [esi + 8]
push edx
push 0
push eax
push 0x45a0a0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp case.default.0x40a2e2
call fcn.00408110
mov ecx, dword [esi]
push ecx
push ecx
add esi, 8
mov ecx, esp
mov dword [esp + 0x1c], esp
push esi
call fcn.00402d60
lea edx, [esp + 0x18]
push edx
call fcn.00405220
mov eax, dword [esp + 0x1c]
push eax
call fcn.00417e5e
add esp, 0x10
lea ecx, [esp + 0x10]
call fcn.00401560
jmp case.default.0x40a2e2
mov ecx, edi
call fcn.00408350
mov esi, eax
test esi, esi
je case.default.0x40a2e2
mov eax, dword [esi]
cmp eax, 7
jne 0x40a78a
push 0
lea ecx, [esp + 0x44]
call fcn.00401b60
lea ecx, [esi + 8]
push ecx
lea ecx, [esp + 0x154]
mov dword [esp + 0x654], 9
call fcn.00401880
add esi, 0xc
push esi
lea ecx, [esp + 0x158]
call fcn.00401880
lea ecx, [esp + 0x40]
call fcn.00434541
cmp eax, 1
jne 0x40a771
mov eax, dword [esp + 0x150]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jne 0x40a74d
mov edx, dword [0x48bf84]
push edx
push 0
jmp 0x40a75c
mov ecx, dword [0x48bf84]
mov edx, dword [esp + 0x154]
push ecx
push edx
push eax
push 0x45a0a0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 7
mov ecx, edi
call fcn.00409690
lea ecx, [esp + 0x40]
mov dword [esp + 0x650], 0xffffffff
call fcn.004015b0
jmp case.default.0x40a2e2
push eax
push ecx
lea edi, [esi + 8]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edi
call fcn.00402d60
call fcn.004056f0
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.00402d60
mov ecx, dword [esi + 0x10]
push ecx
call fcn.00405ec0
add esp, 0x10
test eax, eax
je case.default.0x40a2e2
mov edx, dword [0x48bf7c]
push 0
push 4
push edx
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
jmp case.default.0x40a2e2
mov ecx, edi
call fcn.00408350
mov esi, eax
test esi, esi
je case.default.0x40a2e2
cmp dword [esi], 7
jne 0x40a8b4
lea ecx, [esp + 0x20]
call fcn.00424bc0
push 0x46014c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x654], 0xa
call fcn.00401ab0
push 0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esi + 0xc]
push ecx
lea ebx, [esi + 8]
push ebx
lea ecx, [esp + 0x30]
mov byte [esp + 0x660], 0xb
call fcn.004251e0
lea ecx, [esp + 0x18]
mov ebp, eax
call fcn.00401560
lea ecx, [esp + 0x10]
call fcn.00401540
push ebp
lea edx, [esp + 0x14]
push 0x45a088
push edx
mov byte [esp + 0x65c], 0xc
call fcn.004030c0
mov eax, dword [0x48bf84]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [ebx]
add esp, 0xc
push eax
push ecx
push ebx
push 0x45a08c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push esi
mov ecx, edi
mov dword [esi + 0x10], ebp
call fcn.00409470
lea ecx, [esp + 0x10]
call fcn.00401560
lea ecx, [esp + 0x20]
mov dword [esp + 0x650], 0xffffffff
call fcn.00424850
jmp case.default.0x40a2e2
mov eax, dword [esi + 0x10]
or ebp, 0xffffffff
cmp eax, ebp
je 0x40a8ea
push 0
push 4
push 0x45ad8c
call fcn.00444462
cmp eax, 6
jne case.default.0x40a2e2
mov ecx, dword [esi + 0x10]
call fcn.0040a100
mov eax, ebp
cmp eax, ebp
mov dword [esi + 0x10], ebp
jne 0x40aaee
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 0x40aade
mov ecx, edi
call fcn.00408350
mov esi, eax
test esi, esi
je case.default.0x40a2e2
mov eax, dword [esi]
or ebp, 0xffffffff
cmp eax, 7
mov eax, dword [esi + 0x10]
jne 0x40a9e0
cmp eax, ebp
je 0x40a986
push 0
push 4
push 0x45ad6c
call fcn.00444462
cmp eax, 6
jne case.default.0x40a2e2
mov ecx, dword [0x48bf84]
mov eax, dword [esi + 8]
push ecx
push 0x80
lea edx, [esp + 0x5cc]
push edx
push 0x45a09c
push eax
push 0x45a08c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x5c4]
push eax
call fcn.00417a52
add esp, 4
mov ecx, eax
call fcn.0040a100
mov ecx, dword [esi + 0x10]
call fcn.0040a100
mov dword [esi + 0x10], ebp
lea ecx, [esp + 0x10]
call fcn.00401540
mov ecx, dword [esi + 0x10]
push ecx
lea edx, [esp + 0x14]
push 0x45a088
push edx
mov dword [esp + 0x65c], 0xd
call fcn.004030c0
mov eax, dword [0x48bf84]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi + 8]
add esp, 0xc
push eax
push ecx
push edx
push 0x45a08c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push esi
mov ecx, edi
call fcn.00409470
lea ecx, [esp + 0x10]
call fcn.00401560
jmp case.default.0x40a2e2
cmp eax, ebp
je 0x40aa28
push 0
push 4
push 0x45ad6c
call fcn.00444462
cmp eax, 6
jne case.default.0x40a2e2
mov eax, dword [esi]
push eax
push ecx
lea edx, [esi + 8]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.00402d60
call fcn.004056f0
add esp, 8
mov ecx, eax
call fcn.0040a100
mov ecx, dword [esi + 0x10]
call fcn.0040a100
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.00402d60
call fcn.00405840
add esp, 0xc
push esi
mov ecx, edi
call fcn.00409470
jmp case.default.0x40a2e2
call fcn.0044eedf
mov edi, dword [eax + 4]
push 1
push 0x45a730
push 0x45a730
mov ecx, edi
call fcn.0044fe8a
mov esi, eax
neg esi
sbb esi, esi
inc esi
push esi
call fcn.004061d0
add esp, 4
push esi
push 0x45a730
push 0x45a730
mov ecx, edi
call fcn.004459f0
jmp case.default.0x40a2e2
mov ecx, edi
call fcn.00408350
mov esi, eax
test esi, esi
je case.default.0x40a2e2
cmp dword [esi], 7
mov ecx, dword [esi + 0x10]
jne 0x40aac2
call fcn.0040a100
push 0x8006
mov ecx, edi
mov dword [esi + 0x10], 0xffffffff
call fcn.0040a2a0
jmp case.default.0x40a2e2
call fcn.0040a100
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.00402d60
call fcn.00406870
add esp, 0xc
mov dword [esi + 0x10], eax
push esi
mov ecx, edi
call fcn.00409470
jmp case.default.0x40a2e2
push 0
push 0
mov ecx, edi
call fcn.00408870
jmp case.default.0x40a2e2
push 0x40
push 3
call fcn.004091d0
add esp, 8
mov ecx, dword [esp + 0x648]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x644]
call fcn.00416c7b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x644
ret 4