Function at 0x40ebea
Capabilities:
Terminate process

Disassembly:
jmp 0x40ebea
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x94
mov eax, dword [0x498368]
xor eax, ebp
mov dword [ebp + 0x74], eax
fldz
push 0x4b
fst qword [ebp - 0x1c]
fld1
fstp qword [0x49a3f0]
fst qword [0x49a318]
fst qword [0x49a568]
fstp qword [0x49a208]
call fcn.004010a0
mov dword [esp], 0x48531c
lea eax, [ebp - 8]
push 0x49ee80
push eax
call fcn.00459214
add esp, 0xc
test eax, eax
je 0x40ec5c
push 0x40
push 0x485300
push 0x4852e4
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call fcn.004582bc
push ebx
push esi
push edi
push 0x14
lea eax, [ebp + 0x60]
push eax
mov ebx, 0x4852e0
push ebx
push dword [ebp - 8]
call fcn.00459101
lea eax, [ebp + 0x60]
push str.TYPE
push eax
call fcn.00458f00
add esp, 0x18
test eax, eax
je 0x40ec96
push 0x40
push 0x485300
push 0x4852bc
jmp 0x40ec4d
push 0x49a4bc
push 0x49a1a8
push str._ld__lf
push dword [ebp - 8]
call fcn.00459101
add esp, 0x10
cmp dword [0x49a1a8], 0x48
je 0x40ecc7
push 0x40
push 0x485300
push 0x48528c
jmp 0x40ec4d
push 0x14
lea eax, [ebp + 0x60]
push eax
push ebx
push dword [ebp - 8]
call fcn.00459101
lea eax, [ebp + 0x60]
push str.DESI
push eax
call fcn.00458f00
add esp, 0x18
test eax, eax
jne 0x40ec88
push 0x49a378
push 0x49a4b8
push str._ld__ld
push dword [ebp - 8]
call fcn.00459101
push 0x49a3e0
push 0x49ecd0
push 0x49ecf0
mov esi, str._lf__lf__lf
push esi
push dword [ebp - 8]
call fcn.00459101
push 0x49a438
lea eax, [ebp - 0x14]
push eax
push 0x49a540
push esi
push dword [ebp - 8]
call fcn.00459101
push 0x49a178
push 0x49a2d8
mov edi, str._lf__lf
push edi
push dword [ebp - 8]
call fcn.00459101
add esp, 0x48
lea eax, [ebp - 0x14]
push eax
mov esi, 0x485258
push esi
push dword [ebp - 8]
call fcn.00459101
push 0x14
lea eax, [ebp + 0x60]
push eax
push ebx
push dword [ebp - 8]
call fcn.00459101
lea eax, [ebp + 0x60]
push str.SIZE
push eax
call fcn.00458f00
add esp, 0x24
test eax, eax
je 0x40ed98
push 0x40
push 0x485300
push 0x485234
jmp 0x40ec4d
push 0x49a3d8
push 0x49a368
push edi
push dword [ebp - 8]
call fcn.00459101
push 0x49a0a8
push 0x49a090
push edi
push dword [ebp - 8]
call fcn.00459101
push 0x14
lea eax, [ebp + 0x60]
push eax
push ebx
push dword [ebp - 8]
call fcn.00459101
lea eax, [ebp + 0x60]
push str.BOLT
push eax
call fcn.00458f00
add esp, 0x38
test eax, eax
je 0x40edf3
push 0x40
push 0x485300
push 0x485210
jmp 0x40ec4d
push 0x49a170
push 0x49a1ac
push str._ld__lf
push dword [ebp - 8]
call fcn.00459101
push 0x49a2d0
push 0x49a3a8
push 0x49a550
push str._lf__lf__lf
push dword [ebp - 8]
call fcn.00459101
push 0x14
lea eax, [ebp + 0x60]
push eax
push ebx
push dword [ebp - 8]
call fcn.00459101
lea eax, [ebp + 0x60]
push str.DRAW
push eax
call fcn.00458f00
add esp, 0x3c
test eax, eax
je 0x40ee5b
push 0x40
push 0x485300
push 0x4851ec
jmp 0x40ec4d
push 0x49a3f0
lea eax, [ebp - 0x1c]
push eax
push edi
push dword [ebp - 8]
call fcn.00459101
fldz
fld st(0)
add esp, 0x10
fld qword [0x49a3f0]
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jp 0x40ee96
fstp st(0)
xor esi, esi
fstp st(0)
mov dword [0x49cd30], esi
jmp 0x40ef57
and dword [ebp - 0xc], 0
fcom st(1)
mov dword [0x49cd30], 1
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x40eedd
mov edi, 0x49a318
push edi
fstp st(0)
push esi
push dword [ebp - 8]
call fcn.00459101
add esp, 0xc
inc dword [ebp - 0xc]
fild dword [ebp - 0xc]
add edi, 8
fld qword [0x49a3f0]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
je 0x40eeb4
fcom qword [0x484d00]
and dword [ebp - 0xc], 0
fnstsw ax
test ah, 0x41
jne 0x40ef1c
mov edi, 0x49a568
push edi
fstp st(0)
push esi
push dword [ebp - 8]
call fcn.00459101
add esp, 0xc
inc dword [ebp - 0xc]
fild dword [ebp - 0xc]
add edi, 8
fld qword [0x49a3f0]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
je 0x40eef3
fcomp qword [0x484d00]
and dword [ebp - 0xc], 0
fnstsw ax
test ah, 0x41
jne 0x40ef55
mov edi, 0x49a208
push edi
push esi
push dword [ebp - 8]
call fcn.00459101
add esp, 0xc
inc dword [ebp - 0xc]
fild dword [ebp - 0xc]
add edi, 8
fcomp qword [0x49a3f0]
fnstsw ax
test ah, 5
jnp 0x40ef32
xor esi, esi
push 0x14
lea eax, [ebp + 0x60]
push eax
push ebx
push dword [ebp - 8]
call fcn.00459101
lea eax, [ebp + 0x60]
push 0x4851e8
push eax
call fcn.00458f00
add esp, 0x18
test eax, eax
je 0x40ef8d
push 0x40
push 0x485300
push 0x4851cc
push esi
jmp 0x40ec4f
push dword [ebp - 8]
call fcn.00458e83
push 0x64
lea eax, [ebp - 4]
push esi
push eax
mov dword [0x49a2c0], 0x193
call fcn.00459270
push 0x49ee18
lea eax, [ebp - 4]
push 0x64
push eax
call fcn.00458dab
push str.programD_072_yszm.txt
lea eax, [ebp - 4]
push 0x64
push eax
call fcn.00458716
push 0x48531c
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00459214
add esp, 0x34
test eax, eax
je 0x40eff2
push 0x40
push 0x4851a0
push 0x48517c
jmp 0x40ef87
push 0x49f028
push 0x49efe8
push 0x49f008
push str._lf__lf__lf
push dword [ebp - 8]
call fcn.00459101
push dword [ebp - 8]
call fcn.00458e83
fld qword [0x484d10]
xor eax, eax
fstp qword [0x49a550]
inc eax
push 0x52
mov dword [0x49ccf8], eax
mov dword [0x49ed08], eax
mov dword [0x49cd0c], esi
mov dword [0x49f018], esi
call fcn.004010a0
push 0x43
call fcn.004010a0
fld qword [0x49a3e0]
fadd st(0), st(0)
add esp, 0x20
fst qword [0x49a520]
fstp qword [0x49a150]
fld qword [0x49a3d8]
fstp qword [0x49a5b8]
fld qword [0x49a090]
fstp qword [0x49a0a0]
fld qword [0x49a0a8]
fstp qword [0x49a3d0]
fld qword [0x49a2d0]
fstp qword [0x49a3b0]
fld qword [0x49a408]
call fcn.00458a10
fld qword [0x49a5d0]
mov dword [0x49d5a4], eax
call fcn.00458a10
fld1
fcomp qword [0x49a0d8]
mov dword [0x49e218], eax
fnstsw ax
fld qword [0x49a260]
test ah, 5
jp 0x40f0e1
fmul qword [0x484d20]
fadd qword [0x485170]
call fcn.00458a10
shl eax, 2
mov dword [ebp - 0xc], eax
fild dword [ebp - 0xc]
jmp 0x40f0fa
fmul qword [0x484cf0]
fadd qword [0x485170]
call fcn.00458a10
add eax, eax
mov dword [ebp - 0xc], eax
fild dword [ebp - 0xc]
fstp qword [0x49a260]
call fcn.0040129e
fld qword [0x485160]
sub esp, 0x20
fstp qword [esp + 0x18]
fld qword [0x485150]
fstp qword [esp + 0x10]
fldz
fst qword [esp + 8]
fstp qword [esp]
call fcn.004010fa
call fcn.00401645
call fcn.0040101e
fld qword [0x484f70]
fst qword [ebp - 0x14]
add esp, 0x10
fld qword [0x484f00]
fstp qword [esp + 8]
fstp qword [esp]
push 0x14
call fcn.00401307
fld qword [0x485140]
fst qword [ebp - 0x14]
add esp, 4
fld qword [0x485130]
fstp qword [esp + 8]
fstp qword [esp]
call fcn.0040132a
fld qword [0x485120]
fst qword [ebp - 0x14]
fld qword [0x49a178]
fstp qword [esp + 8]
fld qword [0x485110]
fstp qword [esp]
push ecx
push ecx
fstp qword [esp]
call fcn.00401195
fld qword [0x485120]
fst qword [ebp - 0x14]
fld qword [0x49a2d8]
fstp qword [esp + 0x10]
fld qword [0x485100]
fstp qword [esp + 8]
fstp qword [esp]
call fcn.0040155a
fld qword [0x485000]
fst qword [ebp - 0x14]
fld qword [0x49a2d8]
fstp qword [esp + 0x10]
fld qword [0x485100]
fstp qword [esp + 8]
fstp qword [esp]
call fcn.0040161d
fld qword [0x485000]
fst qword [ebp - 0x14]
fld qword [0x49a2d8]
fstp qword [esp + 0x10]
fld qword [ebp - 0x1c]
fstp qword [esp + 8]
fld qword [0x485110]
fstp qword [esp]
push ecx
push ecx
fstp qword [esp]
call fcn.004012f8
fld qword [0x4850f0]
add esp, 8
fst qword [ebp - 0x14]
fld qword [0x484f40]
fstp qword [esp + 0x10]
fld qword [0x4850e0]
fstp qword [esp + 8]
fstp qword [esp]
call fcn.0040150a
fld qword [0x4850d0]
add esp, 8
fst qword [ebp - 0x14]
fld qword [0x4850c0]
fstp qword [esp + 8]
fstp qword [esp]
call fcn.00401069
add esp, 0x10
call fcn.004013fc
call fcn.004012fd
cmp dword [0x49f000], esi
pop edi
pop esi
pop ebx
je 0x40f272
call fcn.004015a5
mov ecx, dword [ebp + 0x74]
xor ecx, ebp
call fcn.00458348
add ebp, 0x78
leave
ret