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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x476313
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4eec64]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x30], ebx
push 0x483408
call fcn.004068e0
fld qword [0x47e1d8]
fstp qword [esp + 0x48]
mov esi, eax
fldz
lea eax, [esp + 0x40]
push eax
fstp qword [esp + 0x5c]
call fcn.00419e70
mov ecx, dword [eax]
mov dword [esp + 0x4c], ecx
mov edx, dword [eax + 4]
push 1
push 0
mov dword [esp + 0x58], edx
call fcn.00419ea0
add esp, 0x10
call fcn.0045c1c0
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], eax
push ecx
lea eax, [ebx + 0xfc]
push eax
lea ecx, [esp + 0x54]
call fcn.0044adf0
fld qword [esp + 0x3c]
fsub qword [esp + 0x34]
fdiv qword [0x483400]
fld1
fsubrp st(1)
fmul qword [0x4901a8]
fmul qword [0x47e208]
fst qword [ebx + 0x1c8]
call fcn.0045cd70
fst qword [ebx + 0x1d0]
lea edx, [esp + 0x44]
fmul qword [0x482eb0]
push edx
mov ecx, esi
mov byte [esp + 0x5d], 1
fsubr qword [0x47e208]
mov byte [esp + 0x5c], 0
fstp qword [esp + 0x38]
fldz
fst dword [esp + 0x48]
fst dword [esp + 0x4c]
fst dword [esp + 0x50]
fst dword [esp + 0x54]
fstp dword [esp + 0x58]
call fcn.00413070
fld1
fst dword [esp + 0x44]
lea eax, [esp + 0x44]
fstp dword [esp + 0x48]
push eax
fldz
mov ecx, esi
mov byte [esp + 0x5d], 1
fst dword [esp + 0x50]
mov byte [esp + 0x5c], 0
fst dword [esp + 0x54]
fstp dword [esp + 0x58]
call fcn.00413070
fldz
fst dword [esp + 0x44]
lea ecx, [esp + 0x44]
fld qword [esp + 0x34]
push ecx
fstp dword [esp + 0x4c]
mov ecx, esi
mov byte [esp + 0x5d], 1
mov byte [esp + 0x5c], 0
fst dword [esp + 0x50]
fst dword [esp + 0x54]
fstp dword [esp + 0x58]
call fcn.00413090
fld1
lea edx, [esp + 0x44]
fst dword [esp + 0x44]
push edx
fstp dword [esp + 0x4c]
mov ecx, esi
fldz
mov byte [esp + 0x5d], 1
fst dword [esp + 0x50]
mov byte [esp + 0x5c], 0
fst dword [esp + 0x54]
fstp dword [esp + 0x58]
call fcn.00413090
push str.flux_wave
call fcn.0040e5c0
add esp, 4
test eax, eax
je 0x4548cb
cmp byte [eax + 0x122], 1
mov ecx, 2
je 0x454737
or dword [eax + 8], ecx
mov edx, pe_nt_image_headers32
mov byte [eax + 0x122], 1
cmp dword [eax + 0x158], edx
je 0x45474e
or dword [eax + 8], ecx
or dword [eax + 8], ecx
or ecx, 0xffffffff
mov dword [eax + 0x158], edx
lea esi, [eax + 0x204]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
or edx, ecx
or edi, ecx
or ebp, ecx
mov dword [eax + 4], edx
mov dword [eax + 8], edi
mov ecx, esi
mov dword [eax + 0xc], ebp
call fcn.0040f350
fild dword [esi + 0xc]
mov eax, dword [esi + 0xc]
test eax, eax
jge 0x45478d
fadd qword [0x490228]
fmul qword [esp + 0x34]
xor edi, edi
fnstcw word [esp + 0x18]
movzx eax, word [esp + 0x18]
or eax, 0xc00
mov dword [esp + 0x20], eax
mov eax, dword [esi + 8]
fldcw word [esp + 0x20]
fistp qword [esp + 0x3c]
mov ebp, dword [esp + 0x3c]
fldcw word [esp + 0x18]
test eax, eax
jbe 0x4548cb
mov ecx, edi
mov dword [esp + 0x24], ecx
fild dword [esp + 0x24]
test ecx, ecx
jge 0x4547d4
fadd qword [0x490228]
fmul qword [0x4901a8]
mov dword [esp + 0x24], eax
fadd st(0), st(0)
fild dword [esp + 0x24]
test eax, eax
jge 0x4547ee
fadd qword [0x490228]
fdivp st(1)
fadd qword [ebx + 0x1c8]
call fcn.0045cd70
fmul qword [0x482eb0]
mov eax, dword [esi + 0xc]
mov dword [esp + 0x24], eax
fsubr qword [0x47e208]
fild dword [esp + 0x24]
test eax, eax
jge 0x45481c
fadd qword [0x490228]
fmulp st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fistp dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
cmp ebp, ecx
mov dword [esp + 0x24], ecx
mov eax, ebp
jge 0x45485b
mov edx, dword [esi + 4]
mov ebx, dword [esi + 0x10]
imul edx, eax
add edx, edi
inc eax
cmp eax, ecx
mov dword [ebx + edx*4], 0xaf9f9e9c
jl 0x454840
mov ebx, dword [esp + 0x30]
mov eax, ecx
cmp ecx, ebp
jae 0x454878
mov ecx, dword [esi + 4]
mov edx, dword [esi + 0x10]
imul ecx, eax
add ecx, edi
inc eax
mov dword [edx + ecx*4], 0xaf9f9e9c
cmp eax, ebp
jb 0x454861
mov eax, edi
mov dword [esp + 0x34], eax
fild dword [esp + 0x34]
test eax, eax
jge 0x45488c
fadd dword [0x490020]
push 0xbfbfbfbf
fstp dword [esp + 0x40]
fld dword [esp + 0x24]
lea ecx, [esp + 0x40]
push ecx
fstp dword [esp + 0x48]
push esi
call fcn.00449b50
mov edx, dword [esi + 4]
imul edx, dword [esp + 0x30]
mov eax, dword [esi + 0x10]
add edx, edi
mov dword [eax + edx*4], 0xbfbfbfbf
mov eax, dword [esi + 8]
inc edi
add esp, 0xc
cmp edi, eax
jb 0x4547c0
xor ebp, ebp
mov dword [esp + 0x1c], ebp
push 1
push ebp
push ebp
lea ecx, [esp + 0x2c]
push ecx
lea edi, [ebx + 0xfc]
mov ecx, edi
mov dword [esp + 0x78], ebp
call fcn.00458b50
mov esi, eax
mov eax, dword [esi]
mov byte [esp + 0x68], 1
cmp eax, ebp
je 0x454907
movzx edx, byte [eax]
cmp edx, 1
jbe 0x454907
mov ecx, esi
call fcn.004013f0
mov esi, dword [esi]
cmp esi, ebp
je 0x454912
lea eax, [esi + 4]
jmp 0x454914
xor eax, eax
push eax
lea eax, [esp + 0x20]
push str.Location:__s
push eax
call fcn.00418c60
mov ecx, dword [esp + 0x2c]
add esp, 0xc
cmp ecx, ebp
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov byte [esp + 0x68], 0
je 0x454961
mov eax, dword [ecx]
and eax, 0xff
cmp eax, 0x80
jae 0x454954
push ecx
call ebp
mov ecx, dword [esp + 0x20]
and eax, 0xff
test eax, eax
jne 0x454961
push ecx
call fcn.00402770
add esp, 4
lea ecx, [esp + 0x1c]
push ecx
push str.flux_loc
call fcn.0040e900
add esp, 8
push 1
push str.__Click_to_set_Location_
push 0
lea edx, [esp + 0x2c]
push edx
mov ecx, edi
call fcn.00458b50
mov esi, eax
mov eax, dword [esi]
mov byte [esp + 0x68], 2
test eax, eax
je 0x4549a4
movzx eax, byte [eax]
cmp eax, 1
jbe 0x4549a4
mov ecx, esi
call fcn.004013f0
mov esi, dword [esi]
test esi, esi
je 0x4549af
lea eax, [esi + 4]
jmp 0x4549b1
xor eax, eax
push eax
lea ecx, [esp + 0x20]
push str.Your_location:__s
push ecx
call fcn.00418c60
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov byte [esp + 0x68], 0
test ecx, ecx
je 0x4549f8
mov eax, dword [ecx]
and eax, 0xff
cmp eax, 0x80
jae 0x4549eb
push ecx
call ebp
mov ecx, dword [esp + 0x20]
and eax, 0xff
test eax, eax
jne 0x4549f8
push ecx
call fcn.00402770
add esp, 4
push str.flux_changeloc2
call fcn.0040e690
mov esi, eax
add esp, 4
test esi, esi
je 0x454a38
mov ecx, esi
call fcn.00449cb0
fldz
fcomp dword [ebx + 0x104]
fnstsw ax
test ah, 0x44
jp 0x454a25
mov al, 1
jmp 0x454a27
xor al, al
test al, al
sete dl
mov byte [esi + 0x24b], al
mov byte [ebx + 0xe6], dl
lea eax, [esp + 0x1c]
push eax
push str.flux_latitude
call fcn.0040e900
push str.flux_slider1
call fcn.004068e0
push 0x482af0
mov esi, eax
call fcn.004068e0
fild dword [ebx + 0xf4]
mov ecx, dword [ebx + 0xf4]
add esp, 0x10
mov edi, eax
test ecx, ecx
jge 0x454a78
fadd qword [0x490228]
fld qword [0x482a50]
mov edx, dword [ebx + 0xf8]
fld st(0)
fdivrp st(2)
fld qword [0x482ae8]
fsub st(2), st(0)
fld qword [0x482ae0]
fdiv st(3), st(0)
fild dword [ebx + 0xf8]
test edx, edx
jge 0x454aa8
fadd qword [0x490228]
fdivp st(3)
fxch st(2)
fsubrp st(1)
fdivrp st(1)
fstp qword [esp + 0x3c]
test esi, esi
je 0x454acd
fstp dword [esp + 0x30]
push ecx
fld dword [esp + 0x34]
mov ecx, esi
fstp dword [esp]
call fcn.004123a0
jmp 0x454acf
fstp st(0)
test edi, edi
je 0x454aea
fld qword [esp + 0x3c]
push ecx
fstp dword [esp + 0x34]
mov ecx, edi
fld dword [esp + 0x34]
fstp dword [esp]
call fcn.004123a0
mov ecx, ebx
call fcn.0044af90
mov eax, dword [ebx + 0xe0]
mov edx, dword [eax]
lea ecx, [ebx + 0xe0]
call edx
cmp dword [ebx + 0x2e0], 0
jne 0x454b60
push 0x178
call fcn.004182d0
add esp, 4
mov dword [esp + 0x34], eax
mov byte [esp + 0x68], 3
test eax, eax
je 0x454b2d
mov ecx, eax
call fcn.0044d590
jmp 0x454b2f
xor eax, eax
mov ecx, eax
mov byte [esp + 0x68], 0
mov dword [ebx + 0x2e0], eax
call fcn.0044c620
mov eax, dword [ebx + 0x2e0]
lea ecx, [esp + 0x30]
add eax, 0x160
push ecx
lea ecx, [ebx + 0x110]
mov dword [esp + 0x34], eax
call fcn.0044e830
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x68], 0xffffffff
test ecx, ecx
je 0x454b97
mov eax, dword [ecx]
and eax, 0xff
cmp eax, 0x80
jae 0x454b8a
push ecx
call ebp
mov ecx, dword [esp + 0x1c]
and eax, 0xff
test eax, eax
jne 0x454b97
push ecx
call fcn.00402770
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret