Function at 0x45cbc0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x74
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
lea eax, [esp + 0x38]
push eax
push esi
call fcn.0046d310
add esp, 8
test al, al
jne 0x45cc3c
mov esi, dword [sym.imp.MSVCR100.dll___iob_func]
push 0x4c14ec
push 0x4c1514
mov byte [0x652212], 1
call esi
mov edi, dword [sym.imp.MSVCR100.dll_fprintf]
add eax, 0x20
push eax
call edi
call esi
mov ebx, dword [sym.imp.MSVCR100.dll_fflush]
add eax, 0x20
push eax
call ebx
add esp, 0x10
push 0x4c1524
push 0x4c154c
call esi
add eax, 0x40
push eax
call edi
call esi
add eax, 0x40
push eax
call ebx
add esp, 0x10
push 2
call dword [sym.imp.MSVCR100.dll_exit]
mov eax, dword [esp + 0x38]
test eax, eax
jns 0x45cc4a
neg eax
mov dword [esp + 0x38], eax
mov ebx, 1
cmp eax, ebx
jge 0x45cc94
mov esi, dword [sym.imp.MSVCR100.dll___iob_func]
push 0x4c155c
push 0x4c1584
mov byte [0x652212], bl
call esi
mov edi, dword [sym.imp.MSVCR100.dll_fprintf]
add eax, 0x20
push eax
call edi
call esi
mov ebx, dword [sym.imp.MSVCR100.dll_fflush]
add eax, 0x20
push eax
call ebx
add esp, 0x10
push str.ReadContour_____less_than_one_vertex__n
push 0x4c15bc
jmp 0x45cc21
add eax, 0xa
push eax
call fcn.00452c20
mov ecx, dword [esp + 0x3c]
add ecx, 0xa
push ecx
call fcn.00452cf0
lea edx, [esp + 0x54]
push edx
push esi
call fcn.0046d2d0
add esp, 0x10
test al, al
jne 0x45cd00
mov esi, dword [sym.imp.MSVCR100.dll___iob_func]
push 0x4c15cc
push 0x4c15f4
mov byte [0x652212], bl
call esi
mov edi, dword [sym.imp.MSVCR100.dll_fprintf]
add eax, 0x20
push eax
call edi
call esi
mov ebx, dword [sym.imp.MSVCR100.dll_fflush]
add eax, 0x20
push eax
call ebx
add esp, 0x10
push 0x4c1604
push 0x4c162c
jmp 0x45cc21
lea eax, [esp + 0x40]
push eax
push esi
call fcn.0046d310
add esp, 8
test al, al
jne 0x45cd56
mov esi, dword [sym.imp.MSVCR100.dll___iob_func]
push 0x4c163c
push 0x4c1664
mov byte [0x652212], bl
call esi
mov edi, dword [sym.imp.MSVCR100.dll_fprintf]
add eax, 0x20
push eax
call edi
call esi
mov ebx, dword [sym.imp.MSVCR100.dll_fflush]
add eax, 0x20
push eax
call ebx
add esp, 0x10
push 0x4c1674
push 0x4c169c
jmp 0x45cc21
mov ecx, dword [esp + 0x40]
inc ecx
cmp ecx, 2
ja 0x45d0f6
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x7c]
push eax
push esi
call fcn.0046d390
add esp, 0xc
test al, al
jne 0x45cdbf
mov esi, dword [sym.imp.MSVCR100.dll___iob_func]
push 0x4c171c
push 0x4c1744
mov byte [0x652212], bl
call esi
mov edi, dword [sym.imp.MSVCR100.dll_fprintf]
add eax, 0x20
push eax
call edi
call esi
mov ebx, dword [sym.imp.MSVCR100.dll_fflush]
add eax, 0x20
push eax
call ebx
add esp, 0x10
push 0x4c1754
push 0x4c177c
jmp 0x45cc21
mov ecx, dword [0x4b95e8]
fld qword [esp + 0x70]
push ecx
sub esp, 0x10
fstp qword [esp + 8]
fld qword [esp + 0x8c]
fstp qword [esp]
call fcn.004530e0
mov esi, dword [esp + 0x54]
add esp, 0x14
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov edi, ebx
cmp dword [esp + 0x38], ebx
jle 0x45cedf
jmp 0x45ce00
lea edx, [esp + 0x3c]
push edx
mov edx, dword [ebp + 8]
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x60]
push ecx
push edx
call fcn.0046d360
add esp, 0x10
test al, al
je 0x45cf46
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x40]
push eax
push ecx
call fcn.0046d310
add esp, 8
test al, al
je 0x45cf8a
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x6c]
push eax
push ecx
call fcn.0046d390
add esp, 0xc
test al, al
je 0x45cfce
test esi, esi
jne 0x45ce84
mov edx, dword [esp + 0x3c]
fld qword [esp + 0x60]
push edx
sub esp, 0x10
fstp qword [esp + 8]
lea eax, [esp + 0x58]
fld qword [esp + 0x7c]
fstp qword [esp]
push eax
call fcn.00453160
add esp, 0x18
jmp 0x45cecf
cmp esi, 0xffffffff
je 0x45ce91
cmp esi, ebx
jne 0x45d012
mov ecx, dword [esp + 0x3c]
fld qword [esp + 0x50]
push ecx
push esi
sub esp, 0x20
fstp qword [esp + 0x18]
lea edx, [esp + 0x6c]
fld qword [esp + 0x80]
fstp qword [esp + 0x10]
fld qword [esp + 0x88]
fstp qword [esp + 8]
fld qword [esp + 0x90]
fstp qword [esp]
push edx
call fcn.004531a0
add esp, 0x2c
mov esi, dword [esp + 0x40]
add edi, ebx
cmp edi, dword [esp + 0x38]
jl 0x45ce00
lea eax, [esp + 0x3c]
push eax
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x60]
push edx
push eax
call fcn.0046d360
add esp, 0x10
test al, al
jne 0x45d056
mov esi, dword [sym.imp.MSVCR100.dll___iob_func]
push 0x4c194c
push 0x4c1974
mov byte [0x652212], bl
call esi
mov edi, dword [sym.imp.MSVCR100.dll_fprintf]
add eax, 0x20
push eax
call edi
call esi
mov ebx, dword [sym.imp.MSVCR100.dll_fflush]
add eax, 0x20
push eax
call ebx
add esp, 0x10
push 0x4c1984
push 0x4c19ac
jmp 0x45cc21
mov esi, dword [sym.imp.MSVCR100.dll___iob_func]
push 0x4c178c
push 0x4c17b4
mov byte [0x652212], bl
call esi
mov edi, dword [sym.imp.MSVCR100.dll_fprintf]
add eax, 0x20
push eax
call edi
call esi
mov ebx, dword [sym.imp.MSVCR100.dll_fflush]
add eax, 0x20
push eax
call ebx
add esp, 0x10
push 0x4c17c4
push 0x4c17ec
jmp 0x45cc21
mov esi, dword [sym.imp.MSVCR100.dll___iob_func]
push 0x4c17fc
push 0x4c1824
mov byte [0x652212], bl
call esi
mov edi, dword [sym.imp.MSVCR100.dll_fprintf]
add eax, 0x20
push eax
call edi
call esi
mov ebx, dword [sym.imp.MSVCR100.dll_fflush]
add eax, 0x20
push eax
call ebx
add esp, 0x10
push 0x4c1834
push 0x4c185c
jmp 0x45cc21
mov esi, dword [sym.imp.MSVCR100.dll___iob_func]
push 0x4c186c
push 0x4c1894
mov byte [0x652212], bl
call esi
mov edi, dword [sym.imp.MSVCR100.dll_fprintf]
add eax, 0x20
push eax
call edi
call esi
mov ebx, dword [sym.imp.MSVCR100.dll_fflush]
add eax, 0x20
push eax
call ebx
add esp, 0x10
push 0x4c18a4
push 0x4c18cc
jmp 0x45cc21
mov esi, dword [sym.imp.MSVCR100.dll___iob_func]
push 0x4c18dc
push 0x4c1904
mov byte [0x652212], bl
call esi
mov edi, dword [sym.imp.MSVCR100.dll_fprintf]
add eax, 0x20
push eax
call edi
call esi
mov ebx, dword [sym.imp.MSVCR100.dll_fflush]
add eax, 0x20
push eax
call ebx
add esp, 0x10
push 0x4c1914
push 0x4c193c
jmp 0x45cc21
test esi, esi
jne 0x45d078
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
push ecx
push edx
push eax
call fcn.004532c0
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0xffffffff
je 0x45d0c5
cmp esi, ebx
je 0x45d0c5
mov esi, dword [sym.imp.MSVCR100.dll___iob_func]
push 0x4c19bc
push 0x4c19e4
mov byte [0x652212], bl
call esi
mov edi, dword [sym.imp.MSVCR100.dll_fprintf]
add eax, 0x20
push eax
call edi
call esi
mov ebx, dword [sym.imp.MSVCR100.dll_fflush]
add eax, 0x20
push eax
call ebx
add esp, 0x10
push str.ReadContour_____unknown_data_format__n
push 0x4c1a1c
jmp 0x45cc21
mov ecx, dword [esp + 0x3c]
fld qword [esp + 0x50]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
push ecx
push esi
sub esp, 0x10
fstp qword [esp + 8]
fld qword [esp + 0x70]
fstp qword [esp]
push edx
push eax
call fcn.004532d0
add esp, 0x20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.MSVCR100.dll___iob_func]
push 0x4c16ac
push 0x4c16d4
mov byte [0x652212], bl
call esi
mov edi, dword [sym.imp.MSVCR100.dll_fprintf]
add eax, 0x20
push eax
call edi
call esi
mov ebx, dword [sym.imp.MSVCR100.dll_fflush]
add eax, 0x20
push eax
call ebx
add esp, 0x10
push 0x4c16e4
push 0x4c170c
jmp 0x45cc21