Function at 0x40bdd0
Capabilities:
Manipulate console buffer
Read file on windows
Terminate process
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [0x430cb8]
push ebx
xor ebx, ebx
add eax, 0xfffffffe
push esi
push edi
mov dword [0x430ca8], 0x32
mov dword [ebp - 0x1f8], ebx
mov dword [ebp - 0x1e8], ebx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x230], ebx
cmp eax, 7
ja case.0x40be1b.4
jmp dword [eax*4 + 0x40ed10]
mov edi, dword [0x42fb48]
mov eax, dword [edi + 4]
mov ecx, dword [edi + 0x3c]
mov dword [ebp - 0x1d4], eax
mov dword [ebp - 0x1c4], ecx
mov dword [0x42f9d0], ebx
mov dword [0x42f9d4], ebx
jmp 0x40c088
mov edx, dword [0x42fd54]
mov ecx, dword [0x42fb48]
mov eax, dword [0x42fd78]
mov dword [ebp - 0x1d4], edx
mov edx, dword [ecx]
push edx
mov dword [ebp - 0x1c4], eax
call dword [sym.imp.MSVCR100.dll__ftelli64]
mov edi, dword [0x42fb48]
mov ecx, dword [0x42fd68]
mov dword [0x42f9d0], eax
mov eax, dword [0x42fd44]
add esp, 4
mov dword [0x42f9d4], edx
mov dword [edi + 8], 0x42fd40
mov dword [edi + 0x40], 0x42fd64
mov dword [edi + 0xc], eax
mov dword [edi + 0x44], ecx
jmp 0x40c088
mov edi, dword [0x42fb48]
mov eax, dword [0x430ca4]
mov edx, dword [0x4300e0]
xor ecx, ecx
mov dword [edi + 0x18], eax
mov dword [edi + 0x50], edx
mov dword [ebp - 0x1d4], ebx
mov dword [edi + 0x10], ebx
cmp dword [edi + 4], ebx
jle 0x40bef6
xor edx, edx
add eax, 4
movsx esi, word [eax - 2]
add edx, esi
cmp word [eax], 1
mov dword [edi + 0x10], edx
jne 0x40bee5
inc ebx
inc ecx
add eax, 0x1c
cmp ecx, dword [edi + 4]
jl 0x40bed5
mov dword [ebp - 0x1d4], ebx
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 0x1c4], ebx
mov dword [edi + 0x48], ebx
cmp dword [edi + 0x3c], ebx
jle 0x40bf2f
mov eax, dword [0x4300e0]
xor edx, edx
add eax, 4
movsx esi, word [eax - 2]
add edx, esi
cmp word [eax], 1
mov dword [edi + 0x48], edx
jne 0x40bf20
inc ebx
inc ecx
add eax, 0x1c
cmp ecx, dword [edi + 0x3c]
jl 0x40bf10
mov dword [ebp - 0x1c4], ebx
mov ebx, dword [edi + 0x10]
test ebx, ebx
jne 0x40bf40
xor eax, eax
mov dword [edi + 0x14], eax
jmp 0x40c088
push ebx
call dword [sym.imp.MSVCR100.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
jne 0x40bf78
push str._Out_of_memory._Please_run_a_smaller_problem_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
call fcn.00404240
inc dword [0x42fba4]
je 0x40bf70
call fcn.00403eb0
push 3
call dword [sym.imp.MSVCR100.dll_exit]
push ebx
push 0
push esi
call sub.MSVCR100.dll_memset
mov eax, esi
add esp, 0xc
mov dword [edi + 0x14], eax
xor ebx, ebx
jmp 0x40c088
mov esi, dword [0x42fbc0]
mov eax, 8
xor edx, edx
mov dword [0x42fbd0], eax
mov dword [0x42fbf8], eax
mov dword [ebp - 0x1d4], edx
test esi, esi
jle 0x40bfd9
mov eax, dword [0x430b94]
add eax, 0x20
mov ecx, esi
jmp 0x40bfc0
cmp word [eax - 2], bx
jl 0x40bfcd
cmp word [eax], 1
jne 0x40bfcd
inc edx
add eax, 0x30
dec ecx
jne 0x40bfc0
mov dword [ebp - 0x1d4], edx
mov edx, dword [0x42fbe8]
mov ebx, dword [0x430d44]
xor edi, edi
mov dword [ebp - 0x1c4], edi
test edx, edx
jle 0x40c010
lea eax, [ebx + 0x20]
mov ecx, edx
cmp word [eax - 2], 0
jl 0x40c004
cmp word [eax], 1
jne 0x40c004
inc edi
add eax, 0x30
dec ecx
jne 0x40bff6
mov dword [ebp - 0x1c4], edi
mov edi, dword [0x42fb48]
mov eax, dword [0x430b94]
mov dword [edi + 0x54], ebx
mov dword [edi + 0x1c], eax
mov dword [edi + 4], esi
mov dword [edi + 0x3c], edx
xor ebx, ebx
jmp 0x40c088
movsx ecx, word [0x42fa28]
xor edx, edx
xor eax, eax
mov dword [ebp - 0x1d4], edx
cmp ecx, ebx
jle 0x40c058
mov edi, dword [0x42fa34]
cmp dword [edi + eax*4], 1
jne 0x40c04d
inc edx
inc eax
cmp eax, ecx
jl 0x40c046
mov dword [ebp - 0x1d4], edx
movsx ecx, word [0x42fab8]
xor eax, eax
mov dword [ebp - 0x1c4], ebx
cmp ecx, ebx
jle 0x40c096
mov edx, dword [0x42fac4]
cmp dword [edx + eax*4], 1
jne 0x40c07d
inc dword [ebp - 0x1c4]
inc eax
cmp eax, ecx
jl 0x40c071
mov edi, dword [0x42fb48]
mov eax, dword [ebp - 0x1c4]
cmp eax, ebx
jg 0x40c167
mov esi, dword [sym.imp.MSVCR100.dll_printf]
push str.You_must_choose_at_least_1_level_2_variable_
call esi
add esp, 4
push 0x427955
push 0x428e48
call esi
add esp, 8
call fcn.00404240
inc dword [0x42fba4]
je 0x40c0fc
mov edi, dword [sym.imp.MSVCR100.dll_clock]
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov esi, edx
shr esi, 0x1f
add esi, edx
lea ecx, [ecx]
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub ecx, esi
cmp ecx, 3
jbe 0x40c0e0
push 0x64
call dword [sym.imp.MSVCR100.dll_exit]
mov edi, dword [0x42fb48]
xor edx, edx
mov dword [ebp - 0x1d4], edx
cmp dword [edi + 4], ebx
jle 0x40c133
mov eax, dword [edi + 0x30]
mov ecx, dword [edi + 4]
add eax, 4
cmp word [eax], 1
jne 0x40c127
inc edx
add eax, 0x14
dec ecx
jne 0x40c120
mov dword [ebp - 0x1d4], edx
mov dword [ebp - 0x1c4], ebx
cmp dword [edi + 0x3c], ebx
jle 0x40c096
mov eax, dword [edi + 0x68]
mov ecx, dword [edi + 0x3c]
add eax, 4
jmp 0x40c150
cmp word [eax], 1
jne 0x40c15c
inc dword [ebp - 0x1c4]
add eax, 0x14
dec ecx
jne 0x40c150
jmp 0x40c088
mov ebx, 1
cmp eax, ebx
jl 0x40c1b0
mov edi, dword [sym.imp.MSVCR100.dll__strnicmp]
lea esi, [ebx + 0xc]
lea esp, [esp]
mov edx, dword [0x430c14]
push 8
lea eax, [esi + edx]
push str.__RANDOM
push eax
call edi
add esp, 0xc
test eax, eax
je 0x40c295
inc ebx
add esi, 0xd
cmp ebx, dword [ebp - 0x1c4]
jle 0x40c180
mov edi, dword [0x42fb48]
mov eax, dword [edi + 0x3c]
mov edi, dword [edi + 4]
xor ebx, ebx
mov dword [0x430d30], ebx
mov dword [ebp - 0x1bc], ebx
mov esi, edi
cmp edi, eax
jg 0x40c1cc
mov esi, eax
mov ecx, dword [ebp - 0x1d4]
lea eax, [ecx + ecx*2 + 1]
mov dword [0x42fdf4], esi
cmp esi, eax
jg 0x40c1e8
mov esi, eax
mov dword [0x42fdf4], esi
lea eax, [ecx + 2]
imul eax, ecx
cmp esi, eax
jg 0x40c1fa
mov esi, eax
mov dword [0x42fdf4], esi
lea eax, [ecx + ecx*2 + 5]
imul eax, ecx
cdq
sub eax, edx
sar eax, 1
cmp esi, eax
jg 0x40c212
mov esi, eax
mov dword [0x42fdf4], esi
lea edi, [esi*8]
mov dword [ebp - 0x1f0], edi
cmp edi, ebx
je 0x40c316
push edi
call dword [sym.imp.MSVCR100.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x40c304
push str._Out_of_memory._Please_run_a_smaller_problem_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
call fcn.00404240
inc dword [0x42fba4]
je 0x40c28d
mov edi, dword [sym.imp.MSVCR100.dll_clock]
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov esi, edx
shr esi, 0x1f
add esi, edx
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, esi
cmp eax, 3
jbe 0x40c271
push 3
call dword [sym.imp.MSVCR100.dll_exit]
mov esi, dword [sym.imp.MSVCR100.dll_printf]
push str.RANDOM_is_a_reserved_name_for_level_2_variables__unable_to_continue_n
call esi
add esp, 4
push 0x427a0c
push 0x428e48
call esi
add esp, 8
call fcn.00404240
inc dword [0x42fba4]
je 0x40c2fc
mov edi, dword [sym.imp.MSVCR100.dll_clock]
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov esi, edx
shr esi, 0x1f
add esi, edx
lea esp, [esp]
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub ecx, esi
cmp ecx, 3
jbe 0x40c2e0
push 0x64
call dword [sym.imp.MSVCR100.dll_exit]
push edi
push 0
push ebx
call sub.MSVCR100.dll_memset
mov ecx, dword [ebp - 0x1d4]
add esp, 0xc
mov dword [ebp - 0x1f4], ebx
mov ebx, dword [0x430cb0]
lea edx, [esi + ebx]
lea eax, [edx + esi*2]
lea esi, [eax + ecx*2]
add esi, dword [ebp - 0x1c4]
add esi, esi
add esi, esi
add esi, esi
mov dword [ebp - 0x1f0], esi
jne 0x40c34e
mov dword [ebp - 0x1dc], 0
jmp 0x40c3d6
push esi
call dword [sym.imp.MSVCR100.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x40c3b8
push str._Out_of_memory._Please_run_a_smaller_problem_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
call fcn.00404240
inc dword [0x42fba4]
je 0x40c3b0
mov edi, dword [sym.imp.MSVCR100.dll_clock]
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov esi, edx
shr esi, 0x1f
add esi, edx
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub ecx, esi
cmp ecx, 3
jbe 0x40c394
push 3
call dword [sym.imp.MSVCR100.dll_exit]
push esi
push 0
push ebx
call sub.MSVCR100.dll_memset
mov ecx, dword [ebp - 0x1d4]
mov dword [ebp - 0x1dc], ebx
mov ebx, dword [0x430cb0]
add esp, 0xc
mov edx, dword [ebp - 0x1dc]
lea eax, [edi + edx]
lea esi, [edi + eax]
mov dword [ebp - 0x208], eax
lea eax, [edi + esi]
mov edi, ebx
imul edi, dword [0x430ca8]
mov dword [ebp - 0x224], eax
lea eax, [eax + ebx*8]
mov dword [ebp - 0x220], eax
lea eax, [eax + ecx*8]
add edi, edi
mov dword [ebp - 0x1b8], eax
add edi, edi
add edi, edi
lea eax, [eax + ecx*8]
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x1fc], eax
jne 0x40c42e
mov dword [ebp - 0x1d8], edi
jmp 0x40c4ba
push edi
call dword [sym.imp.MSVCR100.dll_malloc]
add esp, 4
mov dword [ebp - 0x1c8], eax
test eax, eax
jne 0x40c49c
push str._Out_of_memory._Please_run_a_smaller_problem_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
call fcn.00404240
inc dword [0x42fba4]
je 0x40c494
mov edi, dword [sym.imp.MSVCR100.dll_clock]
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov esi, edx
shr esi, 0x1f
add esi, edx
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub ecx, esi
cmp ecx, 3
jbe 0x40c478
push 3
call dword [sym.imp.MSVCR100.dll_exit]
mov edx, dword [ebp - 0x1c8]
push edi
push 0
push edx
call sub.MSVCR100.dll_memset
mov eax, dword [ebp - 0x1c8]
add esp, 0xc
mov dword [ebp - 0x1d8], eax
cmp dword [0x430a60], 0
je 0x40c54d
push 0x320
call dword [sym.imp.MSVCR100.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
jne 0x40c535
push str._Out_of_memory._Please_run_a_smaller_problem_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
call fcn.00404240
inc dword [0x42fba4]
je 0x40c52d
mov edi, dword [sym.imp.MSVCR100.dll_clock]
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov esi, edx
shr esi, 0x1f
add esi, edx
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub ecx, esi
cmp ecx, 3
jbe 0x40c511
push 3
call dword [sym.imp.MSVCR100.dll_exit]
push 0x320
push 0
push edi
call sub.MSVCR100.dll_memset
mov dword [0x42fb90], edi
jmp 0x40c5ce
push 0x514
call dword [sym.imp.MSVCR100.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
jne 0x40c5bb
push str._Out_of_memory._Please_run_a_smaller_problem_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
call fcn.00404240
inc dword [0x42fba4]
je 0x40c5b3
mov edi, dword [sym.imp.MSVCR100.dll_clock]
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov esi, edx
shr esi, 0x1f
add esi, edx
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, esi
cmp eax, 3
jbe 0x40c597
push 3
call dword [sym.imp.MSVCR100.dll_exit]
push 0x514
push 0
push edi
call sub.MSVCR100.dll_memset
mov dword [0x42fa00], edi
mov eax, dword [ebp - 0x1c4]
imul eax, eax, 0x320
add esp, 0xc
mov dword [ebp - 0x1c8], eax
test eax, eax
jne 0x40c5ee
xor edi, edi
jmp 0x40c66c
mov ecx, eax
push ecx
call dword [sym.imp.MSVCR100.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
jne 0x40c65a
push str._Out_of_memory._Please_run_a_smaller_problem_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
call fcn.00404240
inc dword [0x42fba4]
je 0x40c652
mov edi, dword [sym.imp.MSVCR100.dll_clock]
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov esi, edx
shr esi, 0x1f
add esi, edx
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, esi
cmp eax, 3
jbe 0x40c636
push 3
call dword [sym.imp.MSVCR100.dll_exit]
mov ecx, dword [ebp - 0x1c8]
push ecx
push 0
push edi
call sub.MSVCR100.dll_memset
add esp, 0xc
mov dword [0x42fde0], edi
test ebx, ebx
jle 0x40c68a
mov edi, dword [ebp - 0x224]
mov ecx, ebx
and ecx, 0x1fffffff
add ecx, ecx
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x1d4]
fldz
test edi, edi
jle 0x40c6d9
mov ecx, dword [ebp - 0x1dc]
fld qword [0x430a68]
mov edx, dword [ebp - 0x208]
fld qword [0x430d18]
sub ecx, esi
mov eax, esi
sub edx, esi
mov esi, edi
jmp 0x40c6be
fxch st(1)
fxch st(2)
fxch st(1)
fxch st(2)
add eax, 8
dec esi
fst qword [ecx + eax - 8]
fxch st(1)
fst qword [eax - 8]
fxch st(2)
fst qword [edx + eax - 8]
jne 0x40c6b8
fstp st(2)
fstp st(1)
push 0x427c34
fstp st(0)
push str.HMLMMDM.STS
call dword [sym.imp.MSVCR100.dll_fopen]
add esp, 8
mov dword [ebp - 0x210], eax
test eax, eax
jne 0x40c784
push 0x427955
call dword [sym.imp.MSVCR100.dll_perror]
mov esi, dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
push str.HMLMMDM.STS
push str.Unable_to_open__s_for
call esi
push str.writing_n
call esi
add esp, 0xc
push 0x427955
push 0x428e48
call esi
add esp, 8
call fcn.00404240
inc dword [0x42fba4]
je 0x40c77c
mov edi, dword [sym.imp.MSVCR100.dll_clock]
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov esi, edx
shr esi, 0x1f
add esi, edx
lea ecx, [ecx]
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, esi
cmp eax, 3
jbe 0x40c760
push 0x64
call dword [sym.imp.MSVCR100.dll_exit]
mov ecx, dword [ebp - 0x1f4]
mov edx, dword [ebp - 0x1c4]
push eax
push ecx
push edx
call fcn.0040edd0
mov esi, dword [0x42fde4]
add esi, esi
add esp, 0xc
add esi, esi
jne 0x40c7b2
mov dword [ebp - 0x238], esi
jmp 0x40c82e
push esi
call dword [sym.imp.MSVCR100.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x40c81c
push str._Out_of_memory._Please_run_a_smaller_problem_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
call fcn.00404240
inc dword [0x42fba4]
je 0x40c814
mov edi, dword [sym.imp.MSVCR100.dll_clock]
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov esi, edx
shr esi, 0x1f
add esi, edx
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, esi
cmp eax, 3
jbe 0x40c7f8
push 3
call dword [sym.imp.MSVCR100.dll_exit]
push esi
push 0
push ebx
call sub.MSVCR100.dll_memset
add esp, 0xc
mov dword [ebp - 0x238], ebx
mov ebx, dword [0x42fdf4]
add ebx, ebx
add ebx, ebx
mov dword [ebp - 0x1f0], ebx
jne 0x40c84f
mov dword [ebp - 0x200], 0
jmp 0x40c8cb
push ebx
call dword [sym.imp.MSVCR100.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
jne 0x40c8b9
push str._Out_of_memory._Please_run_a_smaller_problem_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
call fcn.00404240
inc dword [0x42fba4]
je 0x40c8b1
mov edi, dword [sym.imp.MSVCR100.dll_clock]
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov esi, edx
shr esi, 0x1f
add esi, edx
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub ecx, esi
cmp ecx, 3
jbe 0x40c895
push 3
call dword [sym.imp.MSVCR100.dll_exit]
push ebx
push 0
push esi
call sub.MSVCR100.dll_memset
add esp, 0xc
mov dword [ebp - 0x200], esi
mov ebx, dword [0x430cb8]
add ebx, 0xfffffffe
cmp ebx, 7
ja case.0x40c8d9.4
jmp dword [ebx*4 + 0x40ed30]
mov edx, dword [0x430cb0]
mov dword [ebp - 0x1c0], edx
jmp case.0x40c8d9.4
mov eax, dword [0x42fd54]
mov dword [ebp - 0x1c0], eax
jmp case.0x40c8d9.4
mov dword [ebp - 0x1c0], edi
cmp dword [ebp + 8], 0
jne 0x40c99a
mov edi, dword [ebp - 0x1c0]
add edi, edi
add edi, edi
jne 0x40c91e
xor esi, esi
jmp 0x40c994
push edi
call dword [sym.imp.MSVCR100.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
jne 0x40c988
push str._Out_of_memory._Please_run_a_smaller_problem_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
call fcn.00404240
inc dword [0x42fba4]
je 0x40c980
mov edi, dword [sym.imp.MSVCR100.dll_clock]
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov esi, edx
shr esi, 0x1f
add esi, edx
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub ecx, esi
cmp ecx, 3
jbe 0x40c964
push 3
call dword [sym.imp.MSVCR100.dll_exit]
push edi
push 0
push esi
call sub.MSVCR100.dll_memset
add esp, 0xc
mov dword [0x42fdf0], esi
mov edx, dword [ebp - 0x1c0]
inc edx
cmp dword [0x430a60], 0
mov dword [ebp - 0x20c], edx
je 0x40c9b8
lea ecx, [ebp - 0x254]
jmp 0x40c9c9
fldz
lea ecx, [ebp - 0x20]
fst qword [ebp - 0x254]
fstp qword [ebp - 0x26c]
mov dword [ebp - 0x204], ecx
cmp ebx, 6
ja case.0x40c9d8.2
jmp dword [ebx*4 + 0x40ed50]
mov eax, dword [ebp - 0x1b8]
push ecx
push ecx
push 0
call fcn.0041fea0
add esp, 0xc
jmp 0x40ca4b
mov eax, dword [ebp - 0x1b8]
mov ebx, dword [ebp - 0x1f4]
push ecx
push eax
xor eax, eax
call fcn.0041fda0
add esp, 8
jmp 0x40ca4b
mov edx, dword [ebp - 0x1b8]
push edx
mov ebx, ecx
xor eax, eax
call fcn.0041dbc0
add esp, 4
jmp 0x40ca4b
mov edx, dword [ebp - 0x1b8]
push 0
call fcn.0041e3c0
add esp, 4
jmp 0x40ca4b
mov edx, ecx
mov ecx, dword [ebp - 0x1b8]
push 0
call fcn.0041eeb0
add esp, 4
jmp 0x40ca4b
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1e4], eax
test eax, eax
je 0x40cab5
mov eax, dword [0x430208]
push eax
push str.__s_is_an_empty_file_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 8
call fcn.00404240
inc dword [0x42fba4]
je 0x40caad
mov edi, dword [sym.imp.MSVCR100.dll_clock]
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov esi, edx
shr esi, 0x1f
add esi, edx
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub ecx, esi
cmp ecx, 3
jbe 0x40ca91
push 1
call dword [sym.imp.MSVCR100.dll_exit]
call fcn.00403950
mov dword [ebp - 0x21c], eax
mov esi, dword [ebp - 0x204]
mov edi, dword [ebp - 0x1b8]
fld qword [ebp - 0x254]
sub esp, 8
lea edx, [ebp - 0x20]
fstp qword [esp]
push edx
call fcn.0040f450
add esp, 0xc
mov dword [ebp - 0x248], eax
cmp eax, 0xffffffff
jne 0x40cd2c
cmp dword [0x430a60], 0
je 0x40cb42
fld qword [ebp - 0x26c]
fld qword [ebp - 0x254]
fld st(0)
fucomp st(2)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0x40cb8b
mov eax, dword [ebp - 0x210]
fst qword [ebp - 0x26c]
sub esp, 8
fstp qword [esp]
push str._Group__12.0lf_not_in_level_2_file._n
push eax
call dword [sym.imp.MSVCR100.dll_fprintf]
add esp, 0x10
inc dword [ebp - 0x230]
jmp 0x40cb8d
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x30]
push edx
call dword [sym.imp.MSVCR100.dll__stricmp]
add esp, 8
test eax, eax
je 0x40cb8d
push 0xd
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x30]
push ecx
call dword [sym.imp.MSVCR100.dll_strncpy]
mov eax, dword [ebp - 0x210]
add esp, 0xc
lea edx, [ebp - 0x20]
push edx
push str._Group__s_not_in_level_2_file._n
push eax
call dword [sym.imp.MSVCR100.dll_fprintf]
add esp, 0xc
inc dword [ebp - 0x230]
jmp 0x40cb8d
fstp st(0)
mov eax, dword [0x430cb8]
add eax, 0xfffffffe
cmp eax, 6
ja case.0x40cb9e.4
jmp dword [eax*4 + 0x40ed6c]
push esi
push esi
push 0
mov eax, edi
call fcn.0041fea0
add esp, 0xc
mov dword [ebp - 0x234], eax
jmp 0x40cc1c
mov ebx, dword [ebp - 0x1f4]
push esi
push edi
xor eax, eax
call fcn.0041fda0
add esp, 8
mov dword [ebp - 0x234], eax
jmp 0x40cc1c
push edi
mov ebx, esi
xor eax, eax
call fcn.0041dbc0
add esp, 4
mov dword [ebp - 0x234], eax
jmp 0x40cc1c
push 0
mov ecx, esi
mov edx, edi
call fcn.0041e3c0
add esp, 4
mov dword [ebp - 0x234], eax
jmp 0x40cc1c
push 0
mov edx, esi
mov ecx, edi
call fcn.0041eeb0
add esp, 4
mov dword [ebp - 0x234], eax
jmp 0x40cc1c
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x1e4], eax
test eax, eax
je 0x40cacc
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [ebp - 0x1ac], eax
cmp eax, 0xffffffff
je 0x40cc93
lea edx, [ebp - 0x1a8]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x192], eax
test ax, ax
jle 0x40cc6c
xor ecx, ecx
inc word [ebp - 0x190]
mov word [ebp - 0x192], cx
push 0
mov dword [ebp - 0x18c], 0xffffffff
call dword [sym.imp.MSVCR100.dll__time64]
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp - 0x1ac]
add esp, 4
mov dword [ebp - 0x1b0], edx
mov ebx, dword [0x42fde4]
lea edi, [ebx - 1]
mov dword [ebp - 0x1cc], edi
mov dword [ebp - 0x1b8], 0
test edi, edi
js 0x40d7cd
mov eax, edi
imul eax, eax, 0xd
lea edx, [edi + 1]
mov dword [ebp - 0x1e0], edx
mov dword [ebp - 0x1c8], eax
jmp 0x40ccd0
mov eax, dword [ebp - 0x238]
cmp dword [eax + edi*4], 0
jg 0x40d75e
inc dword [ebp - 0x1b8]
cmp dword [0x430a60], 0
lea eax, [ebx - 1]
je 0x40d6b4
mov ecx, dword [0x42fb90]
lea edx, [ecx + edi*8]
cmp edi, eax
jge 0x40cd1c
mov ecx, eax
sub ecx, edi
add ecx, ecx
lea esi, [edx + 8]
and ecx, 0x3ffffffe
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x1cc]
fldz
mov edx, dword [0x42fb90]
fstp qword [edx + eax*8]
jmp 0x40d710
mov ecx, dword [ebp - 0x238]
inc dword [ecx + eax*4]
cmp dword [0x430a60], 0
je 0x40cd62
fld qword [ebp - 0x254]
mov ecx, dword [0x42fb90]
mov edx, dword [ebp - 0x248]
fld qword [ecx + edx*8]
fucompp
fnstsw ax
test ah, 0x44
jp 0x40d21b
jmp 0x40cd87
mov eax, dword [ebp - 0x248]
imul eax, eax, 0xd
add eax, dword [0x42fa00]
lea ecx, [ebp - 0x20]
push eax
push ecx
call dword [sym.imp.MSVCR100.dll__stricmp]
add esp, 8
test eax, eax
jne 0x40d21b
mov ecx, dword [0x430ca8]
lea edx, [ecx - 1]
cmp dword [ebp - 0x1bc], edx
jne 0x40cdce
mov eax, dword [0x430cb0]
add ecx, 0x32
imul eax, ecx
add eax, eax
add eax, eax
add eax, eax
push eax
mov eax, dword [ebp - 0x1d8]
push eax
mov dword [0x430ca8], ecx
call dword [sym.imp.MSVCR100.dll_realloc]
add esp, 8
test eax, eax
je 0x40d4be
mov dword [ebp - 0x1d8], eax
mov edi, 1
add dword [ebp - 0x1bc], edi
cmp dword [0x42fdec], 0
jne 0x40ce08
cmp dword [0x430cb8], 2
je 0x40ce08
mov ecx, dword [ebp - 0x1b8]
mov ebx, dword [ebp - 0x1d4]
push ecx
call fcn.00411f50
add esp, 4
test eax, eax
jne 0x40d518
xor ebx, ebx
cmp dword [ebp - 0x1d4], 4
jl 0x40d0b7
mov eax, dword [ebp - 0x208]
mov esi, dword [ebp - 0x220]
add eax, 0x18
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp - 0x1b8]
sub eax, esi
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebp - 0x1dc]
sub eax, esi
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x214]
mov edx, dword [ebp - 0x1dc]
sub eax, esi
mov edi, dword [ebp - 0x214]
mov dword [ebp - 0x258], eax
mov eax, dword [ebp - 0x208]
sub eax, esi
mov dword [ebp - 0x1c8], eax
mov eax, dword [ebp - 0x1dc]
lea ecx, [esi + 8]
mov esi, dword [ebp - 0x214]
sub eax, esi
mov dword [ebp - 0x1ec], eax
mov eax, dword [ebp - 0x208]
sub eax, esi
mov dword [ebp - 0x260], eax
mov eax, dword [ebp - 0x1dc]
sub eax, dword [ebp - 0x208]
mov dword [ebp - 0x1e4], edx
mov edx, dword [ebp - 0x200]
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 0x1b8]
add edi, 0x10
add edx, 8
sub eax, dword [ebp - 0x1dc]
mov dword [ebp - 0x218], eax
jmp 0x40ced6
mov eax, dword [ebp - 0x218]
mov esi, dword [ebp - 0x1e4]
fld qword [eax + esi]
mov eax, dword [ebp - 0x1bc]
mov esi, dword [ebp - 0x1d8]
dec eax
imul eax, dword [0x430cb0]
add eax, ebx
fst qword [esi + eax*8]
inc dword [edx - 8]
fld qword [ecx - 8]
mov eax, dword [ebp - 0x1e4]
fadd st(1)
fstp qword [ecx - 8]
fld st(0)
fmul st(1)
fadd qword [eax]
fstp qword [eax]
fcom qword [edi - 0x10]
fnstsw ax
test ah, 5
jp 0x40cf1f
fld st(0)
jmp 0x40cf22
fld qword [edi - 0x10]
mov esi, dword [ebp - 0x1cc]
fstp qword [edi - 0x10]
fcom qword [esi - 0x18]
fnstsw ax
test ah, 0x41
je 0x40cf3a
fstp st(0)
fld qword [esi - 0x18]
mov eax, dword [ebp - 0x1e0]
fstp qword [esi - 0x18]
fld qword [eax + ecx]
mov eax, dword [ebp - 0x1bc]
mov esi, dword [ebp - 0x1d8]
dec eax
imul eax, dword [0x430cb0]
add eax, ebx
fst qword [esi + eax*8 + 8]
inc dword [edx - 4]
fld qword [ecx]
mov eax, dword [ebp - 0x25c]
mov esi, dword [ebp - 0x258]
fadd st(1)
fstp qword [ecx]
fld st(0)
fmul st(1)
fadd qword [eax + ecx]
fstp qword [eax + ecx]
fcom qword [esi + ecx]
fnstsw ax
test ah, 5
jp 0x40cf8d
fld st(0)
jmp 0x40cf90
fld qword [esi + ecx]
fstp qword [esi + ecx]
mov esi, dword [ebp - 0x1c8]
fcom qword [esi + ecx]
fnstsw ax
test ah, 0x41
je 0x40cfa8
fstp st(0)
fld qword [esi + ecx]
mov eax, dword [ebp - 0x1ec]
fstp qword [esi + ecx]
mov esi, dword [ebp - 0x218]
add eax, edi
fld qword [eax + esi]
mov eax, dword [ebp - 0x1bc]
mov esi, dword [ebp - 0x1d8]
dec eax
imul eax, dword [0x430cb0]
add eax, ebx
fst qword [esi + eax*8 + 0x10]
inc dword [edx]
mov eax, dword [ebp - 0x1ec]
fld st(0)
fadd qword [ecx + 8]
fstp qword [ecx + 8]
fld st(0)
fmul st(1)
fadd qword [eax + edi]
fstp qword [eax + edi]
fcom qword [edi]
fnstsw ax
test ah, 5
jp 0x40cffd
fld st(0)
jmp 0x40cfff
fld qword [edi]
mov esi, dword [ebp - 0x260]
fstp qword [edi]
fcom qword [esi + edi]
fnstsw ax
test ah, 0x41
je 0x40d016
fstp st(0)
fld qword [esi + edi]
mov eax, dword [ebp - 0x240]
fstp qword [esi + edi]
add eax, dword [ebp - 0x1cc]
mov esi, dword [ebp - 0x218]
fld qword [eax + esi]
mov esi, dword [ebp - 0x1d8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1bc]
dec eax
imul eax, dword [0x430cb0]
add eax, ebx
fst qword [esi + eax*8 + 0x18]
inc dword [edx + 4]
fld qword [ecx + 0x10]
mov eax, dword [ebp - 0x10]
fadd st(1)
fstp qword [ecx + 0x10]
fld st(0)
fmul st(1)
fadd qword [eax]
fstp qword [eax]
fcom qword [edi + 8]
fnstsw ax
test ah, 5
jp 0x40d06f
fld st(0)
jmp 0x40d072
fld qword [edi + 8]
mov esi, dword [ebp - 0x1cc]
fstp qword [edi + 8]
fcom qword [esi]
fnstsw ax
test ah, 0x41
je 0x40d088
fstp st(0)
fld qword [esi]
mov eax, dword [ebp - 0x1d4]
fstp qword [esi]
add dword [ebp - 0x1e4], 0x20
add ebx, 4
add esi, 0x20
add eax, 0xfffffffd
add edx, 0x10
add ecx, 0x20
add edi, 0x20
mov dword [ebp - 0x1cc], esi
cmp ebx, eax
jl 0x40ced0
cmp ebx, dword [ebp - 0x1d4]
jge 0x40d16b
mov esi, dword [ebp - 0x220]
mov eax, dword [ebp - 0x1b8]
mov edx, dword [ebp - 0x1dc]
mov edi, dword [ebp - 0x214]
sub eax, esi
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebp - 0x208]
sub edx, esi
sub edi, esi
sub eax, esi
lea ecx, [esi + ebx*8]
mov dword [ebp - 0x1c8], eax
mov eax, dword [ebp - 0x1e0]
fld qword [ecx + eax]
mov eax, dword [ebp - 0x1bc]
mov esi, dword [ebp - 0x1d8]
dec eax
imul eax, dword [0x430cb0]
add eax, ebx
fst qword [esi + eax*8]
mov eax, dword [ebp - 0x200]
inc dword [eax + ebx*4]
fld st(0)
fadd qword [ecx]
fstp qword [ecx]
fld st(0)
fmul st(1)
fadd qword [ecx + edx]
fstp qword [ecx + edx]
fcom qword [ecx + edi]
fnstsw ax
test ah, 5
jp 0x40d141
fld st(0)
jmp 0x40d144
fld qword [ecx + edi]
mov esi, dword [ebp - 0x1c8]
fstp qword [ecx + edi]
fcom qword [ecx + esi]
fnstsw ax
test ah, 0x41
je 0x40d15c
fstp st(0)
fld qword [ecx + esi]
fstp qword [ecx + esi]
inc ebx
add ecx, 8
cmp ebx, dword [ebp - 0x1d4]
jl 0x40d0f8
mov eax, dword [0x430cb8]
add eax, 0xfffffffe
cmp eax, 6
ja case.0x40d17c.4
jmp dword [eax*4 + 0x40ed88]
mov eax, dword [ebp - 0x204]
push eax
push eax
mov eax, dword [ebp - 0x1b8]
push 0
call fcn.0041fea0
add esp, 0xc
jmp 0x40d201
mov ecx, dword [ebp - 0x204]
mov edx, dword [ebp - 0x1b8]
mov ebx, dword [ebp - 0x1f4]
push ecx
push edx
xor eax, eax
call fcn.0041fda0
add esp, 8
jmp 0x40d201
mov eax, dword [ebp - 0x1b8]
mov ebx, dword [ebp - 0x204]
push eax
xor eax, eax
call fcn.0041dbc0
jmp 0x40d1fe
mov ecx, dword [ebp - 0x204]
mov edx, dword [ebp - 0x1b8]
push 0
call fcn.0041e3c0
jmp 0x40d1fe
mov edx, dword [ebp - 0x204]
mov ecx, dword [ebp - 0x1b8]
push 0
call fcn.0041eeb0
add esp, 4
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x1e4], eax
test eax, eax
je 0x40cd35
mov eax, dword [ebp - 0x1bc]
xor ecx, ecx
cmp eax, ecx
jne 0x40d232
mov eax, 1
mov dword [ebp - 0x1bc], eax
add dword [ebp - 0x22c], eax
mov ebx, dword [ebp - 0x1c0]
mov dword [ebp - 0x1cc], ecx
cmp eax, ecx
jle 0x40d320
mov edx, dword [0x430cb0]
mov dword [ebp - 0x1c8], ecx
mov ecx, dword [ebp - 0x1d8]
add ecx, 0x10
mov dword [ebp - 0x1e0], ecx
jmp 0x40d270
mov esi, dword [ebp - 0x224]
xor ecx, ecx
cmp ebx, 4
jl 0x40d2c7
mov edx, dword [ebp - 0x1e0]
lea edi, [ebx - 4]
shr edi, 2
inc edi
lea eax, [esi + 0x10]
lea ecx, [edi*4]
fld qword [edx - 0x10]
add eax, 0x20
fadd qword [eax - 0x30]
add edx, 0x20
dec edi
fstp qword [eax - 0x30]
fld qword [edx - 0x28]
fadd qword [eax - 0x28]
fstp qword [eax - 0x28]
fld qword [eax - 0x20]
fadd qword [edx - 0x20]
fstp qword [eax - 0x20]
fld qword [edx - 0x18]
fadd qword [eax - 0x18]
fstp qword [eax - 0x18]
jne 0x40d294
mov edx, dword [0x430cb0]
cmp ecx, ebx
jge 0x40d2f2
mov eax, dword [ebp - 0x1c8]
mov edi, dword [ebp - 0x1d8]
add eax, ecx
lea eax, [edi + eax*8]
lea esp, [esp]
fld qword [eax]
inc ecx
fadd qword [esi + ecx*8 - 8]
add eax, 8
fstp qword [esi + ecx*8 - 8]
cmp ecx, ebx
jl 0x40d2e0
mov ecx, dword [ebp - 0x1cc]
add dword [ebp - 0x1c8], edx
lea eax, [edx*8]
add dword [ebp - 0x1e0], eax
mov eax, dword [ebp - 0x1bc]
inc ecx
mov dword [ebp - 0x1cc], ecx
cmp ecx, eax
jl 0x40d270
cmp dword [ebp - 0x1f8], eax
jg 0x40d32e
mov dword [ebp - 0x1f8], eax
mov ecx, dword [ebp - 0x21c]
push ecx
push 1
lea edx, [ebp - 0x1bc]
push 4
push edx
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp eax, 1
jne 0x40d597
xor esi, esi
cmp ebx, 4
jl 0x40d3ba
mov edi, dword [ebp - 0x224]
mov edx, dword [ebp - 0x1f4]
lea eax, [edx + 8]
lea ecx, [edi + 0x18]
sub edi, edx
lea edx, [ebx - 4]
shr edx, 2
inc edx
lea esi, [edx*4]
jmp 0x40d380
fild dword [ebp - 0x1bc]
add eax, 0x20
add ecx, 0x20
dec edx
fdivr qword [ecx - 0x38]
fstp qword [eax - 0x28]
fild dword [ebp - 0x1bc]
fdivr qword [edi + eax - 0x20]
fstp qword [eax - 0x20]
fild dword [ebp - 0x1bc]
fdivr qword [ecx - 0x28]
fstp qword [eax - 0x18]
fild dword [ebp - 0x1bc]
fdivr qword [ecx - 0x20]
fstp qword [eax - 0x10]
jne 0x40d380
cmp esi, ebx
jge 0x40d3e6
mov ecx, dword [ebp - 0x1f4]
mov edx, dword [ebp - 0x224]
lea eax, [ecx + esi*8]
sub edx, ecx
mov ecx, ebx
sub ecx, esi
fild dword [ebp - 0x1bc]
add eax, 8
dec ecx
fdivr qword [eax + edx - 8]
fstp qword [eax - 8]
jne 0x40d3d3
lea edi, [ebx*8]
test edi, edi
je 0x40d414
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x1f4]
push eax
push 1
push edi
push ecx
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp eax, 1
jne 0x40d5f4
xor esi, esi
cmp dword [ebp - 0x1bc], esi
jle 0x40d45a
mov ebx, dword [ebp - 0x1d8]
mov edx, dword [0x430cb0]
imul edx, esi
lea eax, [ebx + edx*8]
test edi, edi
je 0x40d451
mov ecx, dword [ebp - 0x21c]
push ecx
push 1
push edi
push eax
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp eax, 1
jne 0x40d654
inc esi
cmp esi, dword [ebp - 0x1bc]
jl 0x40d424
mov eax, 1
add dword [ebp - 0x1e8], eax
cmp dword [0x430cb8], 8
jne 0x40d482
mov edx, dword [ebp - 0x22c]
cmp edx, dword [0x42fa20]
jle 0x40d482
add dword [ebp - 0x1e4], eax
cmp dword [ebp - 0x1e4], 0
jne 0x40cc2a
mov ecx, dword [0x430cb0]
mov dword [ebp - 0x1bc], 0
test ecx, ecx
jle 0x40cac0
mov edi, dword [ebp - 0x224]
and ecx, 0x1fffffff
add ecx, ecx
xor eax, eax
rep stosd dword es:[edi], eax
jmp 0x40cac0
push str._Out_of_memory._Please_run_a_smaller_problem_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
call fcn.00404240
inc dword [0x42fba4]
je 0x40d510
mov edi, dword [sym.imp.MSVCR100.dll_clock]
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov esi, edx
shr esi, 0x1f
add esi, edx
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, esi
cmp eax, 3
jbe 0x40d4f4
push 3
call dword [sym.imp.MSVCR100.dll_exit]
mov esi, dword [sym.imp.MSVCR100.dll_printf]
push edi
push str._nThere_are_missing_data_at_level__d._Unable_to_continue._n
call esi
mov ecx, dword [ebp - 0x210]
push edi
push str._nThere_are_missing_data_at_level__d._Unable_to_continue._n
push ecx
call dword [sym.imp.MSVCR100.dll_fprintf]
add esp, 0x14
push 0x427955
push 0x428e48
call esi
add esp, 8
call fcn.00404240
add dword [0x42fba4], edi
je 0x40d58f
mov edi, dword [sym.imp.MSVCR100.dll_clock]
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov esi, edx
shr esi, 0x1f
add esi, edx
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, esi
cmp eax, 3
jbe 0x40d573
push 0x64
call dword [sym.imp.MSVCR100.dll_exit]
push str._Unable_to_write._Full_disk__n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
call fcn.00404240
inc dword [0x42fba4]
je 0x40d5ec
mov edi, dword [sym.imp.MSVCR100.dll_clock]
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov esi, edx
shr esi, 0x1f
add esi, edx
lea ecx, [ecx]
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub ecx, esi
cmp ecx, 3
jbe 0x40d5d0
push 5
call dword [sym.imp.MSVCR100.dll_exit]
push str._Unable_to_write._Full_disk__n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
call fcn.00404240
inc dword [0x42fba4]
je 0x40d64c
mov edi, dword [sym.imp.MSVCR100.dll_clock]
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov esi, edx
shr esi, 0x1f
add esi, edx
lea ebx, [ebx]
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, esi
cmp eax, 3
jbe 0x40d630
push 5
call dword [sym.imp.MSVCR100.dll_exit]
push str._Unable_to_write._Full_disk__n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
call fcn.00404240
inc dword [0x42fba4]
je 0x40d6ac
mov edi, dword [sym.imp.MSVCR100.dll_clock]
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov esi, edx
shr esi, 0x1f
add esi, edx
lea ebx, [ebx]
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub ecx, esi
cmp ecx, 3
jbe 0x40d690
push 5
call dword [sym.imp.MSVCR100.dll_exit]
cmp edi, eax
jge 0x40d6ec
mov ecx, dword [ebp - 0x1c8]
mov edx, dword [0x42fa00]
sub eax, edi
lea esi, [ecx + edx + 0xd]
mov dword [ebp - 0x1ec], eax
mov eax, esi
mov edx, 0xfffffff3
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x40d6d7
add esi, 0xd
dec dword [ebp - 0x1ec]
jne 0x40d6d0
mov edx, dword [0x42fa00]
mov ecx, ebx
imul ecx, ecx, 0xd
mov eax, 0x430cf0
sub ecx, eax
lea edx, [ecx + edx - 0xd]
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x40d702
lea esp, [esp]
mov eax, dword [ebp - 0x1c4]
mov edx, dword [ebp - 0x1e0]
mov ecx, dword [0x42fde0]
imul edx, eax
sub ebx, edi
dec ebx
imul ebx, eax
add ebx, ebx
add ebx, ebx
lea edx, [ecx + edx*8]
add ebx, ebx
push ebx
push edx
mov edx, edi
imul edx, eax
lea eax, [ecx + edx*8]
push eax
call dword [sym.imp.MSVCR100.dll_memmove]
mov ebx, dword [0x42fde4]
mov ecx, ebx
sub ecx, dword [ebp - 0x1b8]
add esp, 0xc
test ecx, ecx
jle 0x40d8d6
push 0xff
lea edx, [ebp - 0x183]
push 0
push edx
mov byte [ebp - 0x184], 0
call sub.MSVCR100.dll_memset
add esp, 0xc
push ebx
sub ebx, edi
push ebx
lea eax, [ebp - 0x184]
push str.processing__ld__ld_records
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x10
lea ebx, [ebp - 0x184]
lea esi, [ebp - 0x1b4]
call fcn.004015d0
sub dword [ebp - 0x1c8], 0xd
dec dword [ebp - 0x1e0]
mov ebx, dword [0x42fde4]
dec edi
mov dword [ebp - 0x1cc], edi
test edi, edi
jns 0x40ccd0
mov eax, dword [ebp - 0x1ac]
cmp eax, 0xffffffff
je 0x40d851
mov ecx, dword [ebp - 0x192]
lea edx, [ebp - 0x1ec]
push edx
movsx edx, word [ebp - 0x1a8]
push ecx
mov ecx, dword [ebp - 0x1a0]
push edx
push ecx
push eax
mov dword [ebp - 0x18c], 0xffffffff
mov dword [ebp - 0x1ec], 0
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputAttribute]
test eax, eax
je 0x40d837
mov eax, dword [ebp - 0x192]
movsx ecx, word [ebp - 0x1a8]
lea edx, [ebp - 0x1ec]
push edx
mov edx, dword [ebp - 0x1ac]
push eax
push ecx
push 0x20
push edx
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterA]
mov eax, dword [ebp - 0x1a4]
mov ecx, dword [ebp - 0x1ac]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov ebx, dword [0x42fde4]
mov eax, ebx
sub eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x1e8], eax
jne 0x40d934
mov edx, dword [ebp - 0x210]
push str.No_groups_left_for_analysis_n
push edx
call dword [sym.imp.MSVCR100.dll_fprintf]
push 0x427a0c
push 0x428e48
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 0x10
call fcn.00404240
inc dword [0x42fba4]
je 0x40d8ce
mov edi, dword [sym.imp.MSVCR100.dll_clock]
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov esi, edx
shr esi, 0x1f
add esi, edx
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, esi
cmp eax, 3
jbe 0x40d8b2
push 0x64
call dword [sym.imp.MSVCR100.dll_exit]
push str._More_level_1_records_per_level_2_than_specified_in_input_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
call fcn.00404240
inc dword [0x42fba4]
je 0x40d92c
mov edi, dword [sym.imp.MSVCR100.dll_clock]
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov esi, edx
shr esi, 0x1f
add esi, edx
lea esp, [esp]
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub ecx, esi
cmp ecx, 3
jbe 0x40d910
push 2
call dword [sym.imp.MSVCR100.dll_exit]
cmp eax, ebx
jle 0x40d9b4
mov ecx, dword [ebp - 0x210]
push str._It_looks_like_your_level_1_file_is_not_sorted_by_group._Please_sort_this_file_n_and_re_run._n
push ecx
call dword [sym.imp.MSVCR100.dll_fprintf]
push 0x427a0c
push 0x428e48
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 0x10
call fcn.00404240
inc dword [0x42fba4]
je 0x40d9ac
mov edi, dword [sym.imp.MSVCR100.dll_clock]
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov esi, edx
shr esi, 0x1f
add esi, edx
lea esp, [esp]
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, esi
cmp eax, 3
jbe 0x40d990
push 0x64
call dword [sym.imp.MSVCR100.dll_exit]
mov ebx, dword [sym.imp.MSVCR100.dll_printf]
mov esi, dword [0x430c10]
cmp dword [ebp + 8], 0
je 0x40d9f4
mov edx, dword [ebp - 0x1c0]
xor eax, eax
mov dword [ebp - 0x1d0], eax
test edx, edx
jle 0x40da4f
mov ecx, esi
lea ebx, [ebx]
cmp byte [ecx], 0
je 0x40d9ec
inc eax
mov dword [ebp - 0x1d0], eax
add ecx, 0xd
dec edx
jne 0x40d9e0
jmp 0x40da4f
xor edi, edi
xor esi, esi
jmp 0x40da00
push str.How_many_occasions_are_contained_in_the_data_
push 0x4279e4
call ebx
call dword [sym.imp.MSVCR100.dll___iob_func]
push eax
lea ecx, [ebp - 0x10]
push 5
push ecx
call dword [sym.imp.MSVCR100.dll_fgets]
lea edx, [ebp - 0x10]
add esp, 0x14
push edx
call dword [sym.imp.MSVCR100.dll_atol]
lea ecx, [eax - 1]
add esp, 4
cmp ecx, 0x270f
ja 0x40da3b
inc edi
inc esi
cmp esi, 9
jg 0x40db98
test edi, edi
je 0x40da00
mov dword [ebp - 0x1d0], eax
cmp dword [ebp - 0x1f8], eax
jg 0x40dbf4
cmp dword [ebp + 8], 0
jne 0x40dc59
mov edx, dword [0x42fb48]
mov edi, dword [edx + 4]
imul edi, edi, 0xd
test edi, edi
jne 0x40da79
xor esi, esi
jmp 0x40da9f
push edi
call dword [sym.imp.MSVCR100.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
je 0x40dc7d
push edi
push 0
push esi
call sub.MSVCR100.dll_memset
mov eax, dword [ebp - 0x1d0]
add esp, 0xc
push eax
push str._nPlease_select_the__ld_indicator_variables:_n
mov dword [0x430c10], esi
call dword [sym.imp.MSVCR100.dll_printf]
xor edi, edi
add esp, 8
mov dword [ebp - 0x1b8], edi
cmp dword [ebp - 0x1c0], edi
jle 0x40db59
xor ebx, ebx
xor esi, esi
lea esp, [esp]
mov eax, dword [0x430ca0]
lea ecx, [ebx + eax + 0xd]
push ecx
lea edx, [ebp - 0x84]
push str.Is__s_an_indicator_variable_
push edx
call dword [sym.imp.MSVCR100.dll_sprintf]
lea eax, [ebp - 0x84]
add esp, 0xc
push eax
call fcn.00403ef0
add esp, 4
test eax, eax
je 0x40db3c
mov ecx, dword [0x42fdf0]
mov edx, dword [0x430ca0]
inc dword [ebp - 0x1b8]
mov dword [ecx + edi*4], 1
mov ecx, dword [0x430c10]
add ecx, esi
lea eax, [ebx + edx + 0xd]
add esi, 0xd
sub ecx, eax
lea esp, [esp]
mov dl, byte [eax]
mov byte [eax + ecx], dl
inc eax
test dl, dl
jne 0x40db30
jmp 0x40db49
mov edx, dword [0x42fdf0]
mov dword [edx + edi*4], 0
inc edi
add ebx, 0xd
cmp edi, dword [ebp - 0x1c0]
jl 0x40dad0
mov eax, dword [ebp - 0x1d0]
cmp dword [ebp - 0x1b8], eax
je 0x40dc59
mov ebx, dword [sym.imp.MSVCR100.dll_printf]
push str.You_did_not_choose_enough_indicator_variables__n
call ebx
mov esi, dword [0x430c10]
add esp, 4
test esi, esi
je 0x40d9c0
push esi
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
jmp 0x40d9c0
push str.Unable_to_get_a_proper_response__n
push 0x428e48
call ebx
add esp, 8
call fcn.00404240
inc dword [0x42fba4]
je 0x40dbec
mov edi, dword [sym.imp.MSVCR100.dll_clock]
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov esi, edx
shr esi, 0x1f
add esi, edx
nop
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, esi
cmp eax, 3
jbe 0x40dbd0
push 0x64
call dword [sym.imp.MSVCR100.dll_exit]
push str.The_actual_number_of_occasions_exceeds_the_specified_number_of_occasions._nCannot_continue._n
call ebx
add esp, 4
push 0x427955
push 0x428e48
call ebx
add esp, 8
call fcn.00404240
inc dword [0x42fba4]
je 0x40dc51
mov edi, dword [sym.imp.MSVCR100.dll_clock]
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov esi, edx
shr esi, 0x1f
add esi, edx
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub ecx, esi
cmp ecx, 3
jbe 0x40dc35
push 0x64
call dword [sym.imp.MSVCR100.dll_exit]
mov esi, eax
imul esi, dword [ebp - 0x20c]
shl esi, 4
test esi, esi
jne 0x40dc6d
xor edx, edx
jmp 0x40dca0
push esi
call dword [sym.imp.MSVCR100.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
jne 0x40dc8c
mov eax, 0x427955
mov ebx, 3
call fcn.00418a60
push esi
push 0
push edi
call sub.MSVCR100.dll_memset
mov eax, dword [ebp - 0x1d0]
add esp, 0xc
mov edx, edi
mov ecx, eax
imul ecx, dword [ebp - 0x20c]
lea ebx, [edx + ecx*8]
mov dword [0x42fd90], edx
mov dword [ebp - 0x1e0], ebx
test ecx, ecx
jle 0x40dcd0
and ecx, 0x1fffffff
add ecx, ecx
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x1d0]
xor ecx, ecx
test eax, eax
jle 0x40dcf5
mov esi, dword [ebp - 0x20c]
fld1
add esi, esi
add esi, esi
add esi, esi
fst qword [edx]
mov eax, dword [ebp - 0x1d0]
inc ecx
add edx, esi
cmp ecx, eax
jl 0x40dce4
fstp st(0)
imul eax, dword [ebp - 0x1c0]
test eax, eax
jle 0x40dd10
mov ecx, eax
and ecx, 0x1fffffff
add ecx, ecx
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x20c]
add edi, edi
mov dword [ebp - 0x218], edi
jne 0x40dd24
xor esi, esi
jmp 0x40dd4d
push edi
call dword [sym.imp.MSVCR100.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
jne 0x40dd41
mov eax, 0x427955
lea ebx, [esi + 3]
call fcn.00418a60
push edi
push 0
push esi
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
mov dword [0x42fde8], esi
mov dword [ebp - 0x1e4], eax
cmp dword [ebp - 0x1c0], eax
jle 0x40dd9b
mov edi, dword [ebp - 0x1c0]
lea edx, [esi + 2]
mov esi, dword [ebp - 0x220]
mov ecx, 1
mov word [edx], cx
mov ecx, dword [ebp - 0x200]
mov ecx, dword [ecx + eax*4]
mov dword [ebp - 0x10], ecx
test ecx, ecx
je 0x40dd93
fild dword [ebp - 0x10]
fdivr qword [esi + eax*8]
fstp qword [esi + eax*8]
inc eax
add edx, 2
cmp eax, edi
jl 0x40dd72
mov ecx, 0x42fda0
call fcn.00410a10
mov edx, dword [ebp - 0x1dc]
mov ebx, dword [ebp - 0x208]
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x1c0]
push edx
mov edx, dword [0x430ca0]
push ebx
push eax
push ecx
push edx
push 1
call dword [sym.imp.MSVCR100.dll___iob_func]
mov esi, dword [ebp - 0x214]
mov ecx, dword [ebp - 0x200]
lea edi, [eax + 0x20]
mov edx, esi
call fcn.00404380
mov eax, dword [ebp - 0x1dc]
mov ecx, dword [ebp - 0x220]
mov edx, dword [ebp - 0x1c0]
mov edi, dword [ebp - 0x210]
push eax
mov eax, dword [0x430ca0]
push ebx
push ecx
mov ecx, dword [ebp - 0x200]
push edx
push eax
push 1
mov edx, esi
call fcn.00404380
mov eax, dword [ebp - 0x1c4]
add esp, 0x30
test eax, eax
jle 0x40de66
mov edx, dword [ebp - 0x1dc]
fld qword [0x430a68]
fld qword [0x430d18]
mov edi, ebx
fldz
sub edx, esi
mov ecx, esi
sub edi, esi
jmp 0x40de46
fxch st(1)
fxch st(2)
fst qword [edx + ecx]
add ecx, 8
dec eax
fxch st(2)
fst qword [ecx - 8]
fxch st(1)
fst qword [edi + ecx - 8]
jne 0x40de42
mov eax, dword [ebp - 0x1c4]
fstp st(1)
fstp st(0)
fstp st(0)
xor ecx, ecx
mov dword [ebp - 0x1cc], ecx
cmp dword [ebp - 0x1e8], ecx
jle 0x40df41
lea ebx, [ebx]
mov esi, dword [0x42fde0]
mov edx, ecx
imul edx, eax
lea edx, [esi + edx*8]
xor edi, edi
mov dword [ebp - 0x1ec], edx
test eax, eax
jle 0x40df2e
mov ecx, dword [ebp - 0x1dc]
mov esi, dword [ebp - 0x214]
mov edx, dword [ebp - 0x1fc]
sub esi, ecx
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 0x208]
sub edx, ecx
sub esi, ecx
mov ebx, dword [ebp - 0x1ec]
fld qword [ebx]
add ebx, 8
mov dword [ebp - 0x1ec], ebx
mov ebx, dword [ebp - 0x1cc]
imul ebx, eax
mov eax, dword [0x42fde0]
add ebx, edi
fld qword [eax + ebx*8]
mov ebx, dword [ebp - 0x10]
fadd qword [edx + ecx]
fstp qword [edx + ecx]
fld st(0)
fmul st(1)
fadd qword [ecx]
fstp qword [ecx]
fcom qword [ebx + ecx]
fnstsw ax
test ah, 5
jp 0x40df02
fld st(0)
jmp 0x40df05
fld qword [ebx + ecx]
fstp qword [ebx + ecx]
fcom qword [esi + ecx]
fnstsw ax
test ah, 0x41
je 0x40df17
fstp st(0)
fld qword [esi + ecx]
fstp qword [esi + ecx]
mov eax, dword [ebp - 0x1c4]
inc edi
add ecx, 8
cmp edi, eax
jl 0x40debf
mov ecx, dword [ebp - 0x1cc]
inc ecx
mov dword [ebp - 0x1cc], ecx
cmp ecx, dword [ebp - 0x1e8]
jl 0x40de80
xor ecx, ecx
test eax, eax
jle 0x40df76
mov edx, dword [ebp - 0x1fc]
mov esi, dword [ebp - 0x200]
fild dword [ebp - 0x1e8]
inc ecx
fdivr qword [edx + ecx*8 - 8]
fstp qword [edx + ecx*8 - 8]
mov eax, dword [ebp - 0x1e8]
mov dword [esi + ecx*4 - 4], eax
mov eax, dword [ebp - 0x1c4]
cmp ecx, eax
jl 0x40df53
mov ecx, dword [ebp - 0x1dc]
mov esi, dword [ebp - 0x208]
mov edx, dword [ebp - 0x1fc]
push ecx
push esi
push edx
push eax
mov eax, dword [0x430c14]
push eax
push 2
call dword [sym.imp.MSVCR100.dll___iob_func]
mov ebx, dword [ebp - 0x214]
mov ecx, dword [ebp - 0x200]
lea edi, [eax + 0x20]
mov edx, ebx
call fcn.00404380
mov ecx, dword [ebp - 0x1dc]
mov edx, dword [ebp - 0x1fc]
mov eax, dword [ebp - 0x1c4]
mov edi, dword [ebp - 0x210]
push ecx
mov ecx, dword [0x430c14]
push esi
push edx
push eax
push ecx
mov ecx, dword [ebp - 0x200]
push 2
mov edx, ebx
call fcn.00404380
mov esi, dword [ebp - 0x21c]
push esi
call dword [sym.imp.MSVCR100.dll_fflush]
add esp, 0x34
push 0
push 0
push 0
push esi
call dword [sym.imp.MSVCR100.dll__fseeki64]
mov eax, dword [0x430c04]
mov edx, dword [ebp - 0x1c0]
mov ebx, dword [sym.imp.MSVCR100.dll_fwrite]
push eax
push 1
lea ecx, [ebp - 0x1f0]
push 4
push ecx
mov dword [ebp - 0x1f0], edx
call ebx
add esp, 0x20
cmp eax, 1
je 0x40e03b
mov eax, 0x427994
mov ebx, 5
call fcn.00418a60
mov edx, dword [0x430c04]
push edx
push 1
lea eax, [ebp - 0x1c4]
push 4
push eax
call ebx
add esp, 0x10
cmp eax, 1
je 0x40e066
mov eax, 0x427994
mov ebx, 5
call fcn.00418a60
mov ecx, dword [0x430c04]
push ecx
push 1
lea edx, [ebp - 0x22c]
push 4
push edx
call ebx
add esp, 0x10
cmp eax, 1
je 0x40e091
mov eax, 0x427994
mov ebx, 5
call fcn.00418a60
mov eax, dword [0x430c04]
push eax
push 1
lea ecx, [ebp - 0x1e8]
push 4
push ecx
call ebx
add esp, 0x10
cmp eax, 1
je 0x40e0bb
mov eax, 0x427994
mov ebx, 5
call fcn.00418a60
mov edx, dword [0x430c04]
push edx
push 1
push 4
push 0x42fdec
call ebx
add esp, 0x10
cmp eax, 1
je 0x40e0e4
mov eax, 0x427994
mov ebx, 5
call fcn.00418a60
mov eax, dword [0x430c04]
push eax
push 1
lea ecx, [ebp - 0x1f0]
push 4
push ecx
mov dword [ebp - 0x1f0], 1
call ebx
add esp, 0x10
cmp eax, 1
je 0x40e118
mov eax, 0x427994
mov ebx, 5
call fcn.00418a60
cmp dword [0x430a60], 0
je 0x40e131
mov edx, dword [0x430cb8]
neg edx
mov dword [ebp - 0x1f0], edx
jmp 0x40e13c
mov eax, dword [0x430cb8]
mov dword [ebp - 0x1f0], eax
mov ecx, dword [0x430c04]
push ecx
push 1
lea edx, [ebp - 0x1f0]
push 4
push edx
call ebx
add esp, 0x10
cmp eax, 1
je 0x40e167
mov eax, 0x427994
mov ebx, 5
call fcn.00418a60
mov eax, dword [0x430c04]
push eax
push 1
lea ecx, [ebp - 0x1d0]
push 4
push ecx
call ebx
add esp, 0x10
cmp eax, 1
je 0x40e191
mov eax, 0x427994
mov ebx, 5
call fcn.00418a60
mov edx, dword [0x430c04]
push edx
call dword [sym.imp.MSVCR100.dll__ftelli64]
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x218]
add esp, 4
mov dword [ebp - 0x240], edx
test eax, eax
je 0x40e1e1
mov ecx, dword [0x430c04]
mov edx, dword [0x42fde8]
push ecx
push 1
push eax
push edx
call ebx
add esp, 0x10
cmp eax, 1
je 0x40e1e1
mov eax, 0x427994
mov ebx, 5
call fcn.00418a60
mov eax, dword [ebp - 0x1d0]
imul eax, dword [ebp - 0x20c]
add eax, eax
add eax, eax
add eax, eax
je 0x40e220
mov ecx, dword [0x430c04]
mov edx, dword [0x42fd90]
push ecx
push 1
push eax
push edx
call ebx
add esp, 0x10
cmp eax, 1
je 0x40e220
mov eax, 0x427994
mov ebx, 5
call fcn.00418a60
mov esi, dword [ebp - 0x1c0]
lea eax, [esi + 1]
imul eax, eax, 0xd
test eax, eax
je 0x40e25a
mov ecx, dword [0x430c04]
mov edx, dword [0x430ca0]
push ecx
push 1
push eax
push edx
call ebx
add esp, 0x10
cmp eax, 1
je 0x40e25a
mov eax, 0x427994
mov ebx, 5
call fcn.00418a60
mov eax, dword [ebp - 0x1c4]
inc eax
imul eax, eax, 0xd
test eax, eax
je 0x40e292
mov ecx, dword [0x430c04]
mov edx, dword [0x430c14]
push ecx
push 1
push eax
push edx
call ebx
add esp, 0x10
cmp eax, 1
je 0x40e292
mov eax, 0x427994
mov ebx, 5
call fcn.00418a60
mov eax, dword [ebp - 0x1d0]
imul eax, eax, 0xd
test eax, eax
je 0x40e2c9
mov ecx, dword [0x430c04]
mov edx, dword [0x430c10]
push ecx
push 1
push eax
push edx
call ebx
add esp, 0x10
cmp eax, 1
je 0x40e2c9
mov eax, 0x427994
mov ebx, 5
call fcn.00418a60
mov eax, dword [0x430c04]
push eax
push 1
lea ecx, [ebp - 0x1f0]
push 4
push ecx
mov dword [ebp - 0x1f0], 0x104
call ebx
add esp, 0x10
cmp eax, 1
je 0x40e2fd
mov eax, 0x427994
mov ebx, 5
call fcn.00418a60
mov edx, dword [0x430c04]
mov eax, dword [0x430208]
push edx
push 1
push 0x104
push eax
call ebx
add esp, 0x10
cmp eax, 1
je 0x40e32a
mov eax, 0x427994
mov ebx, 5
call fcn.00418a60
mov ecx, dword [0x430c04]
mov edx, dword [0x43020c]
push ecx
push 1
push 0x104
push edx
call ebx
add esp, 0x10
cmp eax, 1
je 0x40e358
mov eax, 0x427994
mov ebx, 5
call fcn.00418a60
lea eax, [esi*8]
test eax, eax
je 0x40e38d
mov ecx, dword [0x430c04]
mov edx, dword [ebp - 0x220]
push ecx
push 1
push eax
push edx
call ebx
add esp, 0x10
cmp eax, 1
je 0x40e38d
mov eax, 0x427994
mov ebx, 5
call fcn.00418a60
mov eax, dword [ebp - 0x1c4]
add eax, eax
add eax, eax
add eax, eax
je 0x40e3c5
mov ecx, dword [0x430c04]
mov edx, dword [ebp - 0x1fc]
push ecx
push 1
push eax
push edx
call ebx
add esp, 0x10
cmp eax, 1
je 0x40e3c5
mov eax, 0x427994
mov ebx, 5
call fcn.00418a60
cmp dword [0x430cb8], 9
jne 0x40e3e5
mov eax, dword [0x42fb48]
mov eax, dword [eax + 0x30]
mov edi, dword [sym.imp.MSVCR100.dll_free]
test eax, eax
je 0x40e3fd
push eax
call edi
jmp 0x40e3fa
mov ecx, dword [0x42fb48]
mov edx, dword [ecx]
push edx
call dword [sym.imp.MSVCR100.dll_fclose]
mov edi, dword [sym.imp.MSVCR100.dll_free]
add esp, 4
cmp dword [0x430a60], 0
mov eax, dword [ebp - 0x1e8]
je 0x40e43e
add eax, eax
add eax, eax
add eax, eax
je 0x40e46f
mov ecx, dword [0x430c04]
mov edx, dword [0x42fb90]
push ecx
push 1
push eax
push edx
call ebx
add esp, 0x10
cmp eax, 1
je 0x40e46f
mov eax, 0x427994
mov ebx, 5
call fcn.00418a60
imul eax, eax, 0xd
test eax, eax
je 0x40e46f
mov ecx, dword [0x430c04]
mov edx, dword [0x42fa00]
push ecx
push 1
push eax
push edx
call ebx
add esp, 0x10
cmp eax, 1
je 0x40e46f
mov eax, 0x427994
mov ebx, 5
call fcn.00418a60
mov eax, dword [ebp - 0x1c4]
imul eax, dword [ebp - 0x1e8]
add eax, eax
add eax, eax
add eax, eax
je 0x40e4ae
mov ecx, dword [0x430c04]
mov edx, dword [0x42fde0]
push ecx
push 1
push eax
push edx
call ebx
add esp, 0x10
cmp eax, 1
je 0x40e4ae
mov eax, 0x427994
mov ebx, 5
call fcn.00418a60
mov esi, dword [ebp - 0x1d0]
imul esi, esi
add esi, esi
add esi, esi
add esi, esi
xor eax, eax
cmp esi, eax
jne 0x40e4cb
mov dword [ebp - 0x1fc], eax
jmp 0x40e502
push esi
call dword [sym.imp.MSVCR100.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
jne 0x40e4e8
mov eax, 0x427955
lea ebx, [edi + 3]
call fcn.00418a60
push esi
push 0
push edi
call sub.MSVCR100.dll_memset
add esp, 0xc
mov dword [ebp - 0x1fc], edi
mov edi, dword [sym.imp.MSVCR100.dll_free]
xor eax, eax
mov dword [ebp - 0x1f0], eax
cmp dword [ebp - 0x1e8], eax
jg 0x40e5b2
fldz
mov edx, dword [0x42fde8]
mov ecx, 1
mov word [edx], cx
mov dword [ebp - 0x1cc], eax
cmp dword [ebp - 0x1d0], eax
jle 0x40e9c7
fld qword [0x42e268]
mov dword [ebp - 0x1c8], eax
mov eax, dword [0x42fd90]
add eax, 8
mov dword [ebp - 0x1f8], eax
xor ecx, ecx
cmp dword [ebp - 0x1c0], ecx
jle 0x40e98e
mov edi, dword [ebp - 0x1e4]
fild dword [ebp - 0x1e4]
mov esi, dword [0x42fde8]
mov edx, dword [ebp - 0x1f8]
dec edi
mov dword [ebp - 0x10], edi
add esi, 2
fld qword [edx]
fdiv st(1)
fst qword [edx]
test edi, edi
jle 0x40e95f
mov eax, dword [ebp - 0x1c8]
fld st(1)
mov ebx, dword [ebp - 0x1e0]
fmul st(1)
add eax, ecx
fmulp st(1)
fsubr qword [ebx + eax*8]
mov ebx, dword [sym.imp.MSVCR100.dll_fwrite]
fidiv dword [ebp - 0x10]
jmp 0x40e963
fstp st(0)
mov ebx, dword [ebp - 0x21c]
mov edi, dword [sym.imp.MSVCR100.dll_fread]
push ebx
push 1
lea eax, [ebp - 0x1bc]
push 4
push eax
call edi
mov ecx, dword [0x430c04]
push ecx
push 1
lea edx, [ebp - 0x1bc]
push 4
push edx
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x20
cmp eax, 1
jne 0x40e02c
mov esi, dword [ebp - 0x1c0]
add esi, esi
add esi, esi
add esi, esi
je 0x40e60d
push ebx
push eax
mov eax, dword [ebp - 0x1f4]
push esi
push eax
call edi
add esp, 0x10
test esi, esi
je 0x40e634
mov ecx, dword [0x430c04]
mov edx, dword [ebp - 0x1f4]
push ecx
push 1
push esi
push edx
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp eax, 1
jne 0x40e02c
mov edi, dword [ebp - 0x1bc]
xor ebx, ebx
test edi, edi
jle 0x40e675
test esi, esi
je 0x40e670
mov ecx, dword [0x430cb0]
mov eax, dword [ebp - 0x21c]
imul ecx, ebx
mov edx, dword [ebp - 0x1d8]
push eax
push 1
lea eax, [edx + ecx*8]
push esi
push eax
call dword [sym.imp.MSVCR100.dll_fread]
mov edi, dword [ebp - 0x1bc]
add esp, 0x10
inc ebx
cmp ebx, edi
jl 0x40e640
xor ebx, ebx
mov dword [ebp - 0x1b8], ebx
cmp dword [ebp - 0x1c0], ebx
jle 0x40e6ff
mov ecx, dword [ebp - 0x1d8]
mov dword [ebp - 0x1ec], ecx
mov edx, dword [0x42fdf0]
cmp dword [edx + ebx*4], 0
je 0x40e6e7
xor eax, eax
test edi, edi
jle 0x40e6e1
mov edx, dword [0x430cb0]
mov esi, dword [ebp - 0x1fc]
add edx, edx
add edx, edx
add edx, edx
lea esp, [esp]
fld qword [ecx]
mov edi, eax
imul edi, dword [ebp - 0x1d0]
add edi, dword [ebp - 0x1b8]
inc eax
add ecx, edx
fstp qword [esi + edi*8]
mov edi, dword [ebp - 0x1bc]
cmp eax, edi
jl 0x40e6c0
inc dword [ebp - 0x1b8]
mov ecx, dword [ebp - 0x1ec]
inc ebx
add ecx, 8
mov dword [ebp - 0x1ec], ecx
cmp ebx, dword [ebp - 0x1c0]
jl 0x40e695
mov eax, dword [ebp - 0x1d0]
imul eax, edi
add eax, eax
add eax, eax
add eax, eax
je 0x40e739
mov ecx, dword [0x430c04]
mov edx, dword [ebp - 0x1fc]
push ecx
push 1
push eax
push edx
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp eax, 1
jne 0x40e02c
mov edi, dword [ebp - 0x1bc]
fldz
mov ebx, dword [ebp - 0x1c0]
cmp edi, dword [ebp - 0x1d0]
jne 0x40e8e4
xor eax, eax
mov dword [ebp - 0x1cc], eax
cmp edi, eax
jle 0x40e8de
mov dword [ebp - 0x1f8], eax
mov eax, dword [ebp - 0x1d8]
add eax, 0x10
mov dword [ebp - 0x1c8], eax
xor ecx, ecx
xor edx, edx
test edi, edi
jle 0x40e7a7
mov eax, dword [ebp - 0x1d0]
imul eax, dword [ebp - 0x1cc]
mov esi, dword [ebp - 0x1fc]
lea esi, [esi + eax*8]
fld qword [esi]
fld st(1)
fucompp
fnstsw ax
test ah, 0x44
jnp 0x40e79f
mov edx, ecx
inc ecx
add esi, 8
cmp ecx, edi
jl 0x40e790
xor esi, esi
cmp ebx, 4
jl 0x40e852
mov ebx, dword [ebp - 0x1c0]
mov eax, dword [ebp - 0x1e0]
mov esi, dword [0x42fd90]
mov edi, dword [ebp - 0x1c8]
mov ecx, edx
imul ecx, ebx
lea ecx, [eax + ecx*8 + 0x10]
mov eax, edx
imul eax, dword [ebp - 0x20c]
add ebx, 0xfffffffc
shr ebx, 2
inc ebx
lea eax, [esi + eax*8 + 0x10]
lea esi, [ebx*4]
fld qword [edi - 0x10]
add edi, 0x20
fld qword [eax - 8]
add eax, 0x20
fadd st(1)
add ecx, 0x20
dec ebx
fstp qword [eax - 0x28]
fmul st(0), st(0)
fadd qword [ecx - 0x30]
fstp qword [ecx - 0x30]
fld qword [edi - 0x28]
fld qword [eax - 0x20]
fadd st(1)
fstp qword [eax - 0x20]
fmul st(0), st(0)
fadd qword [ecx - 0x28]
fstp qword [ecx - 0x28]
fld qword [edi - 0x20]
fld st(0)
fadd qword [eax - 0x18]
fstp qword [eax - 0x18]
fmul st(0), st(0)
fadd qword [ecx - 0x20]
fstp qword [ecx - 0x20]
fld qword [edi - 0x18]
fld qword [eax - 0x10]
fadd st(1)
fstp qword [eax - 0x10]
fmul st(0), st(0)
fadd qword [ecx - 0x18]
fstp qword [ecx - 0x18]
jne 0x40e7ee
mov edi, dword [ebp - 0x1bc]
mov ebx, dword [ebp - 0x1c0]
cmp esi, ebx
jge 0x40e8b2
mov eax, dword [ebp - 0x1e0]
mov edi, dword [ebp - 0x1d8]
mov ecx, edx
imul edx, dword [ebp - 0x20c]
imul ecx, ebx
add ecx, esi
lea eax, [eax + ecx*8]
mov ecx, dword [ebp - 0x1f8]
add ecx, esi
lea edi, [edi + ecx*8]
mov ecx, dword [0x42fd90]
add edx, esi
lea edx, [ecx + edx*8 + 8]
mov ecx, ebx
sub ecx, esi
fld qword [edi]
add edi, 8
fld st(0)
add edx, 8
fadd qword [edx - 8]
add eax, 8
dec ecx
fstp qword [edx - 8]
fmul st(0), st(0)
fadd qword [eax - 8]
fstp qword [eax - 8]
jne 0x40e88e
mov edi, dword [ebp - 0x1bc]
mov eax, dword [0x430cb0]
add dword [ebp - 0x1f8], eax
mov ecx, dword [ebp - 0x1cc]
add eax, eax
add eax, eax
add eax, eax
add dword [ebp - 0x1c8], eax
inc ecx
mov dword [ebp - 0x1cc], ecx
cmp ecx, edi
jl 0x40e772
inc dword [ebp - 0x1e4]
xor esi, esi
test edi, edi
jle 0x40e933
mov edx, dword [0x430cb0]
mov eax, dword [ebp - 0x1d8]
imul edx, esi
lea ecx, [eax + edx*8]
lea eax, [ebx*8]
test eax, eax
je 0x40e92e
mov edx, dword [0x430c04]
fstp st(0)
push edx
push 1
push eax
push ecx
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp eax, 1
jne 0x40e02c
mov edi, dword [ebp - 0x1bc]
fldz
inc esi
cmp esi, edi
jl 0x40e8ea
mov eax, dword [ebp - 0x1f0]
inc eax
mov dword [ebp - 0x1f0], eax
cmp eax, dword [ebp - 0x1e8]
jl 0x40e5b0
mov ebx, dword [sym.imp.MSVCR100.dll_fwrite]
mov edi, dword [sym.imp.MSVCR100.dll_free]
xor eax, eax
jmp 0x40e516
fstp st(0)
fld st(2)
fabs
fcomp st(2)
fnstsw ax
test ah, 0x41
jne 0x40e973
xor eax, eax
mov word [esi], ax
inc ecx
add edx, 8
add esi, 2
cmp ecx, dword [ebp - 0x1c0]
jl 0x40e57d
mov edi, dword [sym.imp.MSVCR100.dll_free]
fstp st(0)
mov eax, dword [ebp - 0x20c]
mov ecx, dword [ebp - 0x1cc]
mov edx, dword [ebp - 0x1c0]
add dword [ebp - 0x1c8], edx
add eax, eax
add eax, eax
add eax, eax
add dword [ebp - 0x1f8], eax
inc ecx
mov dword [ebp - 0x1cc], ecx
cmp ecx, dword [ebp - 0x1d0]
jl 0x40e550
fstp st(0)
mov eax, dword [0x430c04]
fstp st(0)
push eax
call dword [sym.imp.MSVCR100.dll_fflush]
mov ecx, dword [ebp - 0x240]
mov edx, dword [ebp - 0x244]
mov eax, dword [0x430c04]
mov esi, dword [sym.imp.MSVCR100.dll__fseeki64]
add esp, 4
push 0
push ecx
push edx
push eax
call esi
add esp, 0x10
cmp dword [ebp - 0x218], 0
je 0x40ea31
mov ecx, dword [0x430c04]
mov edx, dword [ebp - 0x218]
mov eax, dword [0x42fde8]
push ecx
push 1
push edx
push eax
call ebx
add esp, 0x10
cmp eax, 1
je 0x40ea31
mov eax, 0x427994
mov ebx, 5
call fcn.00418a60
mov eax, dword [ebp - 0x1d0]
imul eax, dword [ebp - 0x20c]
add eax, eax
add eax, eax
add eax, eax
je 0x40ea70
mov ecx, dword [0x430c04]
mov edx, dword [0x42fd90]
push ecx
push 1
push eax
push edx
call ebx
add esp, 0x10
cmp eax, 1
je 0x40ea70
mov eax, 0x427994
mov ebx, 5
call fcn.00418a60
mov eax, dword [0x430c04]
push 0
push 0
push 2
push eax
call esi
mov eax, dword [ebp - 0x1fc]
mov ecx, dword [ebp - 0x22c]
mov edx, dword [ebp - 0x1e8]
add esp, 0x10
mov dword [0x430d30], ecx
mov dword [0x430bbc], edx
test eax, eax
je 0x40eaa9
push eax
call edi
add esp, 4
mov eax, dword [ebp - 0x200]
test eax, eax
je 0x40eab9
push eax
call edi
add esp, 4
mov eax, dword [0x430c10]
test eax, eax
je 0x40eac8
push eax
call edi
add esp, 4
mov eax, dword [0x42fde0]
test eax, eax
je 0x40ead7
push eax
call edi
add esp, 4
mov eax, dword [ebp - 0x238]
test eax, eax
je 0x40eae7
push eax
call edi
add esp, 4
cmp dword [0x430a60], 0
mov eax, dword [0x42fb90]
jne 0x40eafa
mov eax, dword [0x42fa00]
test eax, eax
je 0x40eb04
push eax
call edi
add esp, 4
mov eax, dword [0x42fdf0]
test eax, eax
je 0x40eb13
push eax
call edi
add esp, 4
mov eax, dword [ebp - 0x1d8]
test eax, eax
je 0x40eb23
push eax
call edi
add esp, 4
mov eax, dword [ebp - 0x1dc]
test eax, eax
je 0x40eb33
push eax
call edi
add esp, 4
mov eax, dword [ebp - 0x1f4]
test eax, eax
je 0x40eb43
push eax
call edi
add esp, 4
mov eax, dword [0x43021c]
test eax, eax
je 0x40eb52
push eax
call edi
add esp, 4
mov eax, dword [0x42fd90]
test eax, eax
je 0x40eb61
push eax
call edi
add esp, 4
mov eax, dword [0x42fde8]
test eax, eax
je 0x40eb70
push eax
call edi
add esp, 4
mov eax, dword [0x430cb8]
add eax, 0xfffffffe
cmp eax, 6
ja case.0x40eb81.4
jmp dword [eax*4 + 0x40eda4]
mov eax, dword [0x4300e8]
jmp 0x40ec30
mov esi, 0x42fd5c
mov eax, dword [esi - 0x18]
test eax, eax
je 0x40eba4
push eax
call edi
add esp, 4
mov eax, dword [esi]
test eax, eax
je 0x40ebb0
push eax
call edi
add esp, 4
add esi, 0x24
cmp esi, 0x42fda4
jl 0x40eb97
jmp case.0x40eb81.4
mov eax, dword [0x42fb48]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x40ebd2
push eax
call edi
add esp, 4
mov eax, dword [0x430ca4]
test eax, eax
je 0x40ebe1
push eax
call edi
add esp, 4
mov eax, dword [0x4300e0]
jmp 0x40ec30
mov eax, dword [0x430b94]
test eax, eax
je 0x40ebf7
push eax
call edi
add esp, 4
mov eax, dword [0x430d44]
jmp 0x40ec30
mov eax, dword [0x42fa2c]
test eax, eax
je 0x40ec0d
push eax
call edi
add esp, 4
mov eax, dword [0x42fabc]
test eax, eax
je 0x40ec1c
push eax
call edi
add esp, 4
mov eax, dword [0x42fa34]
test eax, eax
je 0x40ec2b
push eax
call edi
add esp, 4
mov eax, dword [0x42fac4]
test eax, eax
je case.0x40eb81.4
push eax
call edi
add esp, 4
mov eax, dword [0x430208]
test eax, eax
je 0x40ec49
push eax
call edi
add esp, 4
mov ecx, dword [ebp - 0x21c]
push ecx
call fcn.00403ac0
mov edx, dword [0x430c04]
mov ebx, dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
push edx
call ebx
mov esi, dword [ebp - 0x210]
mov edi, dword [sym.imp.MSVCR100.dll_fprintf]
add esp, 4
push 0x42fc20
push str.MDM_template:___s_n
push esi
call edi
add esp, 0xc
push 0x430d60
push str.MDM_file_name:__s_n
push esi
call edi
mov eax, dword [0x430cd4]
mov ecx, dword [0x430ccc]
mov edx, dword [0x430cd0]
add esp, 0xc
add eax, 0x76c
push eax
push ecx
lea eax, [edx*4 + 0x430220]
push eax
push str.Date:___________s__d___d_n
push esi
call edi
mov ecx, dword [0x430cc0]
mov edx, dword [0x430cc4]
mov eax, dword [0x430cc8]
add esp, 0x14
push ecx
push edx
push eax
push str.Time:___________02d:_02d:_02d_n
push esi
call edi
add esp, 0x14
push esi
call ebx
add esp, 4
cmp dword [ebp - 0x230], 0
je 0x40ecfd
push str._nThere_are_extra_messages_in_HMLMMDM.STS.__Please_examine_this_file._n_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00425fc4
mov esp, ebp
pop ebp
ret