Function at 0x10054780
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 fcn.10001040
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 0x1009e968
push esi
call dword [sym.imp.MSVCR100.dll_strtok]
add esp, 8
test eax, eax
je 0x1005481f
lea ebx, [ebx]
push eax
mov ecx, 0x101a2054
call fcn.10001150
push 0x1009e968
push 0
call dword [sym.imp.MSVCR100.dll_strtok]
add esp, 8
test eax, eax
jne 0x10054800
push ebx
push 0x64
lea edx, [ebp - 0x68]
push edx
push 0x10094b88
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 0x10094b88
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 0x10094b88
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 0x10094b88
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 0x10094b88
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 0x10094b88
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 0x10094b88
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 0x1009ffa0
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 0x1009ff9c
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 0x10094b88
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 0x100549e3
sub eax, edx
je 0x10054a04
mov ecx, dword [0x1019acdc]
push 0
push 0
push 0x1009
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x1009e9c8
push esi
call dword [sym.imp.MSVCR100.dll_strtok]
mov esi, eax
add esp, 8
mov dword [ebp - 0x264], esi
test esi, esi
je 0x10054bc7
jmp 0x10054a2b
mov esi, dword [ebp - 0x264]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10054a30
sub eax, edx
push 0x10094b9c
push esi
mov dword [ebp - 0x268], eax
xor edi, edi
call dword [sym.imp.MSVCR100.dll_strtok]
add esp, 8
test eax, eax
je 0x10054b9a
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 0x10054a64
push 0x10094b9c
push 0
inc edi
add esi, 0x32
call dword [sym.imp.MSVCR100.dll_strtok]
add esp, 8
test eax, eax
jne 0x10054a60
cmp edi, 4
jne 0x10054b94
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, 0x10094b88
lea eax, [ebp - 0x1fc]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10054af0
test dl, dl
je 0x10054aec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10054af0
add eax, 2
add ecx, 2
test dl, dl
jne 0x10054ad0
xor eax, eax
jmp 0x10054af5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10054b10
mov edx, dword [0x1019acdc]
push 0x10092e4c
push 1
push eax
push eax
push 0x1004
push edx
jmp 0x10054b29
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 0x1009e9c8
push ecx
call dword [sym.imp.MSVCR100.dll_strtok]
add esp, 8
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x10054a25
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.1001bb10
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 0x10054c92
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 0x10054c61
test dl, dl
je 0x10054c5d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10054c61
add eax, 2
add ecx, 2
test dl, dl
jne 0x10054c41
xor eax, eax
jmp 0x10054c66
sbb eax, eax
sbb eax, 0xffffffff
push 0
test eax, eax
je 0x10054c83
mov ecx, dword [0x1019b010]
push 0
push 0x146
push ecx
inc esi
call edi
cmp esi, eax
jl 0x10054c20
jmp 0x10054c92
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.10086786
mov esp, ebp
pop ebp
ret