Function at 0x40f1ac
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x442c12
call fcn.00420734
sub esp, 0x310
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x18], ebx
call fcn.00412b94
xor esi, esi
lea ecx, [ebx + 0x318]
mov dword [ebp - 4], esi
call fcn.00412b94
lea ecx, [ebx + 0x368]
call fcn.004040e1
lea ecx, [ebx + 0x36c]
mov byte [ebp - 4], 1
call fcn.004040e1
lea ecx, [ebx + 0x370]
mov byte [ebp - 4], 2
call fcn.004040e1
push 0x41
xor eax, eax
pop ecx
mov edi, 0x46042c
rep stosd dword es:[edi], eax
push esi
lea eax, [ebp - 0x218]
push esi
push eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 3
push eax
mov dword [ebx], 0x44752c
push dword [0x463dc4]
call fcn.00420c2c
push esi
lea eax, [ebp - 0x218]
push esi
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x31c]
push eax
call fcn.00420b9b
lea edi, [ebp - 0x31c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x28
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, 0x46042c
mov edx, ecx
mov esi, edi
mov edi, eax
push 7
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
mov esi, 0x4581e0
repne scasb al, byte es:[edi]
dec edi
pop ecx
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea eax, [ebx + 0x374]
push eax
movsb byte es:[edi], byte [esi]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 1
pop esi
mov dword [0x460530], esi
push 0x46042c
lea eax, [ebp - 0x118]
push 0x64
push eax
push 0x458200
push 0x458204
push 0x45820c
mov dword [ebx + 0xc8], 7
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x118]
push eax
call fcn.00421243
pop ecx
cmp eax, esi
lea ecx, [ebx + 0x3c8]
mov dword [ecx], eax
je 0x40f305
test eax, eax
je 0x40f305
push esi
push 0x458214
push 0x45821c
push ecx
mov ecx, ebx
call fcn.00410309
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, 0x46042c
push esi
lea eax, [ebp - 0x118]
push 0x64
push eax
push 0x458224
push 0x458228
push 0x458234
call edi
lea eax, [ebp - 0x118]
push eax
call fcn.00421243
pop ecx
cmp eax, 1
lea ecx, [ebx + 0x3cc]
mov dword [ecx], eax
je 0x40f35d
test eax, eax
je 0x40f35d
push 0
push 0x45823c
push 0x458248
push ecx
mov ecx, ebx
call fcn.00410309
push esi
lea eax, [ebp - 0x118]
push 0x64
push eax
push 0x458250
push 0x458254
push 0x458260
call edi
lea eax, [ebp - 0x118]
push eax
call fcn.00421243
pop ecx
cmp eax, 1
lea ecx, [ebx + 0x3d0]
mov dword [ecx], eax
je 0x40f3aa
test eax, eax
je 0x40f3aa
push 0
push 0x458268
push 0x458274
push ecx
mov ecx, ebx
call fcn.00410309
push esi
lea eax, [ebp - 0x118]
push 0xff
push eax
push 0x460534
push 0x45827c
push 0x458288
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edi, [ebp - 0x118]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x40f3fd
push 0xff0000
push 0x458294
lea eax, [ebx + 0xcc]
push 0x4582a0
push eax
mov ecx, ebx
call fcn.0041034b
jmp 0x40f410
lea eax, [ebp - 0x118]
push eax
call fcn.004211b8
pop ecx
mov dword [ebx + 0xcc], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push esi
push 5
push 0x4582ac
push 0x4582b8
call edi
lea ecx, [ebx + 0xd4]
cmp eax, 1
mov dword [ecx], eax
jl 0x40f437
cmp eax, 0xa
jle 0x40f44b
push 5
push 0x4582c4
push 0x4582d0
push ecx
mov ecx, ebx
call fcn.00410309
push esi
push 1
push 0x4582dc
push 0x4582e8
call edi
lea ecx, [ebx + 0xdc]
cmp al, 1
mov byte [ecx], al
je 0x40f47e
cmp al, 2
je 0x40f47e
push 1
push 0x4582f4
push 0x458300
push ecx
mov ecx, ebx
call fcn.0041038d
push esi
push 0
push 0x45830c
push 0x458318
call edi
lea ecx, [ebx + 0xe0]
cmp eax, 1
mov dword [ecx], eax
je 0x40f4b7
cmp eax, 2
je 0x40f4b7
test eax, eax
je 0x40f4b7
push 0
push 0x458324
push 0x458330
push ecx
mov ecx, ebx
call fcn.00410309
push esi
push 2
push 0x45833c
push 0x458348
call edi
lea ecx, [ebx + 0xe8]
cmp al, 1
mov byte [ecx], al
je 0x40f4ea
cmp al, 2
je 0x40f4ea
push 2
push 0x458354
push 0x458360
push ecx
mov ecx, ebx
call fcn.0041038d
push esi
push 0
push 0x45836c
push 0x45837c
call edi
lea ecx, [ebx + 0xe9]
cmp al, 1
mov byte [ecx], al
je 0x40f51d
test al, al
je 0x40f51d
push 0
push 0x458388
push 0x458398
push ecx
mov ecx, ebx
call fcn.0041038d
push esi
push 0x258
push 0x4583a4
push 0x4583b0
call edi
lea ecx, [ebx + 0xec]
cmp eax, 0xc8
mov dword [ecx], eax
jl 0x40f545
cmp eax, 0x7d0
jle 0x40f55c
push 0x258
push 0x4583bc
push 0x4583c8
push ecx
mov ecx, ebx
call fcn.00410309
push esi
push 0x12c
push 0x4583d4
push 0x4583e0
call edi
lea ecx, [ebx + 0xf4]
cmp eax, 0x64
mov dword [ecx], eax
jl 0x40f582
cmp eax, 0x5dc
jle 0x40f599
push 0x12c
push 0x4583ec
push 0x4583f8
push ecx
mov ecx, ebx
call fcn.00410309
push esi
push 0x1e0
push 0x458404
push 0x458410
call edi
lea ecx, [ebx + 0xe4]
test ax, 0x1e0
mov dword [ecx], eax
jne 0x40f5d0
push 0x1e0
push 0x45841c
push 0x458428
push ecx
mov ecx, ebx
call fcn.00410309
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
and dword [ebx + 0x3c4], 0
push esi
lea eax, [ebp - 0x118]
push 0x64
push eax
push 0x460538
push 0x458434
push 0x458444
call edi
lea eax, [ebp - 0x118]
push eax
call fcn.00421243
pop ecx
cmp eax, 1
lea ecx, [ebx + 0x3d4]
mov dword [ecx], eax
je 0x40f62a
test eax, eax
je 0x40f62a
push 0
push 0x458450
push 0x458460
push ecx
mov ecx, ebx
call fcn.00410309
push esi
lea eax, [ebp - 0x118]
push 0x64
push eax
push 0x46053c
push 0x45846c
push 0x45847c
call edi
lea eax, [ebp - 0x118]
push eax
call fcn.00421243
pop ecx
cmp eax, 1
lea ecx, [ebx + 0x3d8]
mov dword [ecx], eax
je 0x40f677
test eax, eax
je 0x40f677
push 0
push 0x458488
push 0x458498
push ecx
mov ecx, ebx
call fcn.00410309
push esi
lea eax, [ebp - 0x118]
push 0x64
push eax
push 0x460540
push 0x4584a4
push 0x4584b4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x118]
push eax
call fcn.00421243
pop ecx
mov dword [ebx + 0x3dc], eax
lea edi, [ebp - 0x118]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x40f6d5
push 1
push 0x4584c0
lea eax, [ebx + 0x3dc]
push 0x4584d0
push eax
mov ecx, ebx
call fcn.00410309
mov ecx, dword [ebx + 0xe4]
mov eax, 0x1e0
mov edx, ecx
and edx, eax
cmp edx, eax
jne 0x40f6ee
inc dword [ebx + 0x3c4]
mov eax, ecx
and eax, 6
cmp al, 6
jne 0x40f6fd
inc dword [ebx + 0x3c4]
mov eax, ecx
and eax, 1
cmp al, 1
jne 0x40f70c
inc dword [ebx + 0x3c4]
and ecx, 8
cmp cl, 8
jne 0x40f71a
inc dword [ebx + 0x3c4]
push esi
lea eax, [ebp - 0x118]
push 0x64
push eax
push 0x4584dc
push 0x4584e0
push 0x4584ec
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x118]
push eax
call fcn.00421243
pop ecx
mov dword [ebx + 0x364], eax
lea ecx, [ebx + 0x364]
test eax, eax
jne 0x40f772
push esi
push 0x4584f8
push str.PenTimes
push 0x458508
mov dword [ecx], 0x1e
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push esi
push 2
push 0x458514
push 0x458520
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea ecx, [ebx + 0xeb]
cmp al, 1
mov byte [ecx], al
je 0x40f7ad
cmp al, 2
je 0x40f7ad
cmp al, 4
je 0x40f7ad
push 2
push 0x45852c
push 0x458538
push ecx
mov ecx, ebx
call fcn.0041038d
push esi
lea eax, [ebp - 0x118]
push 0xff
push eax
push 0x460544
push 0x458544
push 0x458550
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edi, [ebp - 0x118]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x40f800
push 0xc0c0c0
push 0x458558
lea eax, [ebx + 0xf8]
push 0x458564
push eax
mov ecx, ebx
call fcn.0041034b
jmp 0x40f813
lea eax, [ebp - 0x118]
push eax
call fcn.004211b8
pop ecx
mov dword [ebx + 0xf8], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push esi
push 2
push 0x45856c
push 0x458578
call edi
lea ecx, [ebx + 0xfc]
cmp al, 1
mov byte [ecx], al
je 0x40f850
cmp al, 2
je 0x40f850
cmp al, 4
je 0x40f850
push 2
push 0x458580
push 0x45858c
push ecx
mov ecx, ebx
call fcn.0041038d
push esi
push 0
push 0x458594
push 0x4585a0
call edi
lea ecx, [ebx + 0xfd]
cmp al, 1
mov byte [ecx], al
je 0x40f883
test al, al
je 0x40f883
push 0
push 0x4585a8
push 0x4585b4
push ecx
mov ecx, ebx
call fcn.0041038d
push esi
push 0xffffffffffffffff
push str.InitX
push 0x4585c4
call edi
push esi
push 0xffffffffffffffff
push str.InitY
push 0x4585d4
mov dword [ebx + 0x100], eax
call edi
mov ecx, dword [ebx + 0x100]
mov dword [ebx + 0x104], eax
cmp ecx, dword [ebx + 0x374]
jl 0x40f8d3
cmp eax, dword [ebx + 0x378]
jl 0x40f8d3
cmp ecx, dword [ebx + 0x37c]
jg 0x40f8d3
cmp eax, dword [ebx + 0x380]
jle 0x40f8eb
mov eax, dword [ebx + 0x37c]
cdq
sub eax, edx
sar eax, 1
and dword [ebx + 0x104], 0
mov dword [ebx + 0x100], eax
push esi
push 0
push 0x4585dc
push 0x4585e4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea edi, [ebx + 0x109]
push esi
push 0xff
push edi
push 0x4585fc
push 0x458624
push 0x458638
mov byte [ebx + 0x108], al
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x40f956
mov edi, str.0_1_2_3_4_5_6_7_8_9_10_11_12_13_14_15
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
lea edi, [ebx + 0x109]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebx + 0x208]
push 0x46042c
push 0xff
push eax
push 0x458668
push 0x458674
push str.Flybar
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edi, str.0_1_5_15
or ecx, 0xffffffff
xor eax, eax
push 0x46042c
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 1
mov eax, ecx
mov esi, edi
lea edi, [ebx + 0x208]
push 0x458694
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0x4586a0
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 1
mov dword [ebx + 0x308], eax
je 0x40f9e2
test eax, eax
je 0x40f9e2
push 1
push 0x4586a8
lea eax, [ebx + 0x108]
push 0x4586b4
push eax
mov ecx, ebx
call fcn.0041038d
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov esi, 0x46042c
push esi
push 0
push 0x4586bc
push 0x4586d0
call edi
push esi
push 0
push 0x4586d8
push 0x4586e4
mov dword [ebx + 0x30c], eax
call edi
lea ecx, [ebx + 0x310]
test al, al
mov byte [ecx], al
je 0x40fa35
cmp al, 1
je 0x40fa35
push 0
push 0x4586ec
push 0x4586f8
push ecx
mov ecx, ebx
call fcn.0041038d
push esi
push 1
push 0x458700
push 0x45870c
call edi
lea ecx, [ebx + 0x311]
test al, al
mov byte [ecx], al
je 0x40fa68
cmp al, 1
je 0x40fa68
push 1
push str.LearnFlag
push 0x458720
push ecx
mov ecx, ebx
call fcn.0041038d
push esi
push 1
push 0x458728
push 0x458734
call edi
movzx eax, al
lea ecx, [ebx + 0x360]
cmp eax, 1
mov dword [ecx], eax
je 0x40fa9f
test eax, eax
je 0x40fa9f
push 1
push 0x45873c
push 0x458748
push ecx
mov ecx, ebx
call fcn.00410309
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push esi
lea eax, [ebp - 0x118]
push 0x64
push eax
push 0x458750
push 0x458754
push 0x458764
call edi
lea eax, [ebp - 0x118]
push eax
call fcn.00421243
test eax, eax
pop ecx
mov dword [ebx + 0x398], eax
jne 0x40fb23
push esi
lea eax, [ebp - 0x118]
push 0x64
push eax
push 0x458770
push 0x458774
push 0x458780
call edi
lea eax, [ebp - 0x118]
push eax
call fcn.00421243
pop ecx
mov dword [ebx + 0x394], eax
lea ecx, [ebx + 0x394]
test eax, eax
jne 0x40fb23
push 1
push 0x45878c
push 0x45879c
push ecx
mov ecx, ebx
call fcn.00410309
push esi
lea eax, [ebp - 0x118]
push 0x64
push eax
push 0x4587a8
push 0x4587ac
push 0x4587b4
call edi
lea eax, [ebp - 0x118]
push eax
call fcn.00421243
cmp eax, 1
pop ecx
mov dword [ebx + 0x3a4], eax
je 0x40fb74
test eax, eax
je 0x40fb74
push 1
push 0x4587c0
lea eax, [ebx + 0x394]
push 0x4587c8
push eax
mov ecx, ebx
call fcn.00410309
push esi
lea eax, [ebp - 0x118]
push 0x64
push eax
push 0x4587d4
push 0x4587d8
push 0x4587e4
call edi
lea eax, [ebp - 0x118]
push eax
call fcn.00421243
pop ecx
mov dword [ebx + 0x3ac], eax
push esi
lea eax, [ebp - 0x118]
push 0x64
push eax
push 0x4587f0
push 0x4587f4
push 0x458804
call edi
lea eax, [ebp - 0x118]
push eax
call fcn.00421243
pop ecx
mov dword [ebx + 0x3b0], eax
push esi
lea eax, [ebp - 0x118]
push 0x64
push eax
push 0x458810
push 0x458814
push 0x45881c
call edi
lea eax, [ebp - 0x118]
push eax
call fcn.00421243
cmp dword [ebx + 0x3ac], 0
pop ecx
lea ecx, [ebx + 0x3b4]
mov dword [ecx], eax
jne 0x40fc2e
cmp dword [ebx + 0x3b0], 0
jne 0x40fc2e
test eax, eax
jne 0x40fc2e
push 1
pop eax
push eax
push 0x458828
push 0x458830
mov dword [ecx], eax
push ecx
mov ecx, ebx
call fcn.00410309
push esi
push 1
push 0x45883c
push 0x458848
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea ecx, [ebx + 0x314]
test eax, eax
mov dword [ecx], eax
je 0x40fc66
cmp eax, 1
je 0x40fc66
push 1
push str.DisplayBoardWnd
push 0x458860
push ecx
mov ecx, ebx
call fcn.00410309
push esi
lea eax, [ebp - 0x118]
push 0xa
push eax
push 0x458868
push 0x45886c
push 0x458878
call edi
lea eax, [ebp - 0x118]
push eax
call fcn.00421243
pop ecx
mov dword [ebx + 0x318], eax
push esi
lea eax, [ebp - 0x118]
push 0xa
push eax
push 0x458888
push 0x45888c
push 0x458898
call edi
lea eax, [ebp - 0x118]
push eax
call fcn.00421243
pop ecx
mov dword [ebx + 0x31c], eax
push esi
lea eax, [ebp - 0x118]
push 0xa
push eax
push 0x4588a8
push 0x4588ac
push 0x4588b8
call edi
lea eax, [ebp - 0x118]
push eax
call fcn.00421243
add eax, dword [ebx + 0x318]
pop ecx
push esi
push 0xa
mov dword [ebx + 0x320], eax
lea eax, [ebp - 0x118]
push eax
push 0x4588c8
push 0x4588cc
push 0x4588d8
call edi
mov eax, dword [ebx + 0x31c]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x118]
push eax
call fcn.00421243
add eax, dword [ebp - 0x10]
pop ecx
mov dword [ebx + 0x324], eax
mov eax, dword [ebx + 0x318]
cmp eax, dword [ebx + 0x374]
jl 0x40fd59
cmp eax, dword [ebx + 0x37c]
jg 0x40fd59
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebx + 0x378]
jl 0x40fd59
cmp eax, dword [ebx + 0x380]
jle 0x40fd7b
mov eax, dword [ebx + 0x37c]
cdq
sub eax, edx
sar eax, 1
mov dword [ebx + 0x318], eax
mov eax, dword [ebx + 0x380]
cdq
sub eax, edx
sar eax, 1
mov dword [ebx + 0x31c], eax
lea ecx, [ebx + 0x318]
call fcn.004016d7
cmp eax, 0xa
jle 0x40fdc1
lea ecx, [ebx + 0x318]
call fcn.004016d7
cmp eax, dword [ebx + 0x37c]
jg 0x40fdc1
lea ecx, [ebx + 0x318]
call fcn.004016dd
cmp eax, 0xa
jle 0x40fdc1
lea ecx, [ebx + 0x318]
call fcn.004016dd
cmp eax, dword [ebx + 0x380]
jle 0x40fde3
mov eax, dword [ebx + 0x318]
add eax, 0x12c
mov dword [ebx + 0x320], eax
mov eax, dword [ebx + 0x31c]
add eax, 0xc8
mov dword [ebx + 0x324], eax
push esi
lea eax, [ebp - 0x118]
push 0xa
push eax
push 0x4588e8
push 0x4588ec
push 0x4588f8
call edi
lea eax, [ebp - 0x118]
push eax
call fcn.00421243
pop ecx
mov dword [ebx + 0x328], eax
lea ecx, [ebx + 0x328]
test eax, eax
je 0x40fe34
cmp eax, 1
je 0x40fe34
push 1
push 0x458908
push 0x458914
push ecx
mov ecx, ebx
call fcn.00410309
and dword [ebx + 0x32c], 0
push esi
lea eax, [ebp - 0x118]
push 0xa
push eax
push 0x458924
push 0x458928
push 0x458934
call edi
lea eax, [ebp - 0x118]
push eax
call fcn.00421243
pop ecx
mov dword [ebx + 0x330], eax
push esi
lea eax, [ebp - 0x118]
push 0xa
push eax
push 0x458944
push 0x458948
push 0x458954
call edi
lea eax, [ebp - 0x118]
push eax
call fcn.00421243
pop ecx
cmp eax, 1
lea ecx, [ebx + 0x334]
mov dword [ecx], eax
jl 0x40fea3
cmp eax, 3
jle 0x40feb7
push 2
push 0x45895c
push 0x458968
push ecx
mov ecx, ebx
call fcn.00410309
push esi
lea eax, [ebp - 0x118]
push 0xa
push eax
push 0x458970
push 0x458974
push 0x458984
call edi
lea eax, [ebp - 0x118]
push eax
call fcn.00421243
pop ecx
mov dword [ebx + 0x338], eax
lea ecx, [ebx + 0x338]
test eax, eax
jl 0x40fef4
cmp eax, 0xf
jle 0x40ff08
push 0xc
push 0x45898c
push 0x45899c
push ecx
mov ecx, ebx
call fcn.00410309
push esi
lea eax, [ebp - 0x118]
push 0xa
push eax
push 0x4589a4
push 0x4589a8
push 0x4589b0
call edi
lea eax, [ebp - 0x118]
push eax
call fcn.00421243
test eax, eax
pop ecx
mov dword [ebx + 0x33c], eax
jl 0x40ff3f
cmp eax, 5
jle 0x40ff59
push 0
push 0x4589b8
lea eax, [ebx + 0x33c]
push 0x4589c0
push eax
mov ecx, ebx
call fcn.00410309
push esi
lea eax, [ebp - 0x118]
push 0xa
push eax
push 0x4589c8
push 0x4589cc
push 0x4589dc
call edi
lea eax, [ebp - 0x118]
push eax
call fcn.00421243
test eax, eax
pop ecx
mov dword [ebx + 0x340], eax
jl 0x40ff94
cmp dword [ebx + 0x33c], 0x19
jle 0x40ffae
push 0
push 0x4589e8
lea eax, [ebx + 0x33c]
push 0x4589f8
push eax
mov ecx, ebx
call fcn.00410309
push esi
push 0
push 0x458a04
push 0x458a10
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea ecx, [ebx + 0x344]
test eax, eax
mov dword [ecx], eax
je 0x40ffe6
cmp eax, 1
je 0x40ffe6
push 0
push 0x458a1c
push 0x458a28
push ecx
mov ecx, ebx
call fcn.00410309
push esi
lea eax, [ebp - 0x118]
push 0x64
push eax
push 0x458a34
push 0x458a38
push 0x458a44
call edi
lea eax, [ebp - 0x118]
push eax
call fcn.00421243
pop ecx
mov dword [ebx + 0x34c], eax
lea ecx, [ebx + 0x34c]
test eax, eax
je 0x410037
cmp eax, 1
je 0x410037
push 1
push 0x458a50
push 0x458a5c
push ecx
mov ecx, ebx
call fcn.00410309
push esi
lea eax, [ebp - 0x118]
push 0x64
push eax
push 0x458a68
push 0x458a6c
push 0x458a7c
call edi
lea eax, [ebp - 0x118]
push eax
call fcn.00421243
pop ecx
mov dword [ebx + 0x354], eax
lea ecx, [ebx + 0x354]
test eax, eax
je 0x410088
cmp eax, 1
je 0x410088
push 1
push 0x458a88
push 0x458a98
push ecx
mov ecx, ebx
call fcn.00410309
push esi
lea eax, [ebp - 0x118]
push 0x64
push eax
push 0x458aa4
push 0x458aa8
push 0x458ac0
call edi
lea eax, [ebp - 0x118]
push eax
call fcn.00421243
pop ecx
mov dword [ebx + 0x358], eax
lea ecx, [ebx + 0x358]
test eax, eax
je 0x4100d9
cmp eax, 1
je 0x4100d9
push 1
push 0x458acc
push 0x458ae4
push ecx
mov ecx, ebx
call fcn.00410309
push esi
lea eax, [ebp - 0x118]
push 0x64
push eax
push 0x458af0
push 0x458af4
push 0x458b00
call edi
lea eax, [ebp - 0x118]
push eax
call fcn.00421243
pop ecx
mov dword [ebx + 0x348], eax
lea ecx, [ebx + 0x348]
test eax, eax
je 0x41012f
cmp eax, 1
je 0x41012f
cmp eax, 2
je 0x41012f
push 0
push 0x458b0c
push 0x458b18
push ecx
mov ecx, ebx
call fcn.00410309
push esi
lea eax, [ebp - 0x118]
push 0x64
push eax
push 0x458b24
push 0x458b28
push 0x458b34
call edi
lea eax, [ebp - 0x118]
push eax
call fcn.00421243
pop ecx
mov dword [ebx + 0x35c], eax
lea ecx, [ebx + 0x35c]
test eax, eax
je 0x410180
cmp eax, 1
je 0x410180
push 0
push 0x458b40
push 0x458b4c
push ecx
mov ecx, ebx
call fcn.00410309
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push esi
push 0x96
push 0x458b58
push 0x458b64
call edi
cmp eax, 0xa
mov dword [ebx + 0x384], eax
jl 0x4101aa
cmp eax, 0x2710
jle 0x4101c7
push 0x96
push 0x458b70
lea eax, [ebx + 0x384]
push 0x458b7c
push eax
mov ecx, ebx
call fcn.00410309
push esi
push 0x15e
push 0x458b88
push 0x458b94
call edi
mov dword [ebx + 0x388], eax
mov eax, dword [ebx + 0x384]
cmp eax, 0xa
jl 0x4101f1
cmp eax, 0x2710
jle 0x41020e
push 0x15e
push 0x458ba0
lea eax, [ebx + 0x384]
push 0x458bac
push eax
mov ecx, ebx
call fcn.00410309
push esi
push 0x514
push 0x458bb8
push 0x458bc4
call edi
cmp eax, 0xa
mov dword [ebx + 0x38c], eax
jl 0x410232
cmp eax, 0x4e20
jle 0x41024f
push 0x514
push 0x458bd0
lea eax, [ebx + 0x384]
push 0x458bdc
push eax
mov ecx, ebx
call fcn.00410309
push esi
mov esi, 0x3e8
push esi
push 0x458be8
push 0x458bf4
call edi
cmp eax, 0xa
mov dword [ebx + 0x390], eax
jl 0x410274
cmp eax, 0x4e20
jle 0x41028d
push esi
push 0x458c00
lea eax, [ebx + 0x384]
push 0x458c0c
push eax
mov ecx, ebx
call fcn.00410309
mov ecx, ebx
call fcn.004103d2
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret