Function at 0x10054900
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x100ae8c8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0x64
lea eax, [ebp - 0x68]
push 0
push eax
call sub.MSVCR100.dll_memset
push 0x64
lea ecx, [ebp - 0x100]
push 0
push ecx
call sub.MSVCR100.dll_memset
add esp, 0x18
mov ecx, 0x101a2054
call section..text
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ebx
push 0xbb8
push esi
push 0x10092e4c
push str.SHGL
push str.config
mov byte [esi], 0
call edi
push 0x1009e920
push esi
call dword [sym.imp.MSVCR100.dll_strtok]
add esp, 8
test eax, eax
je 0x1005499f
lea ebx, [ebx]
push eax
mov ecx, 0x101a2054
call fcn.10001110
push 0x1009e920
push 0
call dword [sym.imp.MSVCR100.dll_strtok]
add esp, 8
test eax, eax
jne 0x10054980
push ebx
push 0x64
lea edx, [ebp - 0x68]
push edx
push 0x10094b60
push str.D19CHECK1
push str.config
call edi
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
add esp, 4
push ebx
push 0x64
lea ecx, [ebp - 0x68]
push ecx
push 0x10094b60
push str.D19CHECK2
push str.config
mov dword [0x1019af1c], eax
call edi
lea edx, [ebp - 0x68]
push edx
call dword [sym.imp.MSVCR100.dll_atoi]
add esp, 4
push ebx
push 0x64
mov dword [0x1019af20], eax
lea eax, [ebp - 0x68]
push eax
push 0x10094b60
push str.D19CHECK3
push str.config
call edi
lea ecx, [ebp - 0x68]
push ecx
call dword [sym.imp.MSVCR100.dll_atoi]
add esp, 4
push ebx
push 0x64
lea edx, [ebp - 0x68]
push edx
push 0x10094b60
push str.D19CHECK4
push str.config
mov dword [0x1019af2c], eax
call edi
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
add esp, 4
push ebx
push 0x64
lea ecx, [ebp - 0x68]
push ecx
push 0x10094b60
push str.D19CHECK5
push str.config
mov dword [0x1019af34], eax
call edi
lea edx, [ebp - 0x68]
push edx
call dword [sym.imp.MSVCR100.dll_atoi]
add esp, 4
push ebx
push 0x64
mov dword [0x1019af38], eax
lea eax, [ebp - 0x68]
push eax
push 0x10094b60
push str.D19EDIT5
push str.config
call edi
lea ecx, [ebp - 0x68]
push ecx
call dword [sym.imp.MSVCR100.dll_atoi]
add esp, 4
push ebx
mov dword [0x1019af24], eax
push 0x64
lea edx, [ebp - 0x68]
push edx
push 0x10094b60
push str.D19EDIT6
push str.config
call edi
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
add esp, 4
push ebx
push 0x64
lea ecx, [ebp - 0x68]
push ecx
push 0x100a00ec
push str.D19EDIT7
push str.config
mov dword [0x1019af28], eax
call edi
lea edx, [ebp - 0x68]
push edx
call dword [sym.imp.MSVCR100.dll_atoi]
add esp, 4
push ebx
push 0x64
mov dword [0x1019af30], eax
lea eax, [ebp - 0x68]
push eax
push 0x100a00e8
push str.D19EDIT8
push str.config
call edi
lea ecx, [ebp - 0x68]
push ecx
call dword [sym.imp.MSVCR100.dll_atoi]
add esp, 4
push ebx
push 0x64
lea edx, [ebp - 0x68]
push edx
push 0x10094b60
push str.D19COMBO1
push str.config
mov dword [0x1019afec], eax
call edi
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
add esp, 4
push ebx
push 0x7530
push esi
push 0x10092e4c
push str.D19LIST1
mov dword [0x1019afe8], eax
push str.config
mov byte [esi], 0
call edi
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10054b63
sub eax, edx
je 0x10054b84
mov ecx, dword [0x1019acdc]
push 0
push 0
push 0x1009
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x1009e980
push esi
call dword [sym.imp.MSVCR100.dll_strtok]
mov esi, eax
add esp, 8
mov dword [ebp - 0x264], esi
test esi, esi
je 0x10054d47
jmp 0x10054bab
mov esi, dword [ebp - 0x264]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10054bb0
sub eax, edx
push 0x10094b74
push esi
mov dword [ebp - 0x268], eax
xor edi, edi
call dword [sym.imp.MSVCR100.dll_strtok]
add esp, 8
test eax, eax
je 0x10054d1a
lea esi, [ebp - 0x260]
mov edi, edi
mov edx, esi
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x10054be4
push 0x10094b74
push 0
inc edi
add esi, 0x32
call dword [sym.imp.MSVCR100.dll_strtok]
add esp, 8
test eax, eax
jne 0x10054be0
cmp edi, 4
jne 0x10054d14
mov edx, dword [0x1019acdc]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push eax
push 0x1004
push edx
call esi
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x22e]
push ecx
push eax
push 1
mov ecx, 0x1019acbc
call sub.mfc100.dll_Ordinal_7211
mov ecx, 0x10094b60
lea eax, [ebp - 0x1fc]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10054c70
test dl, dl
je 0x10054c6c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10054c70
add eax, 2
add ecx, 2
test dl, dl
jne 0x10054c50
xor eax, eax
jmp 0x10054c75
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10054c90
mov edx, dword [0x1019acdc]
push 0x10092e4c
push 1
push eax
push eax
push 0x1004
push edx
jmp 0x10054ca9
mov ecx, dword [0x1019acdc]
lea eax, [ebp - 0x1fc]
push eax
push 1
push 0
push 0
push 0x1004
push ecx
call esi
dec eax
push eax
mov ecx, 0x1019acbc
call sub.mfc100.dll_Ordinal_12440
mov eax, dword [0x1019acdc]
lea edx, [ebp - 0x1ca]
push edx
push 2
push 0
push 0
push 0x1004
push eax
call esi
dec eax
push eax
mov ecx, 0x1019acbc
call sub.mfc100.dll_Ordinal_12440
mov ecx, dword [0x1019acdc]
push 0
push 0
push 0x1004
push ecx
call esi
lea edx, [ebp - 0x260]
push edx
lea esi, [eax - 1]
call dword [sym.imp.MSVCR100.dll_atoi]
add esp, 4
neg eax
sbb eax, eax
neg eax
push eax
push esi
mov ecx, 0x1019acbc
call sub.mfc100.dll_Ordinal_12170
mov esi, dword [ebp - 0x264]
mov eax, dword [ebp - 0x268]
lea ecx, [eax + esi + 1]
push 0x1009e980
push ecx
call dword [sym.imp.MSVCR100.dll_strtok]
add esp, 8
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x10054ba5
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [0x1019b010]
push 0
push 0xffffffffffffffff
push 0x14e
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push 0x64
lea eax, [ebp - 0x100]
push eax
push 0x10092e4c
push str.D19Combox2
push str.config
call edi
mov ecx, 0x1019ac28
call fcn.1001b9f0
mov ecx, dword [0x1019b010]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
xor esi, esi
push esi
push esi
push 0x146
push ecx
call edi
test eax, eax
jle 0x10054e12
mov edi, edi
mov eax, dword [0x1019b010]
lea edx, [ebp - 0x9c]
push edx
push esi
push 0x148
push eax
call edi
lea ecx, [ebp - 0x100]
lea eax, [ebp - 0x9c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10054de1
test dl, dl
je 0x10054ddd
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10054de1
add eax, 2
add ecx, 2
test dl, dl
jne 0x10054dc1
xor eax, eax
jmp 0x10054de6
sbb eax, eax
sbb eax, 0xffffffff
push 0
test eax, eax
je 0x10054e03
mov ecx, dword [0x1019b010]
push 0
push 0x146
push ecx
inc esi
call edi
cmp esi, eax
jl 0x10054da0
jmp 0x10054e12
mov edx, dword [0x1019b010]
push esi
push 0x14e
push edx
call edi
push 0
mov ecx, 0x1019ac28
call sub.mfc100.dll_Ordinal_13219
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10086746
mov esp, ebp
pop ebp
ret