Function at 0x1004fe40
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x37c
mov eax, dword [0x100a609c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0xc8
mov dword [ebp - 0x360], eax
lea eax, [ebp - 0xcc]
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x35c], esi
call sub.MSVCR100.dll_memset
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 0xc
push esi
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D2CHECK1
mov ebx, str.config
push ebx
call edi
mov esi, dword [sym.imp.MSVCR100.dll_atoi]
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x35c]
mov dword [0x103c3d0c], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D2CHECK2
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x35c]
mov dword [0x103c3d10], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D2CHECK3
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x35c]
mov dword [0x103c3d14], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D2CHECK4
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x35c]
mov dword [0x103c3d18], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D2CHECK5
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
mov dword [0x103c3d1c], eax
push dword [ebp - 0x35c]
lea eax, [ebp - 0xcc]
push 0x64
push eax
push 0x1008b588
push str.D2CHECK6
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x35c]
mov dword [0x103c3d20], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D2CHECK7
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x35c]
mov dword [0x103c3dec], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D2CHECK8
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x35c]
mov dword [0x103c3dd0], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D2CHECK9
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x35c]
mov dword [0x103c3de0], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D2CHECK10
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x35c]
mov dword [0x103c3ec0], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D2CHECK11
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x35c]
mov dword [0x103c3ebc], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D2CHECK12
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x35c]
mov dword [0x103c4080], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D2CHECK13
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x35c]
mov dword [0x103c3ea4], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D2CHECK14
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x35c]
mov dword [0x103c3de8], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D2CHECK15
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x35c]
mov dword [0x103c3eb4], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D2CHECK16
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x35c]
mov dword [0x103c3eb8], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D2CHECK17
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x35c]
mov dword [0x103c3de4], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D2CHECK18
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x35c]
mov dword [0x103c3eb0], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D2CHEC19
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x35c]
mov dword [0x103c3eac], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D2CHECK20
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x35c]
mov dword [0x103c3ea8], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D2CHECK21
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x35c]
mov dword [0x103c3f38], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D2CHECK22
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x35c]
mov dword [0x103c52c4], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D2CHECK23
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x35c]
mov dword [0x103c3fe8], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D2CHECK24
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x35c]
mov dword [0x103c5428], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D2CHECK27
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x35c]
mov dword [0x103c4084], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str._UseToPKGood
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x35c]
mov dword [0x1035ffb8], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D2COMBO1
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
mov ecx, 0x103c3c78
mov dword [0x103c4078], eax
mov dword [esp], 0xbb8
call dword [sym.imp.mfc100.dll_Ordinal_4785]
push 0
push dword [0x103c4078]
push 0x14e
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x14b
push dword [0x103c3d44]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x1008d2cc
push 0
push 0x143
push dword [0x103c3d44]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x1008d2d4
push 0
push 0x143
push dword [0x103c3d44]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x1008d2e0
push 0
push 0x143
push dword [0x103c3d44]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x1008d2ec
push 0
push 0x143
push dword [0x103c3d44]
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 0x35c]
lea eax, [ebp - 0xcc]
push 0x64
push eax
push 0x1008b588
push str._D2COMBO3
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.MSVCR100.dll_strlen]
pop ecx
test eax, eax
je 0x100503f6
lea eax, [ebp - 0xcc]
push eax
push 0
push 0x143
push dword [0x103c3d44]
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 0x35c]
lea eax, [ebp - 0xcc]
push 0x64
push eax
push 0x1008b588
push str.D2COMBO3
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
mov ecx, 0x103c3c78
mov dword [0x103c407c], eax
mov dword [esp], 0xbba
call dword [sym.imp.mfc100.dll_Ordinal_4785]
push 0
push dword [0x103c407c]
push 0x14e
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 0x35c]
lea eax, [ebp - 0xcc]
push 0x64
push eax
push 0x1008b588
push str.D2COMBO4
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
mov ecx, 0x103c3c78
mov dword [0x103c3e9c], eax
mov dword [esp], 0xbbb
call dword [sym.imp.mfc100.dll_Ordinal_4785]
push 0
push dword [0x103c3e9c]
push 0x14e
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 0x35c]
lea eax, [ebp - 0xcc]
push 0x64
push eax
push 0x1008b588
push str.D2COMBO5
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
mov ecx, 0x103c3c78
mov dword [0x103c3ea0], eax
mov dword [esp], 0xbbc
call dword [sym.imp.mfc100.dll_Ordinal_4785]
push 0
push dword [0x103c3ea0]
push 0x14e
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 0x35c]
lea eax, [ebp - 0xcc]
push 0x64
push eax
push 0x1008ade4
push str.D2COMBO6
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.MSVCR100.dll_strlen]
pop ecx
cmp eax, 1
jbe 0x1005052d
lea eax, [ebp - 0xcc]
push eax
mov ecx, 0x103c52cc
call dword [sym.imp.mfc100.dll_Ordinal_12868]
push dword [ebp - 0x35c]
lea eax, [ebp - 0xcc]
push 0x64
push eax
push 0x1008d0ec
push str.D2COMBO7
push ebx
call edi
push 0xbbe
mov ecx, 0x103c3c78
call dword [sym.imp.mfc100.dll_Ordinal_4785]
push 0
push 0
push 0x14b
push dword [eax + 0x20]
mov dword [ebp - 0x364], eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0xcc]
push eax
mov eax, dword [ebp - 0x364]
push 0
push 0x143
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x364]
push 0
push 0
push 0x14e
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 0x35c]
lea eax, [ebp - 0xcc]
push 0x64
push eax
push 0x1008b588
push str.D2COMBO8
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x35c]
mov dword [0x103c5424], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D2EDIT1
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x35c]
mov dword [ebp - 0x374], eax
fild dword [ebp - 0x374]
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
fstp dword [0x103c3dd8]
push str.D2EDIT2
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x35c]
mov dword [ebp - 0x374], eax
fild dword [ebp - 0x374]
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
fstp dword [0x103c3ddc]
push str.red_x
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x35c]
mov dword [0x10112760], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.red_y
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x35c]
mov dword [0x1011275c], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.blue_x
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x35c]
mov dword [0x10112758], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.blue_y
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x35c]
mov dword [0x10112754], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D2EDIT3
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x35c]
mov dword [0x103c3dd4], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D2EDIT5
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
mov ecx, 0x103c3ec4
call dword [sym.imp.mfc100.dll_Ordinal_12868]
push dword [ebp - 0x35c]
lea eax, [ebp - 0xcc]
push 0x64
push eax
push 0x1009a774
push str.D2EDIT6
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x35c]
mov dword [0x103c4290], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b58c
push str.D2EDIT7
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x35c]
mov dword [0x103c4294], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b578
push str.D2EDIT8
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x35c]
mov dword [0x103c4298], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D2EDIT9
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x35c]
mov dword [0x103c429c], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D2EDIT10
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x35c]
mov dword [0x103c52c8], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.SF_GJ_X
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x35c]
mov dword [0x10112750], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.SF_GJ_D
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x35c]
mov dword [0x1011274c], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.SF_A
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
mov esi, dword [ebp - 0x360]
pop ecx
push dword [ebp - 0x35c]
mov dword [0x10112748], eax
push 0xbb8
push esi
push 0x1008ade4
push str.D2LIST1
push ebx
mov byte [esi], 0
call edi
push 0
push 0
push 0x1009
push dword [0x103c5270]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x100938e0
push esi
mov esi, dword [sym.imp.MSVCR100.dll_strtok]
jmp 0x10050919
push 0
push 0
push 0x1004
push dword [0x103c5270]
call dword [sym.imp.USER32.dll_SendMessageA]
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push dword [ebp - 0x368]
mov ecx, 0x103c5250
push eax
push 1
call dword [sym.imp.mfc100.dll_Ordinal_7211]
push 0x100938e0
push 0
call esi
pop ecx
mov dword [ebp - 0x368], eax
pop ecx
test eax, eax
jne 0x100508e3
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
xor eax, eax
push eax
push eax
push 0x1004
push dword [0x103c5270]
mov dword [ebp - 0x370], eax
call esi
test eax, eax
jle 0x1005097a
push 1
push dword [ebp - 0x370]
mov ecx, 0x103c5250
call dword [sym.imp.mfc100.dll_Ordinal_12170]
inc dword [ebp - 0x370]
push 0
push 0
push 0x1004
push dword [0x103c5270]
call esi
cmp dword [ebp - 0x370], eax
jl 0x10050948
mov eax, dword [ebp - 0x360]
mov esi, 0x103d734c
mov byte [eax], 0
call fcn.1000102f
push dword [ebp - 0x35c]
push 0xbb8
push dword [ebp - 0x360]
push 0x1008ade4
push str.D25LIST1
push ebx
call edi
push 0x100938e0
push dword [ebp - 0x360]
jmp 0x100509c5
push eax
call fcn.10001109
push 0x100938e0
push 0
call dword [sym.imp.MSVCR100.dll_strtok]
pop ecx
pop ecx
test eax, eax
jne 0x100509b8
mov eax, dword [ebp - 0x360]
mov esi, 0x103d7340
mov byte [eax], 0
call fcn.1000102f
push dword [ebp - 0x35c]
push 0xbb8
push dword [ebp - 0x360]
push 0x1008ade4
push str.D25LIST2
push ebx
call edi
push 0x100938e0
push dword [ebp - 0x360]
jmp 0x10050a1c
push eax
call fcn.10001109
push 0x100938e0
push 0
call dword [sym.imp.MSVCR100.dll_strtok]
pop ecx
pop ecx
test eax, eax
jne 0x10050a0f
mov eax, dword [ebp - 0x360]
mov esi, 0x103d7130
mov byte [eax], 0
call fcn.1000102f
push dword [ebp - 0x35c]
push 0xbb8
push dword [ebp - 0x360]
push 0x1008ade4
push str.UseToPKGood
push ebx
call edi
push 0x100938e0
push dword [ebp - 0x360]
jmp 0x10050a73
push eax
call fcn.10001109
push 0x100938e0
push 0
call dword [sym.imp.MSVCR100.dll_strtok]
pop ecx
pop ecx
test eax, eax
jne 0x10050a66
mov esi, 0x103d7280
call fcn.1000102f
mov esi, 0x103d7244
call fcn.1000102f
push dword [ebp - 0x35c]
mov eax, dword [ebp - 0x360]
mov esi, 0xbb8
push esi
push eax
push 0x1008ade4
push 0x10099b08
push ebx
mov byte [eax], 0
call edi
push 0x10099b04
push dword [ebp - 0x360]
call dword [sym.imp.MSVCR100.dll_strtok]
pop ecx
pop ecx
test eax, eax
je 0x10050afc
push eax
mov esi, 0x103d7280
call fcn.10001109
push 0
mov esi, 0x103d7244
call fcn.1000117c
push 0x10099b04
push 0
call dword [sym.imp.MSVCR100.dll_strtok]
pop ecx
pop ecx
test eax, eax
jne 0x10050acd
mov esi, 0xbb8
push dword [ebp - 0x35c]
push esi
push dword [ebp - 0x360]
push 0x10095978
push str.QS_LJ
push ebx
call edi
push dword [ebp - 0x360]
call dword [sym.imp.MSVCR100.dll_atoi]
pop ecx
push dword [ebp - 0x35c]
mov dword [0x100a62a8], eax
push esi
push dword [ebp - 0x360]
push 0x1008b588
push str.tmkxor
push ebx
call edi
push dword [ebp - 0x360]
call dword [sym.imp.MSVCR100.dll_atoi]
pop ecx
mov esi, 0x103d728c
mov dword [0x1035ffbc], eax
call fcn.1000102f
mov esi, 0x103d7250
call fcn.1000102f
push dword [ebp - 0x35c]
mov esi, dword [ebp - 0x360]
push 0xbb8
push esi
push 0x1008ade4
push str.QHFZ
push ebx
mov byte [esi], 0
call edi
push 0x10099b04
push esi
call dword [sym.imp.MSVCR100.dll_strtok]
pop ecx
pop ecx
test eax, eax
je 0x10050bcc
push eax
mov esi, 0x103d728c
call fcn.10001109
push 0
mov esi, 0x103d7250
call fcn.1000117c
push 0x10099b04
push 0
call dword [sym.imp.MSVCR100.dll_strtok]
pop ecx
pop ecx
test eax, eax
jne 0x10050b9c
mov esi, dword [ebp - 0x360]
push dword [ebp - 0x35c]
mov byte [esi], 0
push 0xc8
push esi
push 0x1008ade4
push str.jiad
push ebx
call edi
or dword [ebp - 0x368], 0xffffffff
xor eax, eax
mov dword [ebp - 0x374], esi
cmp byte [0x100e08d0], al
jbe 0x10050c12
mov byte [eax + 0x100e0830], 0
movzx ecx, byte [0x100e08d0]
inc eax
cmp eax, ecx
jl 0x10050bff
push esi
call dword [sym.imp.MSVCR100.dll_strlen]
and dword [ebp - 0x370], 0
pop ecx
mov dword [ebp - 0x37c], eax
test eax, eax
jle 0x10050d91
mov ecx, 0x100dfd90
sub ecx, 0xf
mov eax, dword [ebp - 0x370]
cmp byte [eax + esi], 0x7c
jne 0x10050d79
inc dword [ebp - 0x368]
or dword [ebp - 0x36c], 0xffffffff
and dword [ebp - 0x378], 0
add ecx, 0xf
mov byte [eax + esi], 0
cmp byte [0x100e08d0], 0
mov dword [ebp - 0x364], ecx
jbe 0x10050ca8
push dword [ebp - 0x374]
call dword [sym.imp.MSVCR100.dll_atoi]
pop ecx
mov ecx, dword [ebp - 0x378]
movzx edx, word [ecx*2 + 0x100e06f0]
cmp edx, eax
jne 0x10050c96
mov dword [ebp - 0x36c], ecx
movzx eax, byte [0x100e08d0]
inc ecx
mov dword [ebp - 0x378], ecx
cmp ecx, eax
jl 0x10050c71
mov eax, dword [ebp - 0x368]
cmp dword [ebp - 0x36c], eax
jne 0x10050cc2
mov byte [eax + 0x100e0830], 1
jmp 0x10050d63
cmp dword [ebp - 0x36c], 0
jl 0x10050d63
movzx eax, word [eax*2 + 0x100e06f0]
push dword [ebp - 0x364]
mov dword [ebp - 0x374], eax
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.MSVCR100.dll_strcpy]
mov eax, dword [ebp - 0x36c]
mov edx, dword [ebp - 0x368]
lea ecx, [eax*2 + 0x100e06f0]
imul eax, eax, 0xf
lea eax, [eax + 0x100dfd90]
push eax
push dword [ebp - 0x364]
mov dword [ebp - 0x378], ecx
mov cx, word [ecx]
mov word [edx*2 + 0x100e06f0], cx
mov dword [ebp - 0x36c], eax
call dword [sym.imp.MSVCR100.dll_strcpy]
mov eax, dword [ebp - 0x368]
mov ecx, dword [ebp - 0x378]
mov byte [eax + 0x100e0830], 1
mov ax, word [ebp - 0x374]
mov word [ecx], ax
lea eax, [ebp - 0x100]
push eax
push dword [ebp - 0x36c]
call dword [sym.imp.MSVCR100.dll_strcpy]
add esp, 0x18
mov eax, dword [ebp - 0x370]
mov ecx, dword [ebp - 0x364]
lea eax, [esi + eax + 1]
mov dword [ebp - 0x374], eax
inc dword [ebp - 0x370]
mov eax, dword [ebp - 0x370]
cmp eax, dword [ebp - 0x37c]
jl 0x10050c37
push dword [ebp - 0x35c]
mov byte [esi], 0
push 0xbb8
push esi
push 0x1008ade4
push str.D51LIST1
push ebx
call edi
mov esi, 0x103d719c
call fcn.1000102f
mov esi, 0x103d71a8
call fcn.1000102f
mov esi, 0x103d71b4
call fcn.1000102f
mov esi, dword [sym.imp.MSVCR100.dll_strtok]
push 0x100938e0
push dword [ebp - 0x360]
call esi
pop ecx
pop ecx
test eax, eax
je 0x10050e20
push eax
mov esi, 0x103d719c
call fcn.10001109
push 0
mov esi, 0x103d71a8
call fcn.1000117c
push 0
mov esi, 0x103d71b4
call fcn.1000117c
push 0x100938e0
push 0
call dword [sym.imp.MSVCR100.dll_strtok]
pop ecx
pop ecx
test eax, eax
jne 0x10050de4
mov esi, dword [sym.imp.MSVCR100.dll_strtok]
push dword [ebp - 0x35c]
mov eax, dword [ebp - 0x360]
push 0xbb8
push eax
push 0x1008ade4
push str.zhfz
mov byte [0x1038549d], 0
push ebx
mov byte [eax], 0
call edi
push 0x10099b04
push dword [ebp - 0x360]
jmp 0x10050f99
push dword [ebp - 0x368]
call dword [sym.imp.MSVCR100.dll_strlen]
and dword [ebp - 0x36c], 0
inc eax
mov dword [esp], 0x100938e0
push dword [ebp - 0x368]
mov dword [ebp - 0x37c], eax
call esi
pop ecx
pop ecx
test eax, eax
je 0x10050f87
lea ecx, [ebp - 0x358]
mov dword [ebp - 0x364], ecx
push eax
push dword [ebp - 0x364]
call dword [sym.imp.MSVCR100.dll_strcpy]
inc dword [ebp - 0x36c]
add dword [ebp - 0x364], 0x32
push 0x100938e0
push 0
call esi
add esp, 0x10
test eax, eax
jne 0x10050e98
cmp dword [ebp - 0x36c], 6
jne 0x10050f87
lea eax, [ebp - 0x358]
push eax
movzx eax, byte [0x1038549d]
imul eax, eax, 0x14
add eax, 0x103850c8
push eax
call dword [sym.imp.MSVCR100.dll_strcpy]
lea eax, [ebp - 0x326]
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
movzx ecx, byte [0x1038549d]
test eax, eax
setne al
mov byte [ecx + 0x10385190], al
lea eax, [ebp - 0x2f4]
push eax
movzx eax, byte [0x1038549d]
imul eax, eax, 0x14
add eax, 0x1038519a
push eax
call dword [sym.imp.MSVCR100.dll_strcpy]
lea eax, [ebp - 0x2c2]
push eax
movzx eax, byte [0x1038549d]
imul eax, eax, 0x14
add eax, 0x10385262
push eax
call dword [sym.imp.MSVCR100.dll_strcpy]
lea eax, [ebp - 0x290]
push eax
movzx eax, byte [0x1038549d]
imul eax, eax, 0x14
add eax, 0x1038532a
push eax
call dword [sym.imp.MSVCR100.dll_strcpy]
lea eax, [ebp - 0x25e]
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
movzx ecx, byte [0x1038549d]
add esp, 0x28
mov word [ecx*2 + 0x103853f2], ax
inc byte [0x1038549d]
mov eax, dword [ebp - 0x37c]
add eax, dword [ebp - 0x368]
push 0x10099b04
push eax
call esi
pop ecx
mov dword [ebp - 0x368], eax
pop ecx
test eax, eax
jne 0x10050e59
push dword [ebp - 0x35c]
mov eax, dword [ebp - 0x360]
push 0xbb8
push eax
push 0x1008ade4
push str.zhfz2
push ebx
mov byte [eax], 0
call edi
mov edi, 0x100938e0
push edi
push dword [ebp - 0x360]
xor ebx, ebx
call esi
pop ecx
pop ecx
test eax, eax
je 0x100510df
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x364], ecx
push eax
push dword [ebp - 0x364]
call dword [sym.imp.MSVCR100.dll_strcpy]
add dword [ebp - 0x364], 0x32
push edi
push 0
inc ebx
call esi
add esp, 0x10
test eax, eax
jne 0x10050ff3
cmp ebx, 4
jne 0x10051072
mov esi, dword [sym.imp.MSVCR100.dll_strcpy]
lea eax, [ebp - 0x22c]
push eax
push 0x10385430
call esi
mov edi, dword [sym.imp.MSVCR100.dll_atoi]
lea eax, [ebp - 0x1fa]
push eax
call edi
test eax, eax
setne al
mov byte [0x1038549c], al
lea eax, [ebp - 0x1c8]
push eax
call edi
mov dword [0x10385494], eax
lea eax, [ebp - 0x196]
push eax
call edi
mov edi, 0x1009a778
push edi
push 0x1038549e
mov dword [0x10385498], eax
call esi
push edi
jmp 0x100510d5
cmp ebx, 6
jne 0x100510df
mov esi, dword [sym.imp.MSVCR100.dll_strcpy]
lea eax, [ebp - 0x22c]
push eax
push 0x10385430
call esi
mov edi, dword [sym.imp.MSVCR100.dll_atoi]
lea eax, [ebp - 0x1fa]
push eax
call edi
test eax, eax
setne al
mov byte [0x1038549c], al
lea eax, [ebp - 0x1c8]
push eax
call edi
mov dword [0x10385494], eax
lea eax, [ebp - 0x196]
push eax
call edi
mov dword [0x10385498], eax
lea eax, [ebp - 0x164]
push eax
push 0x1038549e
call esi
lea eax, [ebp - 0x132]
push eax
push 0x103854b2
call esi
add esp, 0x24
push dword [0x103c3c98]
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov esi, 0x103c3c78
cmp eax, 1
jne 0x100510ff
push 0
mov ecx, esi
call dword [sym.imp.mfc100.dll_Ordinal_13219]
mov ecx, esi
call fcn.10009651
mov ecx, esi
call fcn.1000a087
mov ecx, esi
call fcn.100096c5
mov ecx, esi
call fcn.100095ea
mov ecx, esi
call fcn.10009e17
mov ecx, esi
call fcn.10009dbe
mov ecx, esi
call fcn.10009b97
mov ecx, esi
call fcn.10009e93
mov ecx, esi
call fcn.1000a087
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008344f
leave
ret