Function at 0x488690
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [0x821094]
sub esp, 0x1b8
test eax, eax
push ebx
push ebp
push esi
push edi
mov esi, ecx
je 0x4886e4
lea eax, [esp + 0xc4]
push 0x104
push eax
push str.D:DevProjectsJMain1SourceVHeli.cpp
mov dword [0x8210d4], 1
call fcn.004e6240
lea ecx, [esp + 0xc4]
push 0x302
push ecx
lea edx, [esi + 4]
push str.Program_runs_to__s__d.
push edx
call fcn.004331c0
add esp, 0x10
mov eax, dword [esi + 0x3e9]
mov ecx, dword [eax + 0x5e9b]
mov eax, dword [esi + 0x1975]
mov dword [esp + 0x84], ecx
mov ecx, dword [esi + 0x3e5]
cmp eax, 3
mov edx, dword [ecx + 0x2a8]
mov dword [esp + 0x70], edx
jne 0x488ea5
mov eax, dword [esi + 0x101]
mov edi, dword [esi + 0x199e]
mov edx, dword [esi + 0xf9]
push eax
lea eax, [esp + 0x48]
inc edi
push edx
push eax
mov dword [esp + 0x24], 0
mov byte [esp + 0x1f], 0
mov dword [esi + 0x199e], edi
call fcn.004afa10
mov ecx, eax
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
lea edx, [ecx + 2]
add ecx, 0xfffffffe
push edx
lea edx, [eax + 2]
push edx
add eax, 0xfffffffe
push ecx
push eax
lea eax, [esp + 0xc4]
push eax
call fcn.004012b0
mov eax, dword [esi + 0x3e5]
mov ecx, dword [eax + 0x78]
mov edx, dword [eax + 0x74]
dec ecx
dec edx
push ecx
push edx
push 0
lea eax, [esp + 0xc4]
push 0
push eax
call fcn.004012b0
lea ecx, [esp + 0xcc]
lea edx, [esp + 0xdc]
push ecx
lea eax, [esp + 0xa0]
push edx
push eax
call fcn.004011d0
add esp, 0x34
test eax, eax
je 0x488f25
lea ebp, [esi + 0x1945]
mov dword [esp + 0x1c], 0
mov edx, dword [esp + 0x1c]
mov ecx, ebp
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x20]
mov dword [ecx], edx
mov dword [esp + 0x24], 0
mov edx, dword [esp + 0x24]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x78]
mov ebx, eax
mov dword [ecx + 8], edx
mov ecx, dword [esp + 0x80]
cmp eax, ecx
mov dword [esp + 0x34], ebx
jg 0x488c13
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x74]
cmp eax, ecx
mov edi, eax
jg 0x488bff
lea eax, [esp + 0x13]
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, dword [esi + 0x3e1]
push 1
push ebx
push edi
call fcn.00438a20
test al, al
je 0x488bee
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x488bee
mov edx, dword [ecx]
call dword [edx + 0x24]
test al, al
jne 0x488a00
mov ecx, dword [esp + 0x18]
call fcn.004be3d0
mov ecx, esi
mov bl, al
call fcn.004be3d0
cmp bl, al
jne 0x488a00
mov ecx, dword [esp + 0x18]
cmp dword [ecx + 0xf2], 1
jne 0x488a00
mov al, byte [ecx + 0x188e]
test al, al
jne 0x488a00
call fcn.004be0c0
cmp eax, dword [esi + 0x188a]
je 0x488a00
mov eax, dword [esp + 0x18]
fld dword [esi + 0xf9]
add eax, 0xf9
mov ecx, dword [eax]
mov dword [esp + 0x4c], ecx
fsub dword [esp + 0x4c]
mov edx, dword [eax + 4]
mov dword [esp + 0x50], edx
fstp dword [esp + 0x38]
fld dword [esi + 0xfd]
fsub dword [esp + 0x50]
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x54], eax
mov dword [esp + 0x28], ecx
fstp dword [esp + 0x3c]
fld dword [esi + 0x101]
fsub dword [esp + 0x54]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x2c], edx
fstp dword [esp + 0x40]
fld dword [esp + 0x38]
fmul dword [esp + 0x38]
fld dword [esp + 0x40]
fmul dword [esp + 0x40]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x30], eax
faddp st(1)
fsqrt
fstp dword [esp + 0x14]
fld dword [0x4f0400]
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 0x40
je 0x48896d
push 0x332
push str.D:DevProjectsJMain1SourceVHeli.cpp
mov dword [esp + 0x1c], 0x3dcccccd
call fcn.00401130
mov dword [esp + 0x4c], eax
push 0x333
fild dword [esp + 0x50]
push str.D:DevProjectsJMain1SourceVHeli.cpp
fmul dword [0x4f0500]
fstp dword [esp + 0x38]
call fcn.00401130
mov dword [esp + 0x54], eax
add esp, 0x10
fild dword [esp + 0x44]
fmul dword [0x4f0500]
fstp dword [esp + 0x30]
fld dword [esi + 0x3bf]
call fcn.004efe6a
nop
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 1
jne 0x488a00
fld dword [esp + 0x30]
fmul dword [esp + 0x30]
fld dword [esp + 0x28]
fmul dword [esp + 0x28]
faddp st(1)
fsqrt
fld dword [esp + 0x28]
fdiv st(1)
fstp dword [esp + 0x98]
fld dword [0x4f0400]
fdiv st(1)
fstp dword [esp + 0x9c]
fdivr dword [esp + 0x30]
fld dword [esp + 0x98]
fdiv dword [esp + 0x14]
fstp dword [esp + 0x8c]
fld dword [esp + 0x9c]
fdiv dword [esp + 0x14]
fstp dword [esp + 0x90]
fdiv dword [esp + 0x14]
fld dword [esp + 0x8c]
fadd dword [ebp]
fstp dword [ebp]
fld dword [esp + 0x90]
fadd dword [ebp + 4]
fstp dword [ebp + 4]
fadd dword [ebp + 8]
fstp dword [ebp + 8]
mov al, byte [esp + 0x13]
test al, al
je 0x488bea
lea ecx, [esp + 0x18]
push 1
push ecx
mov ecx, dword [esi + 0x3e1]
call fcn.0043a440
cmp eax, 0xffffffff
je 0x488ee8
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x488ee8
test eax, eax
je 0x488bea
mov edx, dword [ecx]
call dword [edx + 0x24]
test al, al
jne 0x488bde
mov ecx, dword [esp + 0x18]
call fcn.004be3d0
mov ecx, esi
mov bl, al
call fcn.004be3d0
cmp bl, al
jne 0x488bde
mov ecx, dword [esp + 0x18]
cmp dword [ecx + 0xf2], 1
jne 0x488bde
mov al, byte [ecx + 0x188e]
test al, al
jne 0x488bde
call fcn.004be0c0
cmp eax, dword [esi + 0x188a]
je 0x488bde
mov eax, dword [esp + 0x18]
fld dword [esi + 0xf9]
add eax, 0xf9
mov ecx, dword [eax]
mov dword [esp + 0x4c], ecx
fsub dword [esp + 0x4c]
mov edx, dword [eax + 4]
mov dword [esp + 0x50], edx
fstp dword [esp + 0x1c]
fld dword [esi + 0xfd]
fsub dword [esp + 0x50]
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x54], eax
mov dword [esp + 0x28], ecx
fstp dword [esp + 0x20]
fld dword [esi + 0x101]
fsub dword [esp + 0x54]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x2c], edx
fstp dword [esp + 0x24]
fld dword [esp + 0x1c]
fmul dword [esp + 0x1c]
fld dword [esp + 0x24]
fmul dword [esp + 0x24]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x30], eax
faddp st(1)
fsqrt
fst dword [esp + 0x14]
fcomp dword [0x4f1738]
fnstsw ax
test ah, 1
je 0x488b63
push 0x34c
push str.D:DevProjectsJMain1SourceVHeli.cpp
mov dword [esp + 0x1c], 0x3dcccccd
call fcn.00401130
mov dword [esp + 0x4c], eax
push 0x34d
fild dword [esp + 0x50]
push str.D:DevProjectsJMain1SourceVHeli.cpp
fmul dword [0x4f0500]
fstp dword [esp + 0x38]
call fcn.00401130
mov dword [esp + 0x54], eax
add esp, 0x10
fild dword [esp + 0x44]
fmul dword [0x4f0500]
fstp dword [esp + 0x30]
fld dword [esi + 0x3bf]
call fcn.004efe6a
nop
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 1
jne 0x488bde
fld dword [esp + 0x30]
fmul dword [esp + 0x30]
fld dword [esp + 0x28]
fmul dword [esp + 0x28]
faddp st(1)
fsqrt
fld dword [esp + 0x28]
fdiv st(1)
fstp dword [esp + 0x64]
fld dword [0x4f0400]
fdiv st(1)
fstp dword [esp + 0x68]
fdivr dword [esp + 0x30]
fld dword [esp + 0x64]
fdiv dword [esp + 0x14]
fstp dword [esp + 0x58]
fld dword [esp + 0x68]
fdiv dword [esp + 0x14]
fstp dword [esp + 0x5c]
fdiv dword [esp + 0x14]
fld dword [esp + 0x58]
fadd dword [ebp]
fstp dword [ebp]
fld dword [esp + 0x5c]
fadd dword [ebp + 4]
fstp dword [ebp + 4]
fadd dword [ebp + 8]
fstp dword [ebp + 8]
mov al, byte [esp + 0x13]
test al, al
jne 0x488a0c
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x7c]
inc edi
cmp edi, ecx
jle 0x488814
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x80]
inc ebx
cmp ebx, edx
mov dword [esp + 0x34], ebx
jle 0x48880a
fld dword [ebp + 8]
fld dword [ebp + 4]
fld dword [ebp]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fsqrt
fstp st(3)
fstp st(0)
fstp st(0)
fcomp qword [0x4f04e8]
fnstsw ax
test ah, 1
jne 0x488d92
cmp dword [esi + 0x199e], 0x1e
jge 0x488d92
mov ecx, dword [esi + 0x3e5]
push 0
lea edx, [esp + 0x5c]
push 0
mov edi, dword [ecx + 0x74]
mov ebx, dword [ecx + 0x78]
push edx
call fcn.004afa90
mov ecx, dword [eax]
dec ebx
mov dword [esp + 0x38], ecx
dec edi
mov edx, dword [eax + 4]
push ebx
lea ecx, [esp + 0x5c]
push edi
mov eax, dword [eax + 8]
push ecx
mov ecx, dword [esi + 0x3e5]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
call fcn.004afa90
fld dword [ebp + 8]
fld dword [ebp + 4]
fld dword [ebp]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
mov edx, dword [eax]
mov dword [esp + 0x1c], edx
faddp st(1)
fld st(3)
fmul st(4)
mov ecx, dword [eax + 4]
mov dword [esp + 0x20], ecx
faddp st(1)
mov edx, dword [eax + 8]
mov dword [esp + 0x24], edx
fsqrt
fstp st(3)
fstp st(0)
fstp st(0)
fld dword [ebp]
fdiv st(1)
fstp dword [esp + 0x58]
fld dword [ebp + 4]
fdiv st(1)
fstp dword [esp + 0x5c]
fdivr dword [ebp + 8]
fld dword [esp + 0x58]
fadd st(0), st(0)
fstp dword [esp + 0x64]
fld dword [esp + 0x5c]
fadd st(0), st(0)
fstp dword [esp + 0x68]
fadd st(0), st(0)
fld dword [esp + 0x64]
fadd dword [esi + 0xf9]
fstp dword [esi + 0xf9]
fld dword [esp + 0x68]
fadd dword [esi + 0xfd]
fstp dword [esi + 0xfd]
fadd dword [esi + 0x101]
fstp dword [esi + 0x101]
fld dword [esi + 0xf9]
fcomp dword [esp + 0x38]
fnstsw ax
test ah, 1
je 0x488d3d
mov eax, dword [esp + 0x38]
mov dword [esi + 0xf9], eax
jmp 0x488d58
fld dword [esi + 0xf9]
fcomp dword [esp + 0x1c]
fnstsw ax
test ah, 0x41
jne 0x488d58
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0xf9], ecx
fld dword [esi + 0x101]
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 1
je 0x488d75
mov edx, dword [esp + 0x24]
mov dword [esi + 0x101], edx
jmp 0x488da6
fld dword [esi + 0x101]
fcomp dword [esp + 0x40]
fnstsw ax
test ah, 0x41
jne 0x488da6
mov eax, dword [esp + 0x40]
mov dword [esi + 0x101], eax
jmp 0x488da6
mov dword [esi + 0x1975], 4
mov dword [esi + 0x199e], 0
fld dword [esp + 0x70]
fadd dword [esi + 0x197d]
mov ecx, dword [esi + 0x101]
mov edx, dword [esi + 0xf9]
push 0
push ecx
mov ecx, dword [esi + 0x3e5]
push edx
fstp dword [esi + 0xfd]
call fcn.004af510
fstp dword [esp + 0x34]
mov ecx, esi
call fcn.004be3d0
test al, al
je 0x488df8
fld dword [esi + 0x3bf]
fmul dword [0x4f1f90]
fadd dword [esp + 0x34]
fstp dword [esi + 0xfd]
jmp 0x488e19
fld dword [esp + 0x34]
fadd dword [esi + 0x1979]
fcom dword [esi + 0xfd]
fnstsw ax
test ah, 0x41
jne 0x488e17
fstp dword [esi + 0xfd]
jmp 0x488e19
fstp st(0)
mov edx, dword [esi + 0x101]
mov eax, dword [esi + 0x78]
push edx
mov edx, dword [esi + 0xfd]
mov ecx, dword [eax]
push edx
mov edx, dword [esi + 0xf9]
push edx
mov edx, dword [esp + 0x90]
push edx
push eax
call dword [ecx + 0xf4]
test eax, eax
jne 0x488ee8
mov eax, dword [esi + 0x101]
mov ecx, dword [esi + 0xf9]
push eax
lea edx, [esp + 0x88]
push ecx
mov ecx, dword [esi + 0x3e5]
push edx
call fcn.004afa10
mov edx, dword [esi + 0x121]
mov ecx, eax
mov eax, dword [ecx]
cmp eax, edx
mov ecx, dword [ecx + 4]
jne 0x488e88
cmp ecx, dword [esi + 0x125]
je 0x488f25
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx + 0x9c]
test al, al
je 0x488ee8
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x1b8
ret
cmp eax, 4
jne 0x488f25
mov ecx, esi
call fcn.004be3c0
test al, al
je 0x488f25
mov eax, dword [esi + 0x37d]
test eax, eax
jg 0x488f25
mov edx, dword [esi + 0x1992]
mov eax, dword [esi + 0x1898]
push 0
mov edx, dword [edx*4 + 0x4f2ff0]
mov ecx, dword [eax]
push edx
mov edx, dword [esi + 0x78]
push 0
push edx
push eax
call dword [ecx + 0xf4]
test eax, eax
je 0x488f10
add esi, 4
push str.TickHang__:_Error_occurs.
push esi
mov dword [0x8210d4], 1
call fcn.004331c0
add esp, 8
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1b8
ret
mov eax, dword [esi + 0x1992]
mov ecx, 0xc
inc eax
cdq
idiv ecx
mov dword [esi + 0x1992], edx
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x1b8
ret