Function at 0x1005114d
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c0
mov eax, dword [0x100a609c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x64
mov dword [ebp - 0x1b4], eax
lea eax, [ebp - 0x68]
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x1ac], esi
call sub.MSVCR100.dll_memset
add esp, 0xc
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b588
push str.D3CHECK1
mov edi, str.config
push edi
call esi
mov ebx, dword [sym.imp.MSVCR100.dll_atoi]
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x1ac]
mov dword [0x103c54cc], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b588
push str.D3CHECK2
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x1ac]
mov dword [0x103c54d0], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b588
push str.D3CHECK3
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x1ac]
mov dword [0x103c54e8], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b588
push str.D3CHECK4
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x1ac]
mov dword [0x103c5504], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b588
push str.D3CHECK5
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
mov dword [0x103c5500], eax
push dword [ebp - 0x1ac]
lea eax, [ebp - 0x68]
push 0x64
push eax
push 0x1008b588
push str.D3CHECK6
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x1ac]
mov dword [0x103c54fc], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b588
push str.D3CHECK7
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x1ac]
mov dword [0x103c54ec], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b588
push str.D3CHECK8
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x1ac]
mov dword [0x103c54f0], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b588
push str.D3CHECK9
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x1ac]
mov dword [0x103c54f4], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b588
push str.D3CHECK10
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x1ac]
mov dword [0x103c54f8], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b588
push str.D3CHECK11
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x1ac]
mov dword [0x103c580c], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b588
push str.D3CHECK12
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x1ac]
mov dword [0x103c5630], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b588
push str.D3CHECK13
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x1ac]
mov dword [0x103c5634], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b588
push str.D3CHECK14
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x1ac]
mov dword [0x103c5638], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b588
push str.D3CHECK15
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x1ac]
mov dword [0x103c563c], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b588
push str.D3CHECK16
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x1ac]
mov dword [0x103c5810], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b588
push str.D3CHECK18
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x1ac]
mov dword [0x103c5f54], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b588
push str.D3COMBO1
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x1ac]
mov dword [0x103c54d8], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b588
push str.D3COMBO2
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x1ac]
mov dword [0x103c54e0], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b588
push str.D3COMBO3
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x1ac]
mov dword [0x103c54dc], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b588
push str.D3COMBO4
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x1ac]
mov dword [0x103c54e4], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b588
push str.D3COMBO5
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x1ac]
mov dword [0x103c562c], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b588
push str.D3EDIT1
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x1ac]
mov dword [0x103c54d4], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b588
push str.D3EDIT2
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x1ac]
mov dword [0x103c5508], eax
mov eax, dword [ebp - 0x1b4]
push 0xbb8
push eax
push 0x1008ade4
push str.D3LIST1
push edi
mov byte [eax], 0
call esi
push 0
push 0
push 0x184
push dword [0x103c552c]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x100938e0
push dword [ebp - 0x1b4]
jmp 0x10051567
push eax
push 0
push 0x180
push dword [0x103c552c]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x100938e0
push 0
call dword [sym.imp.MSVCR100.dll_strtok]
pop ecx
pop ecx
test eax, eax
jne 0x1005154c
push dword [ebp - 0x1ac]
mov eax, dword [ebp - 0x1b4]
push 0xbb8
push eax
push 0x1008ade4
push str._huang
push edi
mov byte [eax], 0
call esi
push 0x10099b04
push dword [ebp - 0x1b4]
jmp 0x10051690
push dword [ebp - 0x1b8]
call dword [sym.imp.MSVCR100.dll_strlen]
and dword [ebp - 0x1b0], 0
inc eax
mov dword [esp], 0x1008d094
push dword [ebp - 0x1b8]
mov dword [ebp - 0x1c0], eax
call dword [sym.imp.MSVCR100.dll_strtok]
pop ecx
pop ecx
test eax, eax
je 0x1005167e
lea ecx, [ebp - 0x1a8]
mov dword [ebp - 0x1bc], ecx
push eax
push dword [ebp - 0x1bc]
call dword [sym.imp.MSVCR100.dll_strcpy]
inc dword [ebp - 0x1b0]
add dword [ebp - 0x1bc], 0x50
push 0x1008d094
push 0
call dword [sym.imp.MSVCR100.dll_strtok]
add esp, 0x10
test eax, eax
jne 0x100515e8
cmp dword [ebp - 0x1b0], 4
jne 0x1005167e
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x1a8]
push 1
push eax
call ebx
pop ecx
push eax
mov ecx, 0x103c5640
call dword [sym.imp.mfc100.dll_Ordinal_12440]
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x1a8]
push 2
push eax
call ebx
pop ecx
push eax
mov ecx, 0x103c5640
call dword [sym.imp.mfc100.dll_Ordinal_12440]
lea eax, [ebp - 0x158]
push eax
call ebx
pop ecx
push eax
lea eax, [ebp - 0x1a8]
push eax
call ebx
pop ecx
push eax
mov ecx, 0x103c5640
call dword [sym.imp.mfc100.dll_Ordinal_12170]
mov eax, dword [ebp - 0x1c0]
add eax, dword [ebp - 0x1b8]
push 0x10099b04
push eax
call dword [sym.imp.MSVCR100.dll_strtok]
pop ecx
mov dword [ebp - 0x1b8], eax
pop ecx
test eax, eax
jne 0x100515a5
push dword [ebp - 0x1ac]
mov eax, dword [ebp - 0x1b4]
push 0xbb8
push eax
push 0x1008ade4
push str.FZ_huang
push edi
mov byte [eax], 0
call esi
push 0x1008d094
push dword [ebp - 0x1b4]
call dword [sym.imp.MSVCR100.dll_strtok]
pop ecx
pop ecx
test eax, eax
je 0x10051711
mov dword [ebp - 0x1b0], 0x10360118
push eax
push dword [ebp - 0x1b0]
call dword [sym.imp.MSVCR100.dll_strcpy]
push 0x1008d094
push 0
call dword [sym.imp.MSVCR100.dll_strtok]
add dword [ebp - 0x1b0], 0x64
add esp, 0x10
test eax, eax
jne 0x100516e9
push dword [ebp - 0x1ac]
mov eax, dword [ebp - 0x1b4]
push 0xbb8
push eax
push 0x1008ade4
push str.D3LIST2
push edi
mov byte [eax], 0
call esi
mov esi, dword [sym.imp.MSVCR100.dll_strtok]
mov edi, 0x100938e0
push edi
push dword [ebp - 0x1b4]
call esi
and dword [ebp - 0x1b0], 0
jmp 0x10051771
push eax
call ebx
pop ecx
push eax
push dword [ebp - 0x1b0]
mov ecx, 0x103c64cc
call dword [sym.imp.mfc100.dll_Ordinal_12170]
push edi
push 0
call esi
inc dword [ebp - 0x1b0]
pop ecx
pop ecx
test eax, eax
jne 0x10051750
push dword [0x103c5458]
call dword [sym.imp.USER32.dll_IsWindowVisible]
pop edi
pop esi
pop ebx
cmp eax, 1
jne 0x10051798
push 0
mov ecx, 0x103c5438
call dword [sym.imp.mfc100.dll_Ordinal_13219]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008344f
leave
ret