Function at 0x40c3e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53d8fd
mov eax, dword fs:[0]
push eax
sub esp, 0x5d4
mov eax, dword [0x580280]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5d8], ecx
push 0x104
push 0
lea eax, [ebp - 0x354]
push eax
call fcn.00486c20
add esp, 0xc
push 0x50
call fcn.0047b43a
add esp, 4
mov dword [ebp - 0x5a4], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x5a4], 0
je 0x40c45a
mov ecx, dword [ebp - 0x5a4]
call fcn.00459160
mov dword [ebp - 0x5dc], eax
jmp 0x40c464
mov dword [ebp - 0x5dc], 0
mov ecx, dword [ebp - 0x5dc]
mov dword [ebp - 0x5a0], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x5a0]
mov dword [ebp - 0x22c], edx
call fcn.004058c0
mov ecx, eax
call fcn.00447800
mov dword [ebp - 0x228], eax
mov byte [ebp - 0x224], 0
push 0x103
push 0
lea eax, [ebp - 0x223]
push eax
call fcn.00486c20
add esp, 0xc
lea ecx, [ebp - 0x224]
push ecx
mov edx, dword [ebp - 0x228]
push edx
call fcn.0044a710
add esp, 8
mov byte [ebp - 0x11c], 0
push 0x103
push 0
lea eax, [ebp - 0x11b]
push eax
call fcn.00486c20
add esp, 0xc
mov byte [ebp - 0x45c], 0
push 0x103
push 0
lea ecx, [ebp - 0x45b]
push ecx
call fcn.00486c20
add esp, 0xc
lea edx, [ebp - 0x224]
push edx
lea eax, [ebp - 0x45c]
push eax
call fcn.00486b10
add esp, 8
push 0x54a9dc
lea ecx, [ebp - 0x45c]
push ecx
call fcn.00486b20
add esp, 8
lea edx, [ebp - 0x45c]
push edx
push 0x104
lea eax, [ebp - 0x11c]
push eax
push 0x54a9ec
push 0x54a9fc
push 0x54aa0c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x54aa18
lea ecx, [ebp - 0x248]
call fcn.00405f30
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x11c]
push ecx
lea ecx, [ebp - 0x248]
call fcn.00404280
push 0x54aa20
lea ecx, [ebp - 0x248]
call fcn.00404280
push 0x54aa24
lea ecx, [ebp - 0x248]
call fcn.00404280
push 0x54aa30
lea ecx, [ebp - 0x248]
call fcn.00404280
push str.tongbu_select
lea ecx, [ebp - 0x248]
call fcn.00404280
call fcn.004058c0
mov ecx, eax
call fcn.004478c0
push eax
lea ecx, [ebp - 0x4f8]
call fcn.00401280
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x5d8]
mov eax, dword [edx + 4]
push eax
push 0x54aa44
lea ecx, [ebp - 0x594]
push ecx
call fcn.00487ebf
add esp, 0xc
lea ecx, [ebp - 0x4f8]
call fcn.004012c0
push eax
push 0
lea edx, [ebp - 0x594]
push edx
push 0x54aa50
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x4dc], eax
lea ecx, [ebp - 0x4d0]
call fcn.00404140
mov byte [ebp - 4], 3
push 0x54a19f
lea ecx, [ebp - 0x494]
call fcn.00404490
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x5d8]
mov ecx, dword [eax + 4]
push ecx
push 0x54aa78
lea edx, [ebp - 0x494]
push edx
call fcn.00405a00
add esp, 0xc
push 0x54aa7c
lea ecx, [ebp - 0x4d0]
call fcn.00405fd0
lea ecx, [ebp - 0x494]
call fcn.00404550
push eax
lea ecx, [ebp - 0x4b4]
call fcn.00405fd0
lea eax, [ebp - 0x4d0]
push eax
mov ecx, dword [ebp - 0x22c]
call fcn.004593c0
push 0x54aa80
lea ecx, [ebp - 0x4d0]
call fcn.00405fd0
push 0x54aa88
lea ecx, [ebp - 0x4b4]
call fcn.00405fd0
lea ecx, [ebp - 0x4d0]
push ecx
mov ecx, dword [ebp - 0x22c]
call fcn.004593c0
push str.update
lea ecx, [ebp - 0x4d0]
call fcn.00405fd0
mov edx, dword [ebp - 0x4dc]
push edx
push 0x54aa98
lea eax, [ebp - 0x354]
push eax
call fcn.00487c8c
add esp, 0xc
lea ecx, [ebp - 0x354]
push ecx
lea ecx, [ebp - 0x4b4]
call fcn.00405fd0
lea edx, [ebp - 0x4d0]
push edx
mov ecx, dword [ebp - 0x22c]
call fcn.004593c0
push 0
call fcn.0040cb30
add esp, 4
mov dword [ebp - 0x474], eax
mov dword [ebp - 0x470], edx
lea ecx, [ebp - 0x4fc]
call fcn.00402870
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x470]
push eax
mov ecx, dword [ebp - 0x474]
push ecx
push 0x54aa9c
lea edx, [ebp - 0x4fc]
push edx
call fcn.00405a00
add esp, 0x10
push 0x54aaa0
lea ecx, [ebp - 0x4d0]
call fcn.00405fd0
lea ecx, [ebp - 0x4fc]
call fcn.00404550
push eax
lea ecx, [ebp - 0x4b4]
call fcn.00405fd0
lea eax, [ebp - 0x4d0]
push eax
mov ecx, dword [ebp - 0x22c]
call fcn.004593c0
lea ecx, [ebp - 0x498]
call fcn.00402870
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x5d8]
mov edx, dword [ecx + 4]
push edx
push 0x54aaa8
lea eax, [ebp - 0x498]
push eax
call fcn.00405a00
add esp, 0xc
lea ecx, [ebp - 0x4fc]
push ecx
lea ecx, [ebp - 0x498]
call fcn.00404510
push 0x54aaac
lea ecx, [ebp - 0x498]
call fcn.00404530
lea ecx, [ebp - 0x498]
call fcn.00404550
push eax
lea ecx, [ebp - 0x5c0]
call fcn.00405f30
mov byte [ebp - 4], 7
lea edx, [ebp - 0x5c0]
push edx
lea ecx, [ebp - 0x56c]
call fcn.00452f60
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x5c0]
call fcn.00405fb0
lea eax, [ebp - 0x490]
push eax
lea ecx, [ebp - 0x56c]
call fcn.004543b0
mov byte [ebp - 4], 8
push 0x54aadc
lea ecx, [ebp - 0x4d0]
call fcn.00405fd0
lea ecx, [ebp - 0x490]
push ecx
lea ecx, [ebp - 0x4b4]
call fcn.00404260
lea edx, [ebp - 0x4d0]
push edx
mov ecx, dword [ebp - 0x22c]
call fcn.004593c0
push 0x54aae4
lea ecx, [ebp - 0x4d0]
call fcn.00405fd0
push 0x54aae8
lea ecx, [ebp - 0x4b4]
call fcn.00405fd0
lea eax, [ebp - 0x4d0]
push eax
mov ecx, dword [ebp - 0x22c]
call fcn.004593c0
lea ecx, [ebp - 0x248]
call fcn.00405ff0
push eax
mov ecx, dword [ebp - 0x22c]
call fcn.004593e0
mov ecx, dword [ebp - 0x22c]
call fcn.00459620
mov dword [ebp - 0x460], eax
mov ecx, dword [ebp - 0x460]
call fcn.00404120
mov dword [ebp - 0x468], eax
mov ecx, dword [ebp - 0x468]
call fcn.00404470
mov dword [ebp - 0x464], eax
cmp dword [ebp - 0x464], 0
jne 0x40c8fc
mov dword [ebp - 0x464], 1
mov ecx, dword [ebp - 0x464]
push ecx
call fcn.0047b469
add esp, 4
mov dword [ebp - 0x5c4], eax
mov edx, dword [ebp - 0x5c4]
mov dword [ebp - 0x4d4], edx
mov eax, dword [ebp - 0x464]
push eax
push 0
mov ecx, dword [ebp - 0x4d4]
push ecx
call fcn.00486c20
add esp, 0xc
mov dword [ebp - 0x4d8], 0
mov byte [ebp - 0x56d], 0
mov dword [ebp - 0x598], 0
jmp 0x40c961
mov edx, dword [ebp - 0x598]
add edx, 1
mov dword [ebp - 0x598], edx
mov ecx, dword [ebp - 0x468]
call fcn.00404470
cmp dword [ebp - 0x598], eax
jae 0x40c9a4
mov eax, dword [ebp - 0x598]
push eax
mov ecx, dword [ebp - 0x468]
call fcn.0045d9c0
mov cl, byte [eax]
mov byte [ebp - 0x599], cl
mov edx, dword [ebp - 0x4d4]
add edx, dword [ebp - 0x598]
mov al, byte [ebp - 0x599]
mov byte [edx], al
jmp 0x40c952
mov ecx, dword [ebp - 0x4d4]
push ecx
mov ecx, dword [ebp - 0x5d8]
call fcn.0040af20
cmp dword [ebp - 0x4d4], 0
je 0x40c9e4
mov edx, dword [ebp - 0x4d4]
mov dword [ebp - 0x5c8], edx
mov eax, dword [ebp - 0x5c8]
push eax
call fcn.0047b474
add esp, 4
mov dword [ebp - 0x4d4], 0
push 0
push 0x54aaec
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x574], eax
push 0xc8
push 0
push 0x1f59
mov ecx, dword [ebp - 0x574]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
push 0
push 0x1f5a
mov edx, dword [ebp - 0x574]
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
cmp dword [ebp - 0x22c], 0
je 0x40ca80
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x5d0], eax
mov ecx, dword [ebp - 0x5d0]
mov dword [ebp - 0x5cc], ecx
cmp dword [ebp - 0x5cc], 0
je 0x40ca6c
push 1
mov edx, dword [ebp - 0x5cc]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x5cc]
mov edx, dword [eax]
call edx
mov dword [ebp - 0x5e0], eax
jmp 0x40ca76
mov dword [ebp - 0x5e0], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x5d4], 1
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x490]
call fcn.00405fb0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x498]
call fcn.00402890
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4fc]
call fcn.00402890
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x494]
call fcn.00402890
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4d0]
call fcn.00412760
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4f8]
call fcn.00406040
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.00405fb0
mov eax, dword [ebp - 0x5d4]
jmp 0x40cb10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00486c08
mov esp, ebp
pop ebp
ret