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

Disassembly:
sub esp, 0x9c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x40], 0
fld dword [esi + 0x1a76]
fmul dword [0x4f04c8]
mov eax, dword [esi + 0xcc]
lea eax, [eax + eax*4]
fstp dword [esi + 0x1a76]
fld dword [esp + 0xb4]
fadd dword [0x4f2058]
mov dword [esi + 0xcc], eax
fstp dword [esp + 0x20]
push 0xa4
push str.D:DevProjectsJMain1SourceVFirefox.cpp
call fcn.00401130
fld dword [esi + 0x1a76]
fadd st(0), st(0)
mov edi, eax
call fcn.004ecc00
mov ecx, eax
mov eax, edi
cdq
fld dword [esi + 0x1a76]
idiv ecx
mov edi, edx
call fcn.004ecc00
sub edi, eax
push 0xa6
mov dword [esp + 0x24], edi
push str.D:DevProjectsJMain1SourceVFirefox.cpp
fild dword [esp + 0x28]
fadd dword [esp + 0xc0]
fstp dword [esp + 0x2c]
call fcn.00401130
fld dword [esi + 0x1a76]
fadd st(0), st(0)
add esp, 0x10
mov edi, eax
call fcn.004ecc00
mov ecx, eax
mov eax, edi
cdq
fld dword [esi + 0x1a76]
idiv ecx
mov edi, edx
call fcn.004ecc00
sub edi, eax
mov eax, dword [esi + 0x3e9]
mov dword [esp + 0x18], edi
mov ecx, dword [esp + 0x1c]
fild dword [esp + 0x18]
mov byte [esp + 0x13], 0
mov edx, dword [eax + 0x5f3f]
mov edi, dword [eax + 0x5f47]
mov dword [esp + 0x3c], edx
fadd dword [esp + 0xb8]
lea edx, [esp + 0x74]
fstp dword [esp + 0x24]
mov eax, dword [esp + 0x24]
push eax
push ecx
push edx
mov ecx, edi
call fcn.004afa10
fld dword [edi + 0x7c]
fdivr dword [esi + 0x1a76]
mov ebx, dword [eax]
mov dword [esp + 0x6c], ebx
mov ebp, dword [eax + 4]
fadd dword [0x4f0590]
call fcn.004ecc00
lea ecx, [eax + ebp + 1]
lea edx, [ebx + eax + 1]
push ecx
mov ecx, ebp
sub ecx, eax
sub ebx, eax
dec ecx
push edx
dec ebx
push ecx
lea edx, [esp + 0xa8]
push ebx
push edx
mov dword [esp + 0x58], eax
call fcn.004012b0
mov eax, dword [edi + 0x78]
mov ecx, dword [edi + 0x74]
dec eax
push eax
dec ecx
lea edx, [esp + 0x9c]
push ecx
push 0
push 0
push edx
call fcn.004012b0
lea eax, [esp + 0xac]
lea ecx, [esp + 0xc4]
push eax
lea edx, [esp + 0x88]
push ecx
push edx
call fcn.004011d0
add esp, 0x34
test eax, eax
je 0x485112
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x68]
cmp eax, ecx
mov dword [esp + 0x28], eax
jg 0x484f01
mov edi, dword [esp + 0x5c]
sub ebp, eax
mov ecx, ebp
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x18], ecx
cmp edi, ebp
mov ebx, edi
jg 0x484ee7
mov eax, dword [esp + 0x6c]
imul ecx, ecx
sub eax, edi
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x2c], eax
jmp 0x484c46
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x4c]
mov edx, eax
imul edx, eax
add edx, ecx
mov dword [esp + 0x48], edx
fild dword [esp + 0x48]
fsqrt
fadd qword [0x4f0458]
call fcn.004ecc00
mov ecx, dword [esp + 0x44]
inc ecx
cmp eax, ecx
jg 0x484ed1
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x13]
lea eax, [esp + 0x14]
push edx
push eax
push 0
push ecx
mov ecx, dword [esp + 0x4c]
push ebx
call fcn.00438a20
test al, al
je 0x484ec9
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x484ec9
lea edx, [ecx + 0xf9]
mov edi, dword [ecx + 0xf9]
mov dword [esp + 0x30], edi
mov eax, dword [edx + 4]
mov dword [esp + 0x34], eax
mov ebp, dword [edx + 8]
mov dword [esp + 0x38], ebp
call fcn.004be3d0
test al, al
je 0x484d98
fld dword [esp + 0x30]
fsub dword [esp + 0x1c]
fld dword [esp + 0x34]
fsub dword [esp + 0x20]
fld dword [esp + 0x38]
fsub dword [esp + 0x24]
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 dword [esi + 0x1a76]
fnstsw ax
test ah, 1
je 0x484d98
mov ecx, dword [esi + 0x3e9]
push ebp
lea edx, [esp + 0x80]
push edi
mov ecx, dword [ecx + 0x5f47]
push edx
call fcn.004afa10
mov ecx, eax
mov eax, dword [ecx]
cmp eax, ebx
mov ecx, dword [ecx + 4]
jne 0x484d98
cmp ecx, dword [esp + 0x28]
jne 0x484d98
mov eax, dword [esp + 0xbc]
push 2
push eax
mov eax, dword [esi + 0x1a76]
push 0xffffffffffffffff
push eax
mov eax, dword [esi + 0xcc]
mov edi, dword [esp + 0x2c]
push eax
mov ecx, dword [esp + 0x28]
sub esp, 0xc
mov eax, esp
sub esp, 0xc
mov edx, dword [ecx]
mov dword [eax], edi
mov edi, dword [esp + 0x4c]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x50]
mov dword [eax + 8], edi
lea eax, [esi + 0xf9]
mov edi, esp
mov ebp, dword [eax]
mov dword [edi], ebp
mov ebp, dword [eax + 4]
mov dword [edi + 4], ebp
mov eax, dword [eax + 8]
mov dword [edi + 8], eax
call dword [edx + 0xb8]
test al, al
je 0x4850e8
mov al, byte [esp + 0x13]
test al, al
je 0x484ec9
lea ecx, [esp + 0x14]
push 0
push ecx
mov ecx, dword [esp + 0x44]
call fcn.0043a440
cmp eax, 0xffffffff
je 0x4850e8
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4850e8
test eax, eax
je 0x484ec9
call fcn.004be3d0
test al, al
je 0x484ebd
mov edx, dword [esp + 0x14]
add edx, 0xf9
mov eax, edx
mov edx, dword [eax]
mov dword [esp + 0x30], edx
mov ecx, dword [eax + 4]
fld dword [esp + 0x30]
mov edi, dword [eax + 8]
mov dword [esp + 0x34], ecx
fsub dword [esp + 0x1c]
mov dword [esp + 0x38], edi
fld dword [esp + 0x38]
fsub dword [esp + 0x24]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fsqrt
fstp st(2)
fstp st(0)
fcomp dword [esi + 0x1a76]
fnstsw ax
test ah, 1
je 0x484ebd
mov eax, dword [esi + 0x3e9]
push edi
push edx
lea edx, [esp + 0x9c]
mov ecx, dword [eax + 0x5f47]
push edx
call fcn.004afa10
mov ecx, eax
mov eax, dword [ecx]
cmp eax, ebx
mov ecx, dword [ecx + 4]
jne 0x484ebd
cmp ecx, dword [esp + 0x28]
jne 0x484ebd
mov eax, dword [esp + 0xbc]
push 2
push eax
mov eax, dword [esi + 0x1a76]
push 0xffffffffffffffff
push eax
mov eax, dword [esi + 0xcc]
mov edi, dword [esp + 0x2c]
push eax
mov ecx, dword [esp + 0x28]
sub esp, 0xc
mov eax, esp
sub esp, 0xc
mov edx, dword [ecx]
mov dword [eax], edi
mov edi, dword [esp + 0x4c]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x50]
mov dword [eax + 8], edi
lea eax, [esi + 0xf9]
mov edi, esp
mov ebp, dword [eax]
mov dword [edi], ebp
mov ebp, dword [eax + 4]
mov dword [edi + 4], ebp
mov eax, dword [eax + 8]
mov dword [edi + 8], eax
call dword [edx + 0xb8]
test al, al
je 0x4850e8
mov al, byte [esp + 0x13]
test al, al
jne 0x484da4
mov ebp, dword [esp + 0x64]
mov edi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x2c]
inc ebx
dec ecx
cmp ebx, ebp
mov dword [esp + 0x2c], ecx
jle 0x484c3e
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x68]
inc eax
dec ecx
cmp eax, edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], ecx
jle 0x484c21
mov al, byte [esi + 0x3db]
test al, al
je 0x484fb5
push 0xffffffffffffffff
push 2
push 0x3f800000
push 0x41100000
push 0x40e00000
push 0
push 0
mov dword [esp + 0x6c], 0
mov eax, dword [esp + 0x6c]
sub esp, 0xc
mov edx, esp
mov dword [esp + 0x7c], 0
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x80], 0
mov dword [edx], eax
mov eax, dword [esp + 0x7c]
mov ecx, dword [esi + 0x3e9]
sub esp, 0xc
mov dword [edx + 4], eax
mov eax, dword [esp + 0x8c]
mov edi, dword [esp + 0x58]
mov ecx, dword [ecx + 0x91]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x54]
mov edx, esp
mov dword [edx], ebx
mov dword [edx + 4], eax
mov dword [edx + 8], edi
call fcn.004720f0
test al, al
je 0x4850e8
mov ecx, dword [esi + 0x3e9]
push 0x3f800000
push 0
push 2
mov ecx, dword [ecx + 0x5f47]
push 3
push edi
push ebx
call fcn.004ab910
test al, al
je 0x4850e8
mov eax, dword [esp + 0x40]
inc eax
cmp eax, 0x10
mov dword [esp + 0x40], eax
jl 0x484ab6
mov eax, dword [esi + 0x3e9]
mov ecx, dword [eax + 0x5f2b]
test ecx, ecx
je 0x485021
mov edx, dword [eax + 0x5e9f]
push 0x457a0000
mov eax, dword [eax + 0x5e9b]
push 0x3f800000
lea edi, [esi + 0xf9]
sub esp, 0xc
mov ebx, esp
mov ebp, dword [edi]
push edx
mov dword [ebx], ebp
push eax
mov ebp, dword [edi + 4]
push str.SoundsTankExp.wav
mov dword [ebx + 4], ebp
push str.SoundsJSounds.pck
mov edi, dword [edi + 8]
mov dword [ebx + 8], edi
call fcn.00406030
test al, al
je 0x4850e8
mov eax, dword [esi + 0x3e9]
mov edx, dword [esi + 0x3af]
mov ecx, dword [eax + 0x5e2c]
cmp ecx, edx
je 0x485112
mov eax, dword [eax + ecx*4 + 0x5e30]
push edx
mov ecx, eax
call fcn.00498cb0
cmp eax, 1
je 0x485112
mov eax, dword [esi + 0x3e9]
mov edx, dword [eax + 0x5e2c]
mov edi, dword [eax + edx*4 + 0x5e30]
mov eax, dword [edi + 0x24da]
cmp eax, 0x20
jge 0x48508d
shl eax, 8
push str._ExtremeAlarm
lea eax, [eax + edi + 0x24de]
push eax
call dword [0x4f0138]
inc dword [edi + 0x24da]
lea ecx, [esi + 0xf9]
mov eax, ecx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov edi, dword [eax + 8]
mov eax, dword [esi + 0x3e9]
lea ebx, [eax + 0x5f07]
mov dword [eax + 0x5efb], 0xffffffff
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], edi
mov dword [eax + 0x5eef], 0x12c
mov ecx, dword [esi + 0x3e9]
mov ecx, dword [ecx + 0x5f2b]
test ecx, ecx
je 0x485112
push str.SoundsAlarm.wav
push str.SoundsJSounds.pck
call fcn.00405fa0
test al, al
jne 0x485112
add esi, 4
push str.Explode__:_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, 0x9c
ret 0x10
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x9c
ret 0x10