Function at 0x100540a0
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, 0x101a2050
call fcn.10001060
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 0x1009e908
push esi
call dword [sym.imp.MSVCR100.dll_strtok]
add esp, 8
test eax, eax
je 0x1005413f
lea ebx, [ebx]
push eax
mov ecx, 0x101a2050
call fcn.10001160
push 0x1009e908
push 0
call dword [sym.imp.MSVCR100.dll_strtok]
add esp, 8
test eax, eax
jne 0x10054120
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 [0x1019af0c], 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 [0x1019af10], 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 [0x1019af1c], 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 [0x1019af24], 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 [0x1019af28], 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 [0x1019af14], 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 0x1009ff38
push str.D19EDIT7
push str.config
mov dword [0x1019af18], 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 0x1009ff34
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 [0x1019afdc], 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 [0x1019afd8], 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 0x10054303
sub eax, edx
je 0x10054324
mov ecx, dword [0x1019accc]
push 0
push 0
push 0x1009
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x1009e968
push esi
call dword [sym.imp.MSVCR100.dll_strtok]
mov esi, eax
add esp, 8
mov dword [ebp - 0x264], esi
test esi, esi
je 0x100544e7
jmp 0x1005434b
mov esi, dword [ebp - 0x264]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10054350
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 0x100544ba
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 0x10054384
push 0x10094b74
push 0
inc edi
add esi, 0x32
call dword [sym.imp.MSVCR100.dll_strtok]
add esp, 8
test eax, eax
jne 0x10054380
cmp edi, 4
jne 0x100544b4
mov edx, dword [0x1019accc]
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, 0x1019acac
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 0x10054410
test dl, dl
je 0x1005440c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10054410
add eax, 2
add ecx, 2
test dl, dl
jne 0x100543f0
xor eax, eax
jmp 0x10054415
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10054430
mov edx, dword [0x1019accc]
push 0x10092e4c
push 1
push eax
push eax
push 0x1004
push edx
jmp 0x10054449
mov ecx, dword [0x1019accc]
lea eax, [ebp - 0x1fc]
push eax
push 1
push 0
push 0
push 0x1004
push ecx
call esi
dec eax
push eax
mov ecx, 0x1019acac
call sub.mfc100.dll_Ordinal_12440
mov eax, dword [0x1019accc]
lea edx, [ebp - 0x1ca]
push edx
push 2
push 0
push 0
push 0x1004
push eax
call esi
dec eax
push eax
mov ecx, 0x1019acac
call sub.mfc100.dll_Ordinal_12440
mov ecx, dword [0x1019accc]
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, 0x1019acac
call sub.mfc100.dll_Ordinal_12170
mov esi, dword [ebp - 0x264]
mov eax, dword [ebp - 0x268]
lea ecx, [eax + esi + 1]
push 0x1009e968
push ecx
call dword [sym.imp.MSVCR100.dll_strtok]
add esp, 8
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x10054345
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [0x1019b000]
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, 0x1019ac18
call fcn.1001b6d0
mov ecx, dword [0x1019b000]
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 0x100545b2
mov edi, edi
mov eax, dword [0x1019b000]
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 0x10054581
test dl, dl
je 0x1005457d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10054581
add eax, 2
add ecx, 2
test dl, dl
jne 0x10054561
xor eax, eax
jmp 0x10054586
sbb eax, eax
sbb eax, 0xffffffff
push 0
test eax, eax
je 0x100545a3
mov ecx, dword [0x1019b000]
push 0
push 0x146
push ecx
inc esi
call edi
cmp esi, eax
jl 0x10054540
jmp 0x100545b2
mov edx, dword [0x1019b000]
push esi
push 0x14e
push edx
call edi
push 0
mov ecx, 0x1019ac18
call sub.mfc100.dll_Ordinal_13219
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10085dc6
mov esp, ebp
pop ebp
ret