Function at 0x100514e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x100ae8c8]
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 0xc8
lea ecx, [ebp - 0xcc]
push 0
push ecx
mov dword [ebp - 0x234], eax
call sub.MSVCR100.dll_memset
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 0xc
push esi
push 0x64
lea edx, [ebp - 0xcc]
push edx
push 0x10094b88
push str.D2CHECK1
push str.config
call edi
mov ebx, dword [sym.imp.MSVCR100.dll_atoi]
lea eax, [ebp - 0xcc]
push eax
call ebx
add esp, 4
push esi
push 0x64
lea ecx, [ebp - 0xcc]
push ecx
push 0x10094b88
push str.D2CHECK3
push str.config
mov dword [0x10191854], eax
call edi
lea edx, [ebp - 0xcc]
push edx
call ebx
add esp, 4
push esi
push 0x64
mov dword [0x1019185c], eax
lea eax, [ebp - 0xcc]
push eax
push 0x10094b88
push str.D2CHECK6
push str.config
call edi
lea ecx, [ebp - 0xcc]
push ecx
call ebx
add esp, 4
push esi
push 0x64
lea edx, [ebp - 0xcc]
push edx
push 0x10094b88
push str.D2CHECK8
push str.config
mov dword [0x10191868], eax
call edi
lea eax, [ebp - 0xcc]
push eax
call ebx
add esp, 4
push esi
push 0x64
lea ecx, [ebp - 0xcc]
push ecx
push 0x10094b88
push str.D2CHECK9
push str.config
mov dword [0x10191918], eax
call edi
lea edx, [ebp - 0xcc]
push edx
call ebx
add esp, 4
push esi
mov dword [0x10191928], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x10094b88
push str.D2CHECK10
push str.config
call edi
lea ecx, [ebp - 0xcc]
push ecx
call ebx
add esp, 4
push esi
push 0x64
lea edx, [ebp - 0xcc]
push edx
push 0x10094b88
push str.D2CHECK11
push str.config
mov dword [0x10191a08], eax
call edi
lea eax, [ebp - 0xcc]
push eax
call ebx
add esp, 4
push esi
push 0x64
lea ecx, [ebp - 0xcc]
push ecx
push 0x10094b88
push str.D2CHECK12
push str.config
mov dword [0x10191a04], eax
call edi
lea edx, [ebp - 0xcc]
push edx
call ebx
add esp, 4
push esi
push 0x64
mov dword [0x10191bc8], eax
lea eax, [ebp - 0xcc]
push eax
push 0x10094b88
push str.D2CHECK13
push str.config
call edi
lea ecx, [ebp - 0xcc]
push ecx
call ebx
add esp, 4
push esi
push 0x64
lea edx, [ebp - 0xcc]
push edx
push 0x10094b88
push str.D2CHECK14
push str.config
mov dword [0x101919ec], eax
call edi
lea eax, [ebp - 0xcc]
push eax
call ebx
add esp, 4
push esi
push 0x64
lea ecx, [ebp - 0xcc]
push ecx
push 0x10094b88
push str.D2CHECK15
push str.config
mov dword [0x10191930], eax
call edi
lea edx, [ebp - 0xcc]
push edx
call ebx
add esp, 4
push esi
mov dword [0x101919fc], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x10094b88
push str.D2CHECK16
push str.config
call edi
lea ecx, [ebp - 0xcc]
push ecx
call ebx
add esp, 4
push esi
push 0x64
lea edx, [ebp - 0xcc]
push edx
push 0x10094b88
push str.D2CHECK17
push str.config
mov dword [0x10191a00], eax
call edi
lea eax, [ebp - 0xcc]
push eax
call ebx
add esp, 4
push esi
push 0x64
lea ecx, [ebp - 0xcc]
push ecx
push 0x10094b88
push str.D2CHEC19
push str.config
mov dword [0x1019192c], eax
call edi
lea edx, [ebp - 0xcc]
push edx
call ebx
add esp, 4
push esi
push 0x64
mov dword [0x101919f4], eax
lea eax, [ebp - 0xcc]
push eax
push 0x10094b88
push str.D2CHECK20
push str.config
call edi
lea ecx, [ebp - 0xcc]
push ecx
call ebx
add esp, 4
push esi
push 0x64
lea edx, [ebp - 0xcc]
push edx
push 0x10094b88
push str.D2CHECK22
push str.config
mov dword [0x101919f0], eax
call edi
lea eax, [ebp - 0xcc]
push eax
call ebx
add esp, 4
push esi
push 0x64
lea ecx, [ebp - 0xcc]
push ecx
push 0x10094b88
push str.D2CHECK23
push str.config
mov dword [0x10192d24], eax
call edi
lea edx, [ebp - 0xcc]
push edx
call ebx
add esp, 4
push esi
push 0x64
mov dword [0x10191b30], eax
lea eax, [ebp - 0xcc]
push eax
push 0x10094b88
push str.D2CHECK27
push str.config
call edi
lea ecx, [ebp - 0xcc]
push ecx
call ebx
add esp, 4
push esi
push 0x64
lea edx, [ebp - 0xcc]
push edx
push 0x10094b88
push str.D2COMBO1
push str.config
mov dword [0x10191bcc], eax
call edi
lea eax, [ebp - 0xcc]
push eax
call ebx
add esp, 4
push 0xbb8
mov ecx, 0x101917c0
mov dword [0x10191bc0], eax
call sub.mfc100.dll_Ordinal_4785
mov ecx, dword [0x10191bc0]
mov edx, dword [eax + 0x20]
push 0
push ecx
push 0x14e
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x1019188c]
push 0
push 0
push 0x14b
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x1019188c]
push 0x10094f88
push 0
push 0x143
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [0x1019188c]
push 0x10094f7c
push 0
push 0x143
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x1019188c]
push 0x10094f70
push 0
push 0x143
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x1019188c]
push 0x10094f64
push 0
push 0x143
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push esi
push 0x64
lea edx, [ebp - 0xcc]
push edx
push 0x10094b88
push str._D2COMBO3
push str.config
call edi
lea eax, [ebp - 0xcc]
lea ecx, [eax + 1]
jmp 0x10051930
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10051930
sub eax, ecx
je 0x10051956
mov ecx, dword [0x1019188c]
lea eax, [ebp - 0xcc]
push eax
push 0
push 0x143
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push esi
push 0x64
lea edx, [ebp - 0xcc]
push edx
push 0x10094b88
push str.D2COMBO3
push str.config
call edi
lea eax, [ebp - 0xcc]
push eax
call ebx
add esp, 4
push 0xbba
mov ecx, 0x101917c0
mov dword [0x10191bc4], eax
call sub.mfc100.dll_Ordinal_4785
mov ecx, dword [0x10191bc4]
mov edx, dword [eax + 0x20]
push 0
push ecx
push 0x14e
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push esi
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x10094b88
push str.D2COMBO4
push str.config
call edi
lea ecx, [ebp - 0xcc]
push ecx
call ebx
add esp, 4
push 0xbbb
mov ecx, 0x101917c0
mov dword [0x101919e4], eax
call sub.mfc100.dll_Ordinal_4785
mov edx, dword [0x101919e4]
mov eax, dword [eax + 0x20]
push 0
push edx
push 0x14e
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push esi
push 0x64
lea ecx, [ebp - 0xcc]
push ecx
push 0x10094b88
push str.D2COMBO5
push str.config
call edi
lea edx, [ebp - 0xcc]
push edx
call ebx
add esp, 4
push 0xbbc
mov ecx, 0x101917c0
mov dword [0x101919e8], eax
call sub.mfc100.dll_Ordinal_4785
mov ecx, dword [0x101919e8]
mov edx, dword [eax + 0x20]
push 0
push ecx
push 0x14e
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push esi
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x10092e4c
push str.D2COMBO6
push str.config
call edi
lea eax, [ebp - 0xcc]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10051a73
sub eax, ecx
cmp eax, 1
jbe 0x10051a92
lea ecx, [ebp - 0xcc]
push ecx
mov ecx, 0x10192d2c
call sub.mfc100.dll_Ordinal_12868
push esi
push 0x64
lea edx, [ebp - 0xcc]
push edx
push 0x10094df0
push str.D2COMBO7
push str.config
call edi
push 0xbbe
mov ecx, 0x101917c0
call sub.mfc100.dll_Ordinal_4785
push 0
push 0
mov dword [ebp - 0x23c], eax
mov eax, dword [eax + 0x20]
push 0x14b
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [ebp - 0x23c]
mov eax, dword [edx + 0x20]
lea ecx, [ebp - 0xcc]
push ecx
push 0
push 0x143
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 0x23c]
mov edx, dword [ecx + 0x20]
push 0
push 0
push 0x14e
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push esi
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x10094b88
push str.D2EDIT1
push str.config
call edi
lea ecx, [ebp - 0xcc]
push ecx
call ebx
add esp, 4
push esi
push 0x64
lea edx, [ebp - 0xcc]
push edx
mov dword [ebp - 0x238], eax
fild dword [ebp - 0x238]
push 0x10094b88
push str.D2EDIT2
push str.config
fstp dword [0x10191920]
call edi
lea eax, [ebp - 0xcc]
push eax
call ebx
add esp, 4
push esi
push 0x64
lea ecx, [ebp - 0xcc]
push ecx
mov dword [ebp - 0x238], eax
fild dword [ebp - 0x238]
push 0x10094b88
push str.D2EDIT3
push str.config
fstp dword [0x10191924]
call edi
lea edx, [ebp - 0xcc]
push edx
call ebx
add esp, 4
push esi
mov dword [0x1019191c], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x10094b88
push str.D2EDIT5
push str.config
call edi
lea ecx, [ebp - 0xcc]
push ecx
mov ecx, 0x10191a0c
call sub.mfc100.dll_Ordinal_12868
push esi
push 0x64
lea edx, [ebp - 0xcc]
push edx
push 0x1009fed0
push str.D2EDIT6
push str.config
call edi
lea eax, [ebp - 0xcc]
push eax
call ebx
add esp, 4
push esi
push 0x64
lea ecx, [ebp - 0xcc]
push ecx
push 0x1009c884
push str.D2EDIT7
push str.config
mov dword [0x10191dd8], eax
call edi
lea edx, [ebp - 0xcc]
push edx
call ebx
add esp, 4
push esi
push 0x64
mov dword [0x10191ddc], eax
lea eax, [ebp - 0xcc]
push eax
push 0x1009ca80
push str.D2EDIT8
push str.config
call edi
lea ecx, [ebp - 0xcc]
push ecx
call ebx
add esp, 4
push esi
push 0x64
lea edx, [ebp - 0xcc]
push edx
push 0x10094b88
push str.D2EDIT9
push str.config
mov dword [0x10191de0], eax
call edi
lea eax, [ebp - 0xcc]
push eax
call ebx
add esp, 4
push esi
push 0x64
lea ecx, [ebp - 0xcc]
push ecx
push 0x10094b88
push str.D2EDIT10
push str.config
mov dword [0x10191de4], eax
call edi
lea edx, [ebp - 0xcc]
push edx
call ebx
add esp, 4
push esi
push 0xbb8
mov dword [0x10192d28], eax
mov eax, dword [ebp - 0x234]
push eax
push 0x10092e4c
push str.D2LIST1
push str.config
mov byte [eax], 0
call edi
mov eax, dword [0x10192cd0]
push 0
push 0
push 0x1009
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 0x234]
push 0x1009e9c8
push ecx
call dword [sym.imp.MSVCR100.dll_strtok]
add esp, 8
mov dword [ebp - 0x230], eax
test eax, eax
je 0x10051d5c
jmp 0x10051d10
mov edx, dword [0x10192cd0]
push 0
push 0
push 0x1004
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 0x230]
push 0
push 0
push 0
push 0
push ecx
push eax
push 1
mov ecx, 0x10192cb0
call sub.mfc100.dll_Ordinal_7211
push 0x1009e9c8
push 0
call dword [sym.imp.MSVCR100.dll_strtok]
add esp, 8
mov dword [ebp - 0x230], eax
test eax, eax
jne 0x10051d10
mov edx, dword [0x10192cd0]
push 0
push 0
push 0x1004
push edx
mov dword [ebp - 0x230], 0
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jle 0x10051db7
mov eax, dword [ebp - 0x230]
push 1
push eax
mov ecx, 0x10192cb0
call sub.mfc100.dll_Ordinal_12170
mov ecx, dword [0x10192cd0]
inc dword [ebp - 0x230]
push 0
push 0
push 0x1004
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [ebp - 0x230], eax
jl 0x10051d80
mov ecx, 0x101a20fc
call section..text
mov ecx, 0x101a20cc
call section..text
mov eax, dword [ebp - 0x234]
push esi
push 0xbb8
push eax
push 0x10092e4c
push 0x1009f3f8
push str.config
mov byte [eax], 0
call edi
mov edx, dword [ebp - 0x234]
push 0x1009e968
push edx
call dword [sym.imp.MSVCR100.dll_strtok]
add esp, 8
test eax, eax
je 0x10051e30
push eax
mov ecx, 0x101a20fc
call fcn.10001100
push 0
mov ecx, 0x101a20cc
call fcn.100011e0
push 0x1009e968
push 0
call dword [sym.imp.MSVCR100.dll_strtok]
add esp, 8
test eax, eax
jne 0x10051e05
mov eax, dword [ebp - 0x234]
push esi
push 0xc8
push eax
push 0x10092e4c
push str.jiad
push str.config
mov byte [eax], 0
call edi
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x250], eax
xor eax, eax
mov dword [ebp - 0x230], 0xffffffff
cmp byte [0x100eaf28], al
jbe 0x10051e84
mov byte [eax + 0x100eae88], 0
movzx ecx, byte [0x100eaf28]
inc eax
cmp eax, ecx
jl 0x10051e71
mov edx, dword [ebp - 0x234]
mov eax, edx
lea ecx, [eax + 1]
mov dword [ebp - 0x238], ecx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10051e95
sub eax, dword [ebp - 0x238]
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x248], ecx
mov dword [ebp - 0x23c], eax
test ecx, ecx
jle 0x10052059
mov ecx, 0x100ea3e8
sub ecx, 0xf
mov dword [ebp - 0x24c], ecx
lea ecx, [ebp - 0xf1]
sub ecx, 0x100ea3e8
jmp 0x10051ee6
mov edx, dword [ebp - 0x234]
cmp byte [edx + eax], 0x7c
jne 0x10052046
inc dword [ebp - 0x230]
add dword [ebp - 0x24c], 0xf
sub ecx, 0xf
mov byte [edx + eax], 0
cmp byte [0x100eaf28], 0
mov dword [ebp - 0x238], ecx
mov dword [ebp - 0x244], 0xffffffff
mov dword [ebp - 0x240], 0
jbe 0x10051f65
mov edx, dword [ebp - 0x250]
push edx
call ebx
mov ecx, dword [ebp - 0x240]
movzx edx, word [ecx*2 + 0x100ead48]
add esp, 4
cmp edx, eax
jne 0x10051f4d
mov eax, ecx
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x240]
movzx ecx, byte [0x100eaf28]
inc eax
mov dword [ebp - 0x240], eax
cmp eax, ecx
jl 0x10051f27
mov ecx, dword [ebp - 0x244]
mov eax, dword [ebp - 0x230]
cmp ecx, eax
jne 0x10051f81
mov byte [eax + 0x100eae88], 1
jmp 0x1005202a
test ecx, ecx
js 0x1005202a
movzx edx, word [eax*2 + 0x100ead48]
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x250], edx
mov edx, dword [ebp - 0x238]
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x10051fa3
mov eax, dword [ebp - 0x244]
mov cx, word [eax*2 + 0x100ead48]
mov edx, dword [ebp - 0x230]
mov word [edx*2 + 0x100ead48], cx
mov edx, dword [ebp - 0x24c]
mov ecx, eax
shl ecx, 4
sub ecx, eax
lea eax, [ecx + 0x100ea3e8]
mov dword [ebp - 0x240], eax
sub edx, eax
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x10051fe4
mov edx, dword [ebp - 0x230]
mov ax, word [ebp - 0x250]
mov ecx, dword [ebp - 0x244]
mov byte [edx + 0x100eae88], 1
mov edx, dword [ebp - 0x240]
mov word [ecx*2 + 0x100ead48], ax
lea eax, [ebp - 0x100]
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x10052020
mov edx, dword [ebp - 0x234]
mov eax, dword [ebp - 0x23c]
lea ecx, [edx + eax + 1]
mov dword [ebp - 0x250], ecx
mov ecx, dword [ebp - 0x238]
inc eax
mov dword [ebp - 0x23c], eax
cmp eax, dword [ebp - 0x248]
jl 0x10051ee0
mov eax, dword [ebp - 0x234]
push esi
push 0xbb8
push eax
push 0x10092e4c
push str.D51LIST1
push str.config
mov byte [eax], 0
call edi
mov ecx, 0x101a1e04
call section..text
mov ecx, 0x101a203c
call section..text
mov ecx, 0x101a2048
call section..text
mov edx, dword [ebp - 0x234]
push 0x1009e9c8
push edx
call dword [sym.imp.MSVCR100.dll_strtok]
add esp, 8
test eax, eax
je 0x100520e8
push eax
mov ecx, 0x101a1e04
call fcn.10001100
push 0
mov ecx, 0x101a203c
call fcn.100011e0
push 0
mov ecx, 0x101a2048
call fcn.100011e0
push 0x1009e9c8
push 0
call dword [sym.imp.MSVCR100.dll_strtok]
add esp, 8
test eax, eax
jne 0x100520b1
mov eax, dword [ebp - 0x234]
push esi
push 0xbb8
push eax
push 0x10092e4c
push str.zhfz
mov byte [0x100b1f0d], 0
push str.config
mov byte [eax], 0
call edi
mov eax, dword [ebp - 0x234]
push 0x1009e968
push eax
call dword [sym.imp.MSVCR100.dll_strtok]
add esp, 8
mov dword [ebp - 0x230], eax
test eax, eax
je 0x1005228f
mov esi, dword [ebp - 0x230]
mov eax, esi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10052140
sub eax, edx
push 0x1009e9c8
push esi
mov dword [ebp - 0x248], eax
xor edi, edi
call dword [sym.imp.MSVCR100.dll_strtok]
add esp, 8
test eax, eax
je 0x10052262
lea esi, [ebp - 0x22c]
mov edi, edi
mov edx, esi
sub edx, eax
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x10052174
push 0x1009e9c8
push 0
inc edi
add esi, 0x32
call dword [sym.imp.MSVCR100.dll_strtok]
add esp, 8
test eax, eax
jne 0x10052170
cmp edi, 6
jne 0x10052262
movzx eax, byte [0x100b1f0d]
lea edx, [eax + eax*4]
lea ecx, [ebp - 0x22c]
lea edx, [edx*4 + 0x100b1b38]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x100521b6
lea ecx, [ebp - 0x1fa]
push ecx
call ebx
add esp, 4
test eax, eax
movzx eax, byte [0x100b1f0d]
setne dl
mov byte [eax + 0x100b1c00], dl
movzx eax, byte [0x100b1f0d]
lea edx, [eax + eax*4]
lea ecx, [ebp - 0x1c8]
lea edx, [edx*4 + 0x100b1c0a]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x100521f5
movzx eax, byte [0x100b1f0d]
lea edx, [eax + eax*4]
lea ecx, [ebp - 0x196]
lea edx, [edx*4 + 0x100b1cd2]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x10052216
movzx eax, byte [0x100b1f0d]
lea edx, [eax + eax*4]
lea ecx, [ebp - 0x164]
lea edx, [edx*4 + 0x100b1d9a]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x10052237
lea ecx, [ebp - 0x132]
push ecx
call ebx
movzx edx, byte [0x100b1f0d]
add esp, 4
mov word [edx*2 + 0x100b1e62], ax
inc byte [0x100b1f0d]
mov eax, dword [ebp - 0x230]
mov ecx, dword [ebp - 0x248]
lea edx, [ecx + eax + 1]
push 0x1009e968
push edx
call dword [sym.imp.MSVCR100.dll_strtok]
add esp, 8
mov dword [ebp - 0x230], eax
test eax, eax
jne 0x10052133
mov eax, dword [0x101917e0]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
pop edi
pop esi
pop ebx
cmp eax, 1
jne 0x100522af
push 0
mov ecx, 0x101917c0
call sub.mfc100.dll_Ordinal_13219
mov ecx, 0x101917c0
call fcn.1000b0a0
mov ecx, 0x101917c0
call fcn.10011010
mov ecx, 0x101917c0
call fcn.1000b120
mov ecx, 0x101917c0
call fcn.1000b020
mov ecx, 0x101917c0
call fcn.1000bac0
mov ecx, 0x101917c0
call fcn.1000bac0
mov ecx, 0x101917c0
call fcn.1000b670
mov ecx, 0x101917c0
call fcn.1000b8e0
mov ecx, 0x101917c0
call fcn.10011010
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100867e6
mov esp, ebp
pop ebp
ret