Function at 0x10050874
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c0
mov eax, dword [0x100a69a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
mov dword [ebp - 0x1b4], eax
lea eax, [ebp - 0x68]
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 0x1008b74c
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 [0x103a99b4], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D3CHECK2
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x1ac]
mov dword [0x103a99b8], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D3CHECK3
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x1ac]
mov dword [0x103a99d0], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D3CHECK4
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x1ac]
mov dword [0x103a99ec], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D3CHECK5
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
mov dword [0x103a99e8], eax
push dword [ebp - 0x1ac]
lea eax, [ebp - 0x68]
push 0x64
push eax
push 0x1008b74c
push str.D3CHECK6
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x1ac]
mov dword [0x103a99e4], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D3CHECK7
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x1ac]
mov dword [0x103a99d4], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D3CHECK8
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x1ac]
mov dword [0x103a99d8], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D3CHECK9
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x1ac]
mov dword [0x103a99dc], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D3CHECK10
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x1ac]
mov dword [0x103a99e0], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D3CHECK11
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x1ac]
mov dword [0x103a9cf4], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D3CHECK12
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x1ac]
mov dword [0x103a9b18], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D3CHECK13
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x1ac]
mov dword [0x103a9b1c], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D3CHECK14
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x1ac]
mov dword [0x103a9b20], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D3CHECK15
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x1ac]
mov dword [0x103a9b24], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D3CHECK16
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x1ac]
mov dword [0x103a9cf8], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D3CHECK18
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x1ac]
mov dword [0x103aa43c], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D3COMBO1
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x1ac]
mov dword [0x103a99c0], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D3COMBO2
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x1ac]
mov dword [0x103a99c8], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D3COMBO3
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x1ac]
mov dword [0x103a99c4], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D3COMBO4
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x1ac]
mov dword [0x103a99cc], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D3COMBO5
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x1ac]
mov dword [0x103a9b14], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D3EDIT1
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x1ac]
mov dword [0x103a99bc], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D3EDIT2
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x1ac]
mov dword [0x103a99f0], eax
mov eax, dword [ebp - 0x1b4]
push 0xbb8
push eax
push 0x1008aec4
push str.D3LIST1
push edi
mov byte [eax], 0
call esi
push 0
push 0
push 0x184
push dword [0x103a9a14]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x10093a3c
push dword [ebp - 0x1b4]
jmp 0x10050c8f
push eax
push 0
push 0x180
push dword [0x103a9a14]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x10093a3c
push 0
call dword [sym.imp.MSVCR100.dll_strtok]
pop ecx
pop ecx
test eax, eax
jne 0x10050c74
push dword [ebp - 0x1ac]
mov eax, dword [ebp - 0x1b4]
push 0xbb8
push eax
push 0x1008aec4
push str._huang
push edi
mov byte [eax], 0
call esi
push 0x10098b98
push dword [ebp - 0x1b4]
jmp 0x10050db3
push dword [ebp - 0x1b8]
call sub.MSVCR100.dll_strlen
and dword [ebp - 0x1b0], 0
inc eax
mov dword [esp], 0x1008cd08
push dword [ebp - 0x1b8]
mov dword [ebp - 0x1c0], eax
call dword [sym.imp.MSVCR100.dll_strtok]
pop ecx
pop ecx
test eax, eax
je 0x10050da1
lea ecx, [ebp - 0x1a8]
mov dword [ebp - 0x1bc], ecx
push eax
push dword [ebp - 0x1bc]
call sub.MSVCR100.dll_strcpy
inc dword [ebp - 0x1b0]
add dword [ebp - 0x1bc], 0x50
push 0x1008cd08
push 0
call dword [sym.imp.MSVCR100.dll_strtok]
add esp, 0x10
test eax, eax
jne 0x10050d0f
cmp dword [ebp - 0x1b0], 4
jne 0x10050da1
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x1a8]
push 1
push eax
call ebx
pop ecx
push eax
mov ecx, 0x103a9b28
call sub.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, 0x103a9b28
call sub.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, 0x103a9b28
call sub.mfc100.dll_Ordinal_12170
mov eax, dword [ebp - 0x1c0]
add eax, dword [ebp - 0x1b8]
push 0x10098b98
push eax
call dword [sym.imp.MSVCR100.dll_strtok]
pop ecx
mov dword [ebp - 0x1b8], eax
pop ecx
test eax, eax
jne 0x10050ccd
push dword [ebp - 0x1ac]
mov eax, dword [ebp - 0x1b4]
push 0xbb8
push eax
push 0x1008aec4
push str.FZ_huang
push edi
mov byte [eax], 0
call esi
push 0x1008cd08
push dword [ebp - 0x1b4]
call dword [sym.imp.MSVCR100.dll_strtok]
pop ecx
pop ecx
test eax, eax
je 0x10050e33
mov dword [ebp - 0x1b0], 0x10342bf0
push eax
push dword [ebp - 0x1b0]
call sub.MSVCR100.dll_strcpy
push 0x1008cd08
push 0
call dword [sym.imp.MSVCR100.dll_strtok]
add dword [ebp - 0x1b0], 0x64
add esp, 0x10
test eax, eax
jne 0x10050e0c
push dword [ebp - 0x1ac]
mov eax, dword [ebp - 0x1b4]
push 0xbb8
push eax
push 0x1008aec4
push str.D3LIST2
push edi
mov byte [eax], 0
call esi
mov esi, dword [sym.imp.MSVCR100.dll_strtok]
mov edi, 0x10093a3c
push edi
push dword [ebp - 0x1b4]
call esi
and dword [ebp - 0x1b0], 0
jmp 0x10050e92
push eax
call ebx
pop ecx
push eax
push dword [ebp - 0x1b0]
mov ecx, 0x103aa9b4
call sub.mfc100.dll_Ordinal_12170
push edi
push 0
call esi
inc dword [ebp - 0x1b0]
pop ecx
pop ecx
test eax, eax
jne 0x10050e72
push dword [0x103a9940]
call dword [sym.imp.USER32.dll_IsWindowVisible]
pop edi
pop esi
pop ebx
cmp eax, 1
jne 0x10050eb8
push 0
mov ecx, 0x103a9920
call sub.mfc100.dll_Ordinal_13219
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10083a34
leave
ret