Function at 0x100697b8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x244
mov eax, dword [0x100a609c]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
xor ebx, ebx
push esi
push edi
cmp dword [0x1035fef4], ebx
je 0x1006b4bc
mov edx, dword [0x3059750]
mov dword [esp + 0x18], edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x20], ebx
cmp edx, ebx
je 0x1006b4bc
mov dword [esp + 0x14], ebx
call fcn.100061b1
test eax, eax
je 0x100699c4
add edx, 0x53c
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
mov esi, dword [eax]
cmp esi, ebx
jne 0x10069837
inc dword [esp + 0x30]
jmp 0x100699ac
mov edi, dword [sym.imp.MSVCR100.dll_strcmp]
push 0x1009b9c8
push 0x10111d48
call edi
pop ecx
pop ecx
test eax, eax
jne 0x10069894
mov dword [esp + 0x1c], ebx
cmp dword [0x100a78d0], ebx
jle 0x100698af
mov dword [esp + 0xc], 0x100a75b0
push dword [esp + 0xc]
lea eax, [esi + 0x64]
push eax
call edi
pop ecx
pop ecx
test eax, eax
jne 0x1006987d
mov eax, dword [esi + 0xd4c]
add dword [esp + 0x34], eax
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
add dword [esp + 0xc], 0x28
cmp eax, dword [0x100a78d0]
jl 0x10069863
jmp 0x100698af
lea eax, [esi + 0x64]
push 0x10111d48
push eax
call edi
pop ecx
pop ecx
test eax, eax
jne 0x100698af
mov eax, dword [esi + 0xd4c]
add dword [esp + 0x34], eax
push 0x1009b9d4
push 0x10111cb0
call edi
pop ecx
pop ecx
test eax, eax
jne 0x10069906
mov dword [esp + 0xc], ebx
cmp dword [0x100a75a8], ebx
jle 0x10069921
mov dword [esp + 0x1c], 0x100a7288
push dword [esp + 0x1c]
lea eax, [esi + 0x64]
push eax
call edi
pop ecx
pop ecx
test eax, eax
jne 0x100698ef
mov eax, dword [esi + 0xd4c]
add dword [esp + 0x2c], eax
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
add dword [esp + 0x1c], 0x28
cmp eax, dword [0x100a75a8]
jl 0x100698d5
jmp 0x10069921
lea eax, [esi + 0x64]
push 0x10111cb0
push eax
call edi
pop ecx
pop ecx
test eax, eax
jne 0x10069921
mov eax, dword [esi + 0xd4c]
add dword [esp + 0x2c], eax
lea eax, [esi + 0x64]
push 0x1008fd9c
push eax
mov dword [esp + 0x14], eax
call dword [sym.imp.MSVCR100.dll_strstr]
pop ecx
pop ecx
test eax, eax
je 0x1006993e
inc dword [esp + 0x38]
push 0x10098cb0
push dword [esp + 0x10]
call dword [sym.imp.MSVCR100.dll_strstr]
pop ecx
pop ecx
test eax, eax
je 0x10069957
inc dword [esp + 0x20]
cmp dword [esi + 0xdb4], ebx
jne 0x100699ac
cmp dword [0x103c3ec0], 1
jne 0x100699ac
push 0x1009b9e0
push dword [esp + 0x10]
call dword [sym.imp.MSVCR100.dll_strstr]
pop ecx
pop ecx
test eax, eax
jne 0x100699ac
mov esi, 0x1009b9ec
push esi
push dword [esp + 0x10]
call dword [sym.imp.MSVCR100.dll_strstr]
pop ecx
pop ecx
test eax, eax
jne 0x100699a0
push esi
push dword [esp + 0x10]
call edi
pop ecx
pop ecx
test eax, eax
jne 0x100699ac
push dword [esp + 0x14]
xor ecx, ecx
call fcn.1003adfb
pop ecx
inc dword [esp + 0x14]
add dword [esp + 0x10], 4
call fcn.100061b1
cmp dword [esp + 0x14], eax
jb 0x10069824
cmp dword [0x3052d08], 0x9ca5
jne 0x1006a229
cmp dword [0x103ca50c], 1
jne 0x1006a229
cmp dword [0x10112c04], ebx
jle 0x1006a229
cmp dword [0x10112750], ebx
jne 0x10069a08
push 0x1009b9f0
call fcn.1000648e
pop ecx
test eax, eax
jne 0x10069e86
cmp dword [0x1011274c], ebx
jne 0x10069a23
push 0x1009ba04
call fcn.1000648e
pop ecx
test eax, eax
jne 0x10069e86
push 0x1009ba18
call fcn.1000648e
pop ecx
test eax, eax
jne 0x10069e86
mov eax, dword [0x307809c]
movzx eax, word [eax + 0x1ae]
cmp eax, 2
jne 0x10069c4e
mov esi, 0xc8
push esi
lea eax, [esp + 0xbc]
push ebx
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push esi
lea eax, [esp + 0x184]
push ebx
push eax
call sub.MSVCR100.dll_memset
mov edi, dword [sym.imp.MSVCR100.dll_strcat]
add esp, 0xc
xor esi, esi
mov dword [esp + 0x10], ebx
cmp dword [0x103d70e4], ebx
jle 0x10069aa5
mov eax, dword [0x103d70dc]
push dword [eax + esi*4]
lea eax, [esp + 0xbc]
push eax
call edi
inc esi
pop ecx
pop ecx
cmp esi, dword [0x103d70e4]
jl 0x10069a88
xor esi, esi
cmp dword [0x103d7354], ebx
jle 0x10069acc
mov eax, dword [0x103d734c]
push dword [eax + esi*4]
lea eax, [esp + 0x184]
push eax
call edi
inc esi
pop ecx
pop ecx
cmp esi, dword [0x103d7354]
jl 0x10069aaf
lea eax, [esp + 0x180]
push eax
lea eax, [esp + 0xbc]
push eax
call dword [sym.imp.MSVCR100.dll_strcmp]
pop ecx
pop ecx
test eax, eax
jne 0x10069af0
mov dword [esp + 0x10], 1
fld dword [0x1035fdc4]
fild dword [0x10112758]
fucompp
fnstsw ax
test ah, 0x44
jp 0x10069b24
fld dword [0x1035fdc8]
fild dword [0x10112754]
fucompp
fnstsw ax
test ah, 0x44
jp 0x10069b24
cmp dword [esp + 0x10], ebx
jne 0x1006a229
mov eax, dword [0x100a68f4]
cmp eax, ebx
jle 0x10069b32
mov dword [0x103c54d8], eax
push 0xffff
call fcn.1003a32b
fild dword [0x10112758]
pop ecx
push ebx
fstp dword [esp + 0x14]
push ebx
fld dword [esp + 0x18]
push 0x1009
push dword [0x103c5270]
fstp dword [0x1035fdc4]
fld dword [esp + 0x20]
mov dword [0x103c3d20], 1
fstp dword [0x1035fdcc]
fild dword [0x10112754]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fstp dword [0x1035fdc8]
fld dword [esp + 0x20]
fstp dword [0x1035fdd0]
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, 0x103d70dc
call fcn.1000102f
mov dword [esp + 0x14], ebx
mov edi, 0x103c5250
cmp dword [0x103d7354], ebx
jle 0x10069c01
mov eax, dword [0x103d734c]
mov ecx, dword [esp + 0x14]
push dword [eax + ecx*4]
call fcn.10001109
push ebx
push ebx
push 0x1004
push dword [0x103c5270]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x103d734c]
mov edx, dword [esp + 0x14]
push ebx
push ebx
push ebx
push ebx
push dword [ecx + edx*4]
mov ecx, edi
push eax
push 1
call dword [sym.imp.mfc100.dll_Ordinal_7211]
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
cmp eax, dword [0x103d7354]
jl 0x10069bb1
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push ebx
push 0x1004
push dword [0x103c5270]
mov dword [esp + 0x1c], ebx
call esi
test eax, eax
jle 0x10069e50
push 1
push dword [esp + 0x10]
mov ecx, edi
call dword [sym.imp.mfc100.dll_Ordinal_12170]
inc dword [esp + 0xc]
push ebx
push ebx
push 0x1004
push dword [0x103c5270]
call esi
cmp dword [esp + 0xc], eax
jl 0x10069c22
jmp 0x10069e50
cmp eax, 1
jne 0x1006a229
mov esi, 0xc8
push esi
lea eax, [esp + 0xbc]
push ebx
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push esi
lea eax, [esp + 0x184]
push ebx
push eax
call sub.MSVCR100.dll_memset
mov edi, dword [sym.imp.MSVCR100.dll_strcat]
add esp, 0xc
xor esi, esi
mov dword [esp + 0x10], ebx
cmp dword [0x103d70e4], ebx
jle 0x10069cb1
mov eax, dword [0x103d70dc]
push dword [eax + esi*4]
lea eax, [esp + 0xbc]
push eax
call edi
inc esi
pop ecx
pop ecx
cmp esi, dword [0x103d70e4]
jl 0x10069c94
xor esi, esi
cmp dword [0x103d7348], ebx
jle 0x10069cd8
mov eax, dword [0x103d7340]
push dword [eax + esi*4]
lea eax, [esp + 0x184]
push eax
call edi
inc esi
pop ecx
pop ecx
cmp esi, dword [0x103d7348]
jl 0x10069cbb
lea eax, [esp + 0x180]
push eax
lea eax, [esp + 0xbc]
push eax
call dword [sym.imp.MSVCR100.dll_strcmp]
pop ecx
pop ecx
test eax, eax
jne 0x10069cfc
mov dword [esp + 0x10], 1
fld dword [0x1035fdc4]
fild dword [0x10112760]
fucompp
fnstsw ax
test ah, 0x44
jp 0x10069d30
fld dword [0x1035fdc8]
fild dword [0x1011275c]
fucompp
fnstsw ax
test ah, 0x44
jp 0x10069d30
cmp dword [esp + 0x10], ebx
jne 0x1006a229
mov eax, dword [0x100a68f4]
cmp eax, ebx
jle 0x10069d3e
mov dword [0x103c54d8], eax
push 0xffff
call fcn.1003a32b
fild dword [0x10112760]
pop ecx
push ebx
fstp dword [esp + 0x14]
push ebx
fld dword [esp + 0x18]
push 0x1009
push dword [0x103c5270]
fstp dword [0x1035fdc4]
fld dword [esp + 0x20]
mov dword [0x103c3d20], 1
fstp dword [0x1035fdcc]
fild dword [0x1011275c]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fstp dword [0x1035fdc8]
fld dword [esp + 0x20]
fstp dword [0x1035fdd0]
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, 0x103d70dc
call fcn.1000102f
mov dword [esp + 0x14], ebx
mov edi, 0x103c5250
cmp dword [0x103d7348], ebx
jle 0x10069e0d
mov eax, dword [0x103d7340]
mov ecx, dword [esp + 0x14]
push dword [eax + ecx*4]
call fcn.10001109
push ebx
push ebx
push 0x1004
push dword [0x103c5270]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x103d7340]
mov edx, dword [esp + 0x14]
push ebx
push ebx
push ebx
push ebx
push dword [ecx + edx*4]
mov ecx, edi
push eax
push 1
call dword [sym.imp.mfc100.dll_Ordinal_7211]
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
cmp eax, dword [0x103d7348]
jl 0x10069dbd
push ebx
push ebx
mov esi, 0x1004
push esi
push dword [0x103c5270]
mov dword [esp + 0x1c], ebx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jle 0x10069e50
push 1
push dword [esp + 0x10]
mov ecx, edi
call dword [sym.imp.mfc100.dll_Ordinal_12170]
inc dword [esp + 0xc]
push ebx
push ebx
push esi
push dword [0x103c5270]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [esp + 0xc], eax
jl 0x10069e29
push dword [0x103c3c98]
mov eax, 0x1f4
mov dword [0x103c3dd4], eax
mov dword [0x1035fde8], eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
cmp eax, 1
jne 0x10069e7c
push ebx
mov ecx, 0x103c3c78
call dword [sym.imp.mfc100.dll_Ordinal_13219]
call fcn.10041624
jmp 0x1006a229
mov eax, dword [0x307809c]
movzx eax, word [eax + 0x1ae]
cmp eax, 2
jne 0x1006a020
xor edi, edi
xor esi, esi
cmp dword [0x103d70e4], ebx
jle 0x10069ecc
mov eax, dword [0x103d70dc]
push 0x1009ba2c
push dword [eax + esi*4]
call dword [sym.imp.MSVCR100.dll_strcmp]
pop ecx
pop ecx
test eax, eax
jne 0x10069ec3
xor edi, edi
inc edi
inc esi
cmp esi, dword [0x103d70e4]
jl 0x10069ea7
fld dword [0x1035fdc4]
fldz
fucompp
fnstsw ax
test ah, 0x44
jp 0x10069efa
fld dword [0x1035fdc8]
fld qword [0x1009ef58]
fucompp
fnstsw ax
test ah, 0x44
jp 0x10069efa
cmp edi, ebx
jne 0x1006a229
push 0xffff
call fcn.1003a32b
fldz
mov eax, dword [0x103c54d8]
fst dword [0x1035fdc4]
fstp dword [0x1035fdcc]
pop ecx
fld dword [0x1009ef50]
fst dword [0x1035fdc8]
fstp dword [0x1035fdd0]
cmp eax, ebx
jle 0x10069f33
mov dword [0x100a68f4], eax
cmp dword [0x10112748], 1
jne 0x10069f42
mov dword [0x103c54d8], ebx
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push ebx
push 0x1009
push dword [0x103c5270]
xor edi, edi
inc edi
mov dword [0x103c3d20], edi
call esi
push ebx
push ebx
push 0x1004
push dword [0x103c5270]
call esi
push ebx
push ebx
push ebx
push ebx
push 0x1009ba2c
push eax
push edi
mov edi, 0x103c5250
mov ecx, edi
call dword [sym.imp.mfc100.dll_Ordinal_7211]
push 1
push ebx
push ebx
push 0x1004
push dword [0x103c5270]
call esi
dec eax
push eax
mov ecx, edi
call dword [sym.imp.mfc100.dll_Ordinal_12170]
mov eax, 0xb4
mov esi, 0x103d70dc
mov dword [0x103c3dd4], eax
mov dword [0x1035fde8], eax
call fcn.1000102f
push 0x1009ba2c
call fcn.10001109
push dword [0x103c3c98]
call dword [sym.imp.USER32.dll_IsWindowVisible]
cmp eax, 1
jne 0x10069fe2
push ebx
mov ecx, 0x103c3c78
call dword [sym.imp.mfc100.dll_Ordinal_13219]
xor esi, esi
inc esi
cmp dword [0x103c3d0c], esi
je 0x1006a17b
cmp dword [0x103c3de0], esi
jne 0x1006a229
xor edi, edi
mov eax, dword [0x10114474]
lea eax, [eax + edi + 0x44]
push eax
push dword [0x100dfd8c]
call dword [sym.imp.USER32.dll_KillTimer]
inc edi
cmp edi, 0xa
jl 0x10069fff
jmp 0x1006a1f8
cmp eax, 1
jne 0x1006a229
xor edi, edi
xor esi, esi
cmp dword [0x103d70e4], ebx
jle 0x1006a05a
mov eax, dword [0x103d70dc]
push 0x1009ba38
push dword [eax + esi*4]
call dword [sym.imp.MSVCR100.dll_strcmp]
pop ecx
pop ecx
test eax, eax
jne 0x1006a051
xor edi, edi
inc edi
inc esi
cmp esi, dword [0x103d70e4]
jl 0x1006a035
fld dword [0x1035fdc4]
fldz
fucompp
fnstsw ax
test ah, 0x44
jp 0x1006a088
fld dword [0x1035fdc8]
fld qword [0x1009ef48]
fucompp
fnstsw ax
test ah, 0x44
jp 0x1006a088
cmp edi, ebx
jne 0x1006a229
push 0xffff
call fcn.1003a32b
fldz
mov eax, dword [0x103c54d8]
fst dword [0x1035fdc4]
fstp dword [0x1035fdcc]
pop ecx
fld dword [0x1009ef40]
fst dword [0x1035fdc8]
fstp dword [0x1035fdd0]
cmp eax, ebx
jle 0x1006a0c1
mov dword [0x100a68f4], eax
cmp dword [0x10112748], 1
jne 0x1006a0d0
mov dword [0x103c54d8], ebx
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push ebx
push 0x1009
push dword [0x103c5270]
xor edi, edi
inc edi
mov dword [0x103c3d20], edi
call esi
push ebx
push ebx
push 0x1004
push dword [0x103c5270]
call esi
push ebx
push ebx
push ebx
push ebx
push 0x1009ba38
push eax
push edi
mov edi, 0x103c5250
mov ecx, edi
call dword [sym.imp.mfc100.dll_Ordinal_7211]
push 1
push ebx
push ebx
push 0x1004
push dword [0x103c5270]
call esi
dec eax
push eax
mov ecx, edi
call dword [sym.imp.mfc100.dll_Ordinal_12170]
mov eax, 0xb4
mov esi, 0x103d70dc
mov dword [0x103c3dd4], eax
mov dword [0x1035fde8], eax
call fcn.1000102f
push 0x1009ba38
call fcn.10001109
push dword [0x103c3c98]
call dword [sym.imp.USER32.dll_IsWindowVisible]
cmp eax, 1
jne 0x1006a170
push ebx
mov ecx, 0x103c3c78
call dword [sym.imp.mfc100.dll_Ordinal_13219]
xor esi, esi
inc esi
cmp dword [0x103c3d0c], esi
jne 0x1006a1d2
mov eax, dword [0x10114474]
push fcn.10037d4c
push 0x1f4
add eax, 0x4d
push eax
push dword [0x100dfd8c]
mov dword [0x10112788], esi
mov dword [0x10112c04], ebx
mov dword [0x10112bfc], ebx
call dword [sym.imp.USER32.dll_SetTimer]
fld dword [0x1035fdc8]
sub esp, 0xc
fstp dword [esp + 8]
fldz
fstp dword [esp + 4]
fld dword [0x1035fdc4]
fstp dword [esp]
call fcn.1003a670
add esp, 0xc
jmp 0x1006a229
cmp dword [0x103c3de0], esi
jne 0x1006a229
xor edi, edi
mov eax, dword [0x10114474]
lea eax, [eax + edi + 0x44]
push eax
push dword [0x100dfd8c]
call dword [sym.imp.USER32.dll_KillTimer]
inc edi
cmp edi, 0xa
jl 0x1006a1dc
mov eax, dword [0x10114474]
push fcn.10049e0e
push 0x12c
add eax, 0x4d
push eax
push dword [0x100dfd8c]
mov dword [0x10112788], esi
mov dword [0x1035ff24], ebx
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [0x10112bfc], ebx
cmp dword [0x3052d08], 0xa7f9
jne 0x1006a3dd
cmp dword [0x3592ee8], ebx
jle 0x1006a3dd
mov dword [esp + 0x10], 0x3086b20
mov dword [esp + 0x1c], ebx
cmp dword [0x3078050], ebx
jle 0x1006a3dd
mov eax, dword [esp + 0x10]
mov edi, dword [eax]
add dword [esp + 0x10], 4
cmp dword [edi], 0xe23bd4
jne 0x1006a3c8
cmp dword [0x103c407c], 3
mov esi, dword [sym.imp.MSVCR100.dll_strstr]
jle 0x1006a2e7
lea eax, [edi + 0x360]
push 0x100988b8
push eax
call esi
pop ecx
pop ecx
test eax, eax
je 0x1006a2e7
mov eax, dword [0x307809c]
mov eax, dword [eax + 0x1d20]
mov ecx, 0xe23bd4
call fcn.10006651
cmp eax, ebx
je 0x1006a3c8
add eax, 0x360
push 0x100988a8
push eax
call esi
pop ecx
pop ecx
test eax, eax
je 0x1006a3c8
push 0x100988a8
call fcn.100060db
mov dword [esp], 0xffff
call fcn.1003a32b
pop ecx
jmp 0x1006a3c8
cmp dword [0x103ca3a4], 1
jne 0x1006a396
lea eax, [edi + 0x360]
push 0x1009a984
push eax
call esi
pop ecx
pop ecx
test eax, eax
je 0x1006a396
cmp dword [edi + 0x10d0], ebx
jl 0x1006a3c8
push 0x1009a984
call fcn.100060db
mov edi, dword [edi + 0x14]
mov dword [esp], 0x1009b960
call fcn.100060db
pop ecx
call fcn.100744bd
push edi
lea eax, [esp + 0xbc]
push 0x1009b96c
push eax
mov dword [0x101127c4], 2
mov dword [0x103854d8], ebx
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0xc
lea eax, [esp + 0xb8]
push eax
mov eax, dword [0x103854d8]
imul eax, eax, 0x50
add eax, 0x103854dc
push eax
call dword [sym.imp.MSVCR100.dll_strcpy]
inc dword [0x103854d8]
pop ecx
pop ecx
mov dword [0x10399144], 1
call fcn.1005fd5f
jmp 0x1006b4bc
cmp dword [0x103ca3a0], 1
jne 0x1006a3c8
lea eax, [edi + 0x360]
push 0x1009a8f8
push eax
call esi
pop ecx
pop ecx
test eax, eax
je 0x1006a3c8
cmp dword [edi + 0x10d0], ebx
jle 0x1006a3c8
cmp byte [edi + 0x10c8], 1
jne 0x1006a4cc
inc dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov eax, 0x3078050
cmp ecx, dword [eax]
jl 0x1006a25d
cmp dword [0x103c3ea8], 1
jne 0x1006a4d6
cmp dword [0x3596832], ebx
je 0x1006a4d6
cmp dword [esp + 0x30], 2
jne 0x1006a4d6
cmp dword [0x101127c4], 6
je 0x1006a4d6
mov dword [esp + 0x14], ebx
mov dword [esp + 0xc], ebx
call fcn.100061b1
test eax, eax
je 0x1006a4d6
mov eax, dword [esp + 0x18]
add eax, 0x53c
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov esi, dword [eax]
mov dword [esp + 0x10], ebx
cmp esi, ebx
je 0x1006a4a3
xor ecx, ecx
inc ecx
cmp dword [0x103c76c0], ecx
jne 0x1006a46c
mov eax, dword [esi + 0xd54]
cmp eax, ebx
jle 0x1006a46c
cmp eax, 5
jg 0x1006a46c
cmp dword [esi + 0xe44], ebx
jg 0x1006a468
cmp dword [esi + 0xe5c], ebx
jle 0x1006a46c
mov dword [esp + 0x10], ecx
lea edi, [esi + 0x64]
call fcn.10037249
test al, al
je 0x1006a4a3
push ebx
mov ecx, esi
call fcn.10036fcc
pop ecx
test eax, eax
jg 0x1006a4a3
mov eax, esi
call fcn.100376a4
test al, al
jne 0x1006a498
mov dword [esp + 0x10], 1
cmp dword [esp + 0x10], 1
je 0x1006a4a3
inc dword [esp + 0x14]
inc dword [esp + 0xc]
add dword [esp + 0x1c], 4
call fcn.100061b1
cmp dword [esp + 0xc], eax
jb 0x1006a430
cmp dword [esp + 0x14], 2
jle 0x1006a4d6
call fcn.10068efc
jmp 0x1006b4bc
call fcn.10069106
jmp 0x1006b4bc
cmp dword [0x103c88c4], 1
jne 0x1006a696
cmp dword [esp + 0x30], ebx
jne 0x1006a696
cmp dword [0x101127c4], 6
je 0x1006a696
mov dword [esp + 0xc], ebx
mov dword [esp + 0x1c], ebx
call fcn.100061b1
test eax, eax
je 0x1006a696
mov eax, dword [esp + 0x18]
add eax, 0x53c
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov edi, dword [eax]
cmp edi, ebx
je 0x1006a66d
lea eax, [edi + 0x64]
push eax
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.MSVCR100.dll_strcpy]
mov esi, dword [sym.imp.MSVCR100.dll_strcmp]
lea eax, [esp + 0x48]
push 0x1008c160
push eax
call esi
add esp, 0x10
test eax, eax
je 0x1006a65c
lea eax, [esp + 0x40]
push 0x1008c168
push eax
call esi
pop ecx
pop ecx
test eax, eax
je 0x1006a65c
lea eax, [esp + 0x40]
push 0x1008c170
push eax
call esi
pop ecx
pop ecx
test eax, eax
je 0x1006a65c
lea eax, [esp + 0x40]
push 0x1008c17c
push eax
call esi
pop ecx
pop ecx
test eax, eax
je 0x1006a65c
lea eax, [esp + 0x40]
push 0x1008fdc4
push eax
call esi
pop ecx
pop ecx
test eax, eax
je 0x1006a65c
lea eax, [esp + 0x40]
push 0x1008fdcc
push eax
call esi
pop ecx
pop ecx
test eax, eax
je 0x1006a65c
lea eax, [esp + 0x40]
push 0x1008c190
push eax
call esi
pop ecx
pop ecx
test eax, eax
je 0x1006a65c
lea eax, [esp + 0x40]
push 0x1008c19c
push eax
call esi
pop ecx
pop ecx
test eax, eax
je 0x1006a65c
lea eax, [esp + 0x40]
push 0x1008fdd4
push eax
call esi
pop ecx
pop ecx
test eax, eax
je 0x1006a65c
lea eax, [esp + 0x40]
push 0x1008fddc
push eax
call esi
pop ecx
pop ecx
test eax, eax
je 0x1006a65c
lea eax, [esp + 0x40]
push 0x1008fde8
push eax
call esi
pop ecx
pop ecx
test eax, eax
je 0x1006a65c
lea eax, [esp + 0x40]
push 0x1008c1a8
push eax
call dword [sym.imp.MSVCR100.dll_strstr]
pop ecx
pop ecx
test eax, eax
jne 0x1006a65c
lea eax, [esp + 0x40]
push 0x1008c1b0
push eax
call esi
pop ecx
pop ecx
test eax, eax
je 0x1006a65c
lea eax, [esp + 0x40]
push 0x1008c1bc
push eax
call esi
pop ecx
pop ecx
test eax, eax
jne 0x1006a66d
push ebx
mov ecx, edi
call fcn.10036fcc
pop ecx
test eax, eax
jg 0x1006a66d
inc dword [esp + 0xc]
inc dword [esp + 0x1c]
add dword [esp + 0x10], 4
call fcn.100061b1
cmp dword [esp + 0x1c], eax
jb 0x1006a51c
cmp dword [esp + 0xc], 2
jle 0x1006a696
call fcn.10069197
jmp 0x1006b4bc
xor ecx, ecx
inc ecx
cmp dword [0x103c6afc], ecx
jne 0x1006a6b9
cmp dword [esp + 0x38], ebx
jne 0x1006a6b9
push ebx
push 0x1009ba44
call fcn.1003788e
pop ecx
pop ecx
jmp 0x1006b4bc
cmp dword [0x103c6b00], ecx
jne 0x1006a6ea
fld dword [0x3592f54]
fdiv dword [0x3592f58]
fild dword [0x103c6b04]
fdiv qword [0x1009edf0]
fcompp
fnstsw ax
test ah, 0x41
jp 0x1006a6ea
push ebx
push 0x1009ba5c
jmp 0x1006a6ad
cmp dword [0x103c66f8], ecx
jne 0x1006a706
mov eax, dword [esp + 0x34]
cmp eax, dword [0x103c6ae4]
jg 0x1006a706
push ebx
push 0x1009ba64
jmp 0x1006a6ad
cmp dword [0x103ca718], ecx
jne 0x1006a7af
cmp byte [0x10360a37], bl
jne 0x1006a7af
push ebx
call dword [sym.imp.MSVCR100.dll__time64]
mov dword [esp + 0x3c], eax
pop ecx
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x40], edx
call dword [sym.imp.MSVCR100.dll__localtime64]
pop ecx
push eax
push 0x1009b0a8
lea eax, [esp + 0x98]
push 0x14
push eax
call dword [sym.imp.MSVCR100.dll_strftime]
lea eax, [esp + 0xa0]
push str.Monday
push eax
call dword [sym.imp.MSVCR100.dll_strcmp]
add esp, 0x18
test eax, eax
jne 0x1006a7af
lea eax, [esp + 0xb8]
push eax
call dword [sym.imp.MSVCR100.dll__strtime]
pop ecx
lea eax, [esp + 0xb8]
push eax
push 2
pop edi
lea esi, [esp + 0xa8]
call fcn.100064da
pop ecx
mov eax, esi
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
add eax, 0xffffffee
pop ecx
cmp eax, edi
ja 0x1006a7af
push ebx
push 0x1009ba7c
call fcn.1003788e
pop ecx
pop ecx
cmp dword [0x103ca490], 1
jne 0x1006a7c3
push 0x1009ba84
call fcn.1000648e
pop ecx
xor esi, esi
inc esi
cmp dword [0x103c66fc], esi
jne 0x1006a7e5
mov eax, dword [esp + 0x2c]
cmp eax, dword [0x103c6ae8]
jg 0x1006a7e5
push ebx
push 0x1009ba90
jmp 0x1006a6ad
cmp dword [0x103c6704], esi
jne 0x1006a807
cmp dword [esp + 0x30], ebx
jne 0x1006a807
cmp dword [0x101127c4], 6
je 0x1006a807
push ebx
push 0x1009baa8
jmp 0x1006a6ad
cmp dword [0x103c6ed4], esi
jne 0x1006a83e
mov eax, dword [0x3059754]
xor edx, edx
lea ecx, [eax + 0x53c]
mov eax, dword [ecx]
cmp eax, ebx
je 0x1006a835
cmp dword [eax + 0xe00], 0x32
jne 0x1006a835
cmp word [eax + 0xf64], 0xa
jbe 0x1006a888
inc edx
add ecx, 4
cmp edx, 0xf
jl 0x1006a81c
cmp dword [0x103c9384], esi
jne 0x1006a893
push dword [0x103c9248]
call dword [sym.imp.USER32.dll_IsWindowVisible]
cmp eax, 1
jne 0x1006a877
push 0x177d
mov ecx, 0x103c9228
call dword [sym.imp.mfc100.dll_Ordinal_4785]
push ebx
push ebx
push 0xf1
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
push ebx
mov dword [0x103c9384], ebx
push 0x1009bae0
jmp 0x1006a6ad
push ebx
push 0x1009bac0
jmp 0x1006a6ad
cmp dword [0x103c6ed8], esi
jne 0x1006a8ac
cmp dword [esp + 0x20], ebx
jne 0x1006a8ac
push ebx
push 0x1009baec
jmp 0x1006a6ad
cmp dword [0x103c6700], esi
jne 0x1006a9d4
mov eax, dword [0x307809c]
mov eax, dword [eax + 0x2a60]
cmp eax, 4
je 0x1006a8d1
cmp eax, 0xb
jne 0x1006a9d4
mov eax, dword [0x3059754]
mov eax, dword [eax + 0x56c]
cmp eax, ebx
je 0x1006a8f2
mov eax, dword [eax + 0xd4c]
cmp eax, dword [0x103c6aec]
jg 0x1006a9d4
mov dword [esp + 0xc], ebx
call fcn.100061b1
test eax, eax
je 0x1006a9bd
mov eax, dword [esp + 0x18]
add eax, 0x53c
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
mov dword [esp + 0x20], eax
cmp eax, ebx
je 0x1006a9a5
mov esi, dword [sym.imp.MSVCR100.dll_strcmp]
mov edi, eax
add edi, 0x64
push 0x1009aa84
push edi
call esi
pop ecx
pop ecx
test eax, eax
je 0x1006a993
push 0x1009aa8c
push edi
call esi
pop ecx
pop ecx
test eax, eax
je 0x1006a993
push 0x1009aa94
push edi
call esi
pop ecx
pop ecx
test eax, eax
je 0x1006a993
push 0x1009aa9c
push edi
call esi
pop ecx
pop ecx
test eax, eax
je 0x1006a993
push 0x1009aaa4
push edi
call esi
pop ecx
pop ecx
test eax, eax
je 0x1006a993
push 0x1009aaac
push edi
call esi
pop ecx
pop ecx
test eax, eax
je 0x1006a993
push 0x1009aabc
push edi
call dword [sym.imp.MSVCR100.dll_strstr]
pop ecx
pop ecx
test eax, eax
je 0x1006a9a5
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0xd4c]
cmp eax, dword [0x103c6aec]
jg 0x1006a9c8
inc dword [esp + 0xc]
add dword [esp + 0x18], 4
call fcn.100061b1
cmp dword [esp + 0xc], eax
jb 0x1006a910
push ebx
push 0x1009bb00
jmp 0x1006a6ad
push dword [esp + 0xc]
xor ecx, ecx
call fcn.1003adfb
pop ecx
cmp dword [0x103c5504], 1
jne 0x1006a9e9
mov ebx, 0x1008d94c
call fcn.10069692
xor ebx, ebx
cmp dword [0x103c5500], 1
jne 0x1006a9fe
mov ebx, 0x1009b9bc
call fcn.10069692
xor ebx, ebx
cmp dword [0x103c54fc], 1
jne 0x1006aa13
mov ebx, 0x1009b9b0
call fcn.10069692
xor ebx, ebx
cmp dword [0x103c5634], 1
jne 0x1006aa26
mov edi, 0x1008d9d8
call fcn.100693ad
cmp dword [0x103c5638], 1
jne 0x1006aa39
mov edi, 0x1008d9e0
call fcn.100693ad
cmp dword [0x103c563c], 1
jne 0x1006aa4c
mov edi, 0x1008d9e8
call fcn.100693ad
cmp dword [0x103c5810], 1
jne 0x1006aa5f
mov edi, 0x10098c94
call fcn.100693ad
cmp dword [0x103c580c], 1
jne 0x1006aa72
mov edi, 0x1009b988
call fcn.100693ad
cmp dword [0x10112bfc], ebx
jle 0x1006aa7f
call fcn.1006954f
cmp dword [0x101127c4], 5
je 0x1006b4bc
cmp dword [0x103ca98c], 1
je 0x1006aaa7
cmp dword [0x103ca990], 1
je 0x1006aaa7
cmp dword [0x103ca9a0], 1
jne 0x1006aaac
call fcn.1006d8ed
cmp dword [0x103c54ec], 1
jne 0x1006ae0b
cmp dword [0x10112bfc], ebx
jle 0x1006ae0b
cmp dword [0x1035ff2c], ebx
jne 0x1006ae0b
mov edi, 0x10360048
push edi
call dword [sym.imp.MSVCR100.dll_strlen]
pop ecx
test eax, eax
je 0x1006abf2
mov esi, 0x1009005c
push esi
push edi
mov edi, dword [sym.imp.MSVCR100.dll_strtok]
mov dword [esp + 0x28], ebx
call edi
pop ecx
pop ecx
cmp eax, ebx
je 0x1006abf2
lea ecx, [esp + 0x40]
mov dword [esp + 0x18], ecx
push eax
push dword [esp + 0x1c]
call dword [sym.imp.MSVCR100.dll_strcpy]
inc dword [esp + 0x28]
add dword [esp + 0x20], 0x14
push esi
push ebx
call edi
add esp, 0x10
cmp eax, ebx
jne 0x1006ab0b
cmp dword [esp + 0x20], 4
jne 0x1006abf2
cmp dword [0x103c54f8], 1
je 0x1006ab47
cmp dword [0x103c5f54], 1
jne 0x1006ab89
mov esi, 0x305b5c0
mov eax, dword [esi]
cmp eax, ebx
je 0x1006ab75
cmp byte [eax + 0x330], bl
jbe 0x1006ab75
lea ecx, [esp + 0x40]
push ecx
add eax, 0x338
push eax
call dword [sym.imp.MSVCR100.dll_strcmp]
pop ecx
pop ecx
test eax, eax
je 0x1006ad29
add esi, 4
cmp esi, 0x305b5dc
jl 0x1006ab4c
cmp dword [0x103c5f54], 1
jne 0x1006abf2
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push ebx
mov edi, 0x18b
push edi
push dword [0x103c552c]
mov dword [esp + 0x1c], ebx
call esi
test eax, eax
jle 0x1006abf2
lea eax, [esp + 0xb8]
push eax
push dword [esp + 0x10]
push 0x189
push dword [0x103c552c]
call esi
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0xbc]
push eax
call dword [sym.imp.MSVCR100.dll_strcmp]
pop ecx
pop ecx
test eax, eax
je 0x1006ad29
inc dword [esp + 0xc]
push ebx
push ebx
push edi
push dword [0x103c552c]
call esi
cmp dword [esp + 0xc], eax
jl 0x1006aba7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x3e8
div ecx
mov esi, eax
sub eax, dword [0x1035feb0]
cmp eax, dword [0x103c5508]
jb 0x1006ad72
cmp dword [0x101127c4], 4
je 0x1006ad72
xor edi, edi
inc edi
cmp dword [0x103c3d0c], edi
je 0x1006ac35
cmp dword [0x103c3de0], edi
jne 0x1006ac87
fld dword [0x1035fdc8]
mov eax, dword [0x307809c]
sub esp, 0x10
fstp dword [esp + 0xc]
fld dword [0x1035fdc4]
fstp dword [esp + 8]
fld dword [eax + 0x1f74]
fstp dword [esp + 4]
fld dword [eax + 0x1f6c]
fstp dword [esp]
call fcn.100063eb
fstp dword [esp + 0x28]
add esp, 0x10
fld dword [esp + 0x18]
fild dword [0x1035fde8]
fcompp
fnstsw ax
test ah, 5
jnp 0x1006b4bc
cmp dword [0x103c3de8], edi
jne 0x1006acd7
fld dword [0x1035fdc8]
mov eax, dword [0x307809c]
sub esp, 0x10
fstp dword [esp + 0xc]
fld dword [0x1035fdc4]
fstp dword [esp + 8]
fld dword [eax + 0x1f74]
fstp dword [esp + 4]
fld dword [eax + 0x1f6c]
fstp dword [esp]
call fcn.100063eb
fcomp qword [0x1009ee30]
add esp, 0x10
fnstsw ax
test ah, 0x41
je 0x1006b4bc
cmp dword [0x3052d08], 0x321
jne 0x1006acf5
mov eax, dword [0x307809c]
call fcn.1003ca68
test al, al
je 0x1006b4bc
cmp dword [0x103c4080], edi
jne 0x1006ad4a
cmp dword [0x103c3d0c], edi
jne 0x1006ad4a
mov eax, dword [0x307809c]
mov eax, dword [eax + 0x1d20]
mov ecx, 0xe23bd4
call fcn.10006651
test eax, eax
je 0x1006ad4a
mov dword [0x1035ff10], edi
jmp 0x1006b4bc
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
pop ecx
lea edx, [esp + 0x6c]
mov ecx, eax
call fcn.1006b778
jmp 0x1006a6b3
push edi
call fcn.10070896
mov eax, dword [0x3059754]
pop ecx
mov dword [0x1035feb0], esi
cmp dword [eax + 0x548], ebx
je 0x1006b4bc
call fcn.1006ca95
jmp 0x1006b4bc
mov edi, dword [sym.imp.MSVCR100.dll_strcmp]
mov dword [esp + 0xc], ebx
mov ecx, dword [esp + 0xc]
lea esi, [esp + 0x40]
call fcn.10006348
mov eax, esi
push 0x1009882c
push eax
call edi
pop ecx
pop ecx
test eax, eax
je 0x1006ade9
mov eax, esi
push 0x1009885c
push eax
call edi
pop ecx
pop ecx
test eax, eax
je 0x1006ade9
mov eax, esi
push 0x10098868
push eax
call edi
pop ecx
pop ecx
test eax, eax
je 0x1006ade9
mov eax, esi
push 0x10098850
push eax
call edi
pop ecx
pop ecx
test eax, eax
je 0x1006ade9
mov eax, esi
push 0x10098844
push eax
call edi
pop ecx
pop ecx
test eax, eax
je 0x1006ade9
mov eax, esi
push 0x10098874
push eax
call edi
pop ecx
pop ecx
test eax, eax
jne 0x1006adfc
lea eax, [esp + 0x40]
push eax
call fcn.1000648e
pop ecx
test eax, eax
je 0x1006af3d
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 0x14
jl 0x1006ad7c
cmp dword [0x103c3eb4], 1
jne 0x1006af4c
cmp dword [0x1035fecc], 0xffffffff
je 0x1006af4c
cmp dword [0x10112bfc], ebx
jle 0x1006af4c
cmp dword [0x101127c4], 4
je 0x1006af4c
cmp dword [0x1035ff2c], ebx
jne 0x1006af4c
push 0x1009bb18
call fcn.1000648e
pop ecx
test eax, eax
jne 0x1006af4c
mov eax, dword [0x305b5c0]
add eax, 0x338
push eax
call dword [sym.imp.MSVCR100.dll_strlen]
pop ecx
test eax, eax
je 0x1006af4c
xor esi, esi
inc esi
cmp dword [0x103c3d0c], esi
je 0x1006ae8a
cmp dword [0x103c3de0], esi
jne 0x1006aedc
fld dword [0x1035fdc8]
mov eax, dword [0x307809c]
sub esp, 0x10
fstp dword [esp + 0xc]
fld dword [0x1035fdc4]
fstp dword [esp + 8]
fld dword [eax + 0x1f74]
fstp dword [esp + 4]
fld dword [eax + 0x1f6c]
fstp dword [esp]
call fcn.100063eb
fstp dword [esp + 0x28]
add esp, 0x10
fld dword [esp + 0x18]
fild dword [0x1035fde8]
fcompp
fnstsw ax
test ah, 5
jnp 0x1006b4bc
cmp dword [0x103c3de8], esi
jne 0x1006af2c
fld dword [0x1035fdc8]
mov eax, dword [0x307809c]
sub esp, 0x10
fstp dword [esp + 0xc]
fld dword [0x1035fdc4]
fstp dword [esp + 8]
fld dword [eax + 0x1f74]
fstp dword [esp + 4]
fld dword [eax + 0x1f6c]
fstp dword [esp]
call fcn.100063eb
fcomp qword [0x1009ee30]
add esp, 0x10
fnstsw ax
test ah, 0x41
je 0x1006b4bc
push esi
call fcn.10070896
pop ecx
call fcn.1006ca53
jmp 0x1006b4bc
mov dword [0x1035feb0], 0xffff8ad0
jmp 0x1006b4bc
mov eax, dword [0x307809c]
mov eax, dword [eax + 0x2a60]
cmp eax, 6
jne 0x1006af93
xor edi, edi
lea esi, [esp + 0x40]
mov ecx, edi
call fcn.10006348
mov eax, esi
push eax
push 0x1008d94c
call dword [sym.imp.MSVCR100.dll_strcmp]
pop ecx
pop ecx
test eax, eax
je 0x1006af85
inc edi
cmp edi, 0x14
jl 0x1006af5e
jmp 0x1006afc3
cmp dword [esp + 0x58], 0xbb8
ja 0x1006afbc
push 1
jmp 0x1006afbd
cmp eax, 5
je 0x1006afc3
cmp dword [0x101127c4], 6
je 0x1006afc3
xor ecx, ecx
cmp eax, 3
setne cl
lea eax, [ecx - 1]
and eax, 0xffffffce
add eax, 0x3b6
cmp dword [0x3592ef0], eax
jge 0x1006af8f
push ebx
call fcn.10070896
pop ecx
movzx eax, byte [0x3592e9c]
push ebx
push ebx
push 0x1004
push dword [0x103d0fac]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ebx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jle 0x1006b2d8
push dword [esp + 0x14]
mov ecx, 0x103d0f8c
call dword [sym.imp.mfc100.dll_Ordinal_4554]
cmp eax, 1
jne 0x1006b2b7
push 0x64
lea eax, [esp + 0xbc]
push ebx
push eax
call sub.MSVCR100.dll_memset
mov esi, dword [sym.imp.mfc100.dll_Ordinal_5176]
add esp, 0xc
push 0x64
lea eax, [esp + 0xbc]
push eax
push ebx
push dword [esp + 0x20]
mov edi, 0x103d0f8c
mov ecx, edi
call esi
push 0x14
lea eax, [esp + 0x44]
push eax
push 2
push dword [esp + 0x20]
mov ecx, edi
call esi
lea eax, [esp + 0xb8]
push eax
call fcn.10020de9
pop ecx
mov dword [esp + 0xc], eax
cmp eax, 0xffffffff
je 0x1006b2b7
mov ecx, eax
mov al, byte [ecx + 0x1c]
movzx edx, al
cmp edx, dword [esp + 0x18]
jle 0x1006b078
cmp al, 0xc8
jne 0x1006b2b7
mov eax, dword [ecx + 0x50]
sub eax, dword [ecx + 0x4c]
mov esi, 0x134
cdq
idiv esi
cmp eax, dword [ecx + 0xb8]
je 0x1006b2b7
lea eax, [esp + 0xb8]
push 0x1009bb24
push eax
call dword [sym.imp.MSVCR100.dll_strstr]
pop ecx
pop ecx
test eax, eax
je 0x1006b142
push ebx
call dword [sym.imp.MSVCR100.dll__time64]
mov dword [esp + 0x24], eax
pop ecx
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x28], edx
call dword [sym.imp.MSVCR100.dll__localtime64]
pop ecx
push eax
push 0x1009b0a8
lea eax, [esp + 0xac]
push 0x14
push eax
call dword [sym.imp.MSVCR100.dll_strftime]
lea eax, [esp + 0xb4]
push str.Monday
push eax
call dword [sym.imp.MSVCR100.dll_strcmp]
add esp, 0x18
test eax, eax
jne 0x1006b2b7
lea eax, [esp + 0x180]
push eax
call dword [sym.imp.MSVCR100.dll__strtime]
pop ecx
lea eax, [esp + 0x180]
push eax
push 2
pop edi
lea esi, [esp + 0x94]
call fcn.100064da
pop ecx
mov eax, esi
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
pop ecx
cmp eax, 0x12
jl 0x1006b2b7
cmp eax, 0x14
jg 0x1006b2b7
mov eax, dword [0x103d7168]
xor edi, edi
cmp eax, ebx
jle 0x1006b169
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx]
mov edx, dword [0x103d7160]
mov edx, dword [edx + edi*4]
cmp dword [edx], ecx
je 0x1006b28b
inc edi
cmp edi, eax
jl 0x1006b153
push dword [esp + 0x14]
push dword [esp + 0x10]
call fcn.1006ba17
pop ecx
pop ecx
cmp dword [0x1035ff98], ebx
jne 0x1006b37d
cmp dword [0x1035ffa4], ebx
jne 0x1006b37d
push 0x32
lea eax, [esp + 0xbc]
push ebx
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x32
lea eax, [esp + 0x44]
push ebx
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push dword [0x3052d08]
lea esi, [esp + 0xbc]
call fcn.10006e6d
pop ecx
push 0x1e
lea eax, [esp + 0x44]
push eax
mov ecx, 0x103c52cc
call dword [sym.imp.mfc100.dll_Ordinal_6969]
mov eax, esi
mov esi, dword [sym.imp.MSVCR100.dll_strcmp]
push 0x1009bb48
push eax
call esi
pop ecx
pop ecx
mov edi, 0x1009bb54
test eax, eax
jne 0x1006b205
lea eax, [esp + 0x40]
push edi
push eax
call esi
pop ecx
pop ecx
test eax, eax
je 0x1006b37d
lea eax, [esp + 0xb8]
push 0x1008c8a4
push eax
call esi
pop ecx
pop ecx
test eax, eax
je 0x1006b37d
lea eax, [esp + 0xb8]
push edi
push eax
call esi
pop ecx
pop ecx
test eax, eax
je 0x1006b37d
mov edi, dword [sym.imp.MSVCR100.dll_strstr]
lea eax, [esp + 0x40]
push 0x10092590
push eax
call edi
pop ecx
test eax, eax
pop ecx
lea eax, [esp + 0x40]
je 0x1006b356
sub eax, 2
push eax
call dword [sym.imp.MSVCR100.dll_strlen]
mov byte [esp + eax + 0x44], bl
pop ecx
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
add eax, 0x59d8
cmp eax, dword [0x3052d08]
pop ecx
je 0x1006b37d
push 4
push 0x1009bb60
jmp 0x1006a6ad
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov eax, dword [0x103d716c]
mov eax, dword [eax + edi*4]
sub esi, dword [eax]
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
imul eax, eax, 0xea60
pop ecx
cmp esi, eax
jae 0x1006b169
inc dword [esp + 0x14]
push ebx
push ebx
push 0x1004
push dword [0x103d0fac]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [esp + 0x14], eax
jl 0x1006afed
cmp dword [0x1035ff98], 1
jne 0x1006b178
push 0x1f4
mov dword [0x1035ff98], ebx
call dword [sym.imp.mfc100.dll_Ordinal_265]
mov dword [esp], 0x3592e68
push 0x10111f10
mov esi, eax
push str._s_s.txt
push esi
call dword [sym.imp.MSVCR100.dll_sprintf]
mov ecx, esi
call fcn.10055a82
fld dword [0x103c3dd8]
fst dword [0x1035fdc4]
push 1
fstp dword [0x1035fdcc]
push 0x1009bb34
fld dword [0x103c3ddc]
fst dword [0x1035fdc8]
fstp dword [0x1035fdd0]
call fcn.1003788e
push esi
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 0x1c
jmp 0x1006b4bc
push 0x1008cfec
push eax
call edi
pop ecx
test eax, eax
pop ecx
lea eax, [esp + 0xb8]
je 0x1006b3e3
push eax
lea eax, [esp + 0x44]
push eax
call edi
pop ecx
pop ecx
test eax, eax
je 0x1006b27f
xor esi, esi
cmp byte [0x1038549d], bl
jbe 0x1006b4bc
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x18], 0x1038532a
call edi
sub eax, dword [esi*4 + 0x10385408]
cmp eax, 0x2710
jb 0x1006b3cd
push dword [esp + 0x18]
call fcn.1000648e
pop ecx
cmp eax, ebx
je 0x1006b426
movzx ecx, word [esi*2 + 0x103853f2]
imul ecx, ecx, 0x3e8
cmp dword [eax + 0x354], ecx
jl 0x1006b426
movzx eax, byte [0x1038549d]
add dword [esp + 0x18], 0x14
inc esi
cmp esi, eax
jl 0x1006b399
jmp 0x1006b4bc
push 0x1009bb80
push eax
call edi
pop ecx
pop ecx
test eax, eax
jne 0x1006b37d
lea eax, [esp + 0x40]
push 0x1008d010
push eax
call edi
pop ecx
pop ecx
test eax, eax
je 0x1006b40f
lea eax, [esp + 0xb8]
jmp 0x1006b36b
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0xbc]
push eax
call esi
pop ecx
test eax, eax
jmp 0x1006b278
cmp byte [0x1038549c], 1
jne 0x1006b439
call fcn.1006b4d1
jmp 0x1006b4bc
call edi
mov dword [esi*4 + 0x10385408], eax
cmp byte [esi + 0x10385190], 1
jne 0x1006b476
mov edi, dword [0x307809c]
fld dword [edi + 0x1f74]
call fcn.100840a0
fld dword [edi + 0x1f6c]
push eax
call fcn.100840a0
push eax
push dword [0x3052d08]
push str._d._d._d
jmp 0x1006b494
mov eax, esi
imul eax, eax, 0x14
lea ecx, [eax + 0x10385262]
push ecx
lea eax, [eax + 0x1038519a]
push eax
push dword [0x3052d08]
push str._d._s._s
lea eax, [esp + 0xc8]
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
mov ecx, esi
imul ecx, ecx, 0x14
add esp, 0x14
add ecx, 0x103850c8
lea ebx, [esp + 0xb8]
call fcn.1003d9fe
mov ecx, dword [esp + 0x24c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1008344f
mov esp, ebp
pop ebp
ret